Interface TrialComponent.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TrialComponent.Builder,
,TrialComponent> SdkBuilder<TrialComponent.Builder,
,TrialComponent> SdkPojo
- Enclosing class:
TrialComponent
-
Method Summary
Modifier and TypeMethodDescriptiondefault TrialComponent.Builder
createdBy
(Consumer<UserContext.Builder> createdBy) Who created the trial component.createdBy
(UserContext createdBy) Who created the trial component.creationTime
(Instant creationTime) When the component was created.displayName
(String displayName) The name of the component as displayed.When the component ended.inputArtifacts
(Map<String, TrialComponentArtifact> inputArtifacts) The input artifacts of the component.default TrialComponent.Builder
lastModifiedBy
(Consumer<UserContext.Builder> lastModifiedBy) Sets the value of the LastModifiedBy property for this object.lastModifiedBy
(UserContext lastModifiedBy) Sets the value of the LastModifiedBy property for this object.lastModifiedTime
(Instant lastModifiedTime) When the component was last modified.lineageGroupArn
(String lineageGroupArn) The Amazon Resource Name (ARN) of the lineage group resource.default TrialComponent.Builder
metadataProperties
(Consumer<MetadataProperties.Builder> metadataProperties) Sets the value of the MetadataProperties property for this object.metadataProperties
(MetadataProperties metadataProperties) Sets the value of the MetadataProperties property for this object.metrics
(Collection<TrialComponentMetricSummary> metrics) The metrics for the component.metrics
(Consumer<TrialComponentMetricSummary.Builder>... metrics) The metrics for the component.metrics
(TrialComponentMetricSummary... metrics) The metrics for the component.outputArtifacts
(Map<String, TrialComponentArtifact> outputArtifacts) The output artifacts of the component.parameters
(Map<String, TrialComponentParameterValue> parameters) The hyperparameters of the component.parents
(Collection<Parent> parents) An array of the parents of the component.parents
(Consumer<Parent.Builder>... parents) An array of the parents of the component.An array of the parents of the component.The name of the experiment run.default TrialComponent.Builder
source
(Consumer<TrialComponentSource.Builder> source) The Amazon Resource Name (ARN) and job type of the source of the component.source
(TrialComponentSource source) The Amazon Resource Name (ARN) and job type of the source of the component.default TrialComponent.Builder
sourceDetail
(Consumer<TrialComponentSourceDetail.Builder> sourceDetail) Details of the source of the component.sourceDetail
(TrialComponentSourceDetail sourceDetail) Details of the source of the component.When the component started.default TrialComponent.Builder
status
(Consumer<TrialComponentStatus.Builder> status) Sets the value of the Status property for this object.status
(TrialComponentStatus status) Sets the value of the Status property for this object.tags
(Collection<Tag> tags) The list of tags that are associated with the component.tags
(Consumer<Tag.Builder>... tags) The list of tags that are associated with the component.The list of tags that are associated with the component.trialComponentArn
(String trialComponentArn) The Amazon Resource Name (ARN) of the trial component.trialComponentName
(String trialComponentName) The name of the trial component.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
trialComponentName
The name of the trial component.
- Parameters:
trialComponentName
- The name of the trial component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
The name of the component as displayed. If
DisplayName
isn't specified,TrialComponentName
is displayed.- Parameters:
displayName
- The name of the component as displayed. IfDisplayName
isn't specified,TrialComponentName
is displayed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trialComponentArn
The Amazon Resource Name (ARN) of the trial component.
- Parameters:
trialComponentArn
- The Amazon Resource Name (ARN) of the trial component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The Amazon Resource Name (ARN) and job type of the source of the component.
- Parameters:
source
- The Amazon Resource Name (ARN) and job type of the source of the component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The Amazon Resource Name (ARN) and job type of the source of the component.
This is a convenience method that creates an instance of theTrialComponentSource.Builder
avoiding the need to create one manually viaTrialComponentSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosource(TrialComponentSource)
.- Parameters:
source
- a consumer that will call methods onTrialComponentSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Sets the value of the Status property for this object.- Parameters:
status
- The new value for the Status property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Sets the value of the Status property for this object. This is a convenience method that creates an instance of theTrialComponentStatus.Builder
avoiding the need to create one manually viaTrialComponentStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatus(TrialComponentStatus)
.- Parameters:
status
- a consumer that will call methods onTrialComponentStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startTime
When the component started.
- Parameters:
startTime
- When the component started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
When the component ended.
- Parameters:
endTime
- When the component ended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
When the component was created.
- Parameters:
creationTime
- When the component was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
Who created the trial component.
- Parameters:
createdBy
- Who created the trial component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
Who created the trial component.
This is a convenience method that creates an instance of theUserContext.Builder
avoiding the need to create one manually viaUserContext.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocreatedBy(UserContext)
.- Parameters:
createdBy
- a consumer that will call methods onUserContext.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastModifiedTime
When the component was last modified.
- Parameters:
lastModifiedTime
- When the component was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedBy
Sets the value of the LastModifiedBy property for this object.- Parameters:
lastModifiedBy
- The new value for the LastModifiedBy property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedBy
Sets the value of the LastModifiedBy property for this object. This is a convenience method that creates an instance of theUserContext.Builder
avoiding the need to create one manually viaUserContext.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolastModifiedBy(UserContext)
.- Parameters:
lastModifiedBy
- a consumer that will call methods onUserContext.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
parameters
The hyperparameters of the component.
- Parameters:
parameters
- The hyperparameters of the component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputArtifacts
The input artifacts of the component.
- Parameters:
inputArtifacts
- The input artifacts of the component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputArtifacts
The output artifacts of the component.
- Parameters:
outputArtifacts
- The output artifacts of the component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metrics
The metrics for the component.
- Parameters:
metrics
- The metrics for the component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metrics
The metrics for the component.
- Parameters:
metrics
- The metrics for the component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metrics
The metrics for the component.
This is a convenience method that creates an instance of theTrialComponentMetricSummary.Builder
avoiding the need to create one manually viaTrialComponentMetricSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometrics(List<TrialComponentMetricSummary>)
.- Parameters:
metrics
- a consumer that will call methods onTrialComponentMetricSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
metadataProperties
Sets the value of the MetadataProperties property for this object.- Parameters:
metadataProperties
- The new value for the MetadataProperties property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadataProperties
default TrialComponent.Builder metadataProperties(Consumer<MetadataProperties.Builder> metadataProperties) Sets the value of the MetadataProperties property for this object. This is a convenience method that creates an instance of theMetadataProperties.Builder
avoiding the need to create one manually viaMetadataProperties.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometadataProperties(MetadataProperties)
.- Parameters:
metadataProperties
- a consumer that will call methods onMetadataProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceDetail
Details of the source of the component.
- Parameters:
sourceDetail
- Details of the source of the component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceDetail
default TrialComponent.Builder sourceDetail(Consumer<TrialComponentSourceDetail.Builder> sourceDetail) Details of the source of the component.
This is a convenience method that creates an instance of theTrialComponentSourceDetail.Builder
avoiding the need to create one manually viaTrialComponentSourceDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosourceDetail(TrialComponentSourceDetail)
.- Parameters:
sourceDetail
- a consumer that will call methods onTrialComponentSourceDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lineageGroupArn
The Amazon Resource Name (ARN) of the lineage group resource.
- Parameters:
lineageGroupArn
- The Amazon Resource Name (ARN) of the lineage group resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The list of tags that are associated with the component. You can use Search API to search on the tags.
- Parameters:
tags
- The list of tags that are associated with the component. You can use Search API to search on the tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The list of tags that are associated with the component. You can use Search API to search on the tags.
- Parameters:
tags
- The list of tags that are associated with the component. You can use Search API to search on the tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The list of tags that are associated with the component. You can use Search API to search on the tags.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
parents
An array of the parents of the component. A parent is a trial the component is associated with and the experiment the trial is part of. A component might not have any parents.
- Parameters:
parents
- An array of the parents of the component. A parent is a trial the component is associated with and the experiment the trial is part of. A component might not have any parents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parents
An array of the parents of the component. A parent is a trial the component is associated with and the experiment the trial is part of. A component might not have any parents.
- Parameters:
parents
- An array of the parents of the component. A parent is a trial the component is associated with and the experiment the trial is part of. A component might not have any parents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parents
An array of the parents of the component. A parent is a trial the component is associated with and the experiment the trial is part of. A component might not have any parents.
This is a convenience method that creates an instance of theParent.Builder
avoiding the need to create one manually viaParent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toparents(List<Parent>)
.- Parameters:
parents
- a consumer that will call methods onParent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
runName
The name of the experiment run.
- Parameters:
runName
- The name of the experiment run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-