public static interface TrialComponent.Builder extends SdkPojo, CopyableBuilder<TrialComponent.Builder,TrialComponent>
Modifier and Type | Method and Description |
---|---|
default TrialComponent.Builder |
createdBy(Consumer<UserContext.Builder> createdBy)
Sets the value of the CreatedBy property for this object.
|
TrialComponent.Builder |
createdBy(UserContext createdBy)
Sets the value of the CreatedBy property for this object.
|
TrialComponent.Builder |
creationTime(Instant creationTime)
When the component was created.
|
TrialComponent.Builder |
displayName(String displayName)
The name of the component as displayed.
|
TrialComponent.Builder |
endTime(Instant endTime)
When the component ended.
|
TrialComponent.Builder |
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.
|
TrialComponent.Builder |
lastModifiedBy(UserContext lastModifiedBy)
Sets the value of the LastModifiedBy property for this object.
|
TrialComponent.Builder |
lastModifiedTime(Instant lastModifiedTime)
When the component was last modified.
|
TrialComponent.Builder |
metrics(Collection<TrialComponentMetricSummary> metrics)
The metrics for the component.
|
TrialComponent.Builder |
metrics(Consumer<TrialComponentMetricSummary.Builder>... metrics)
The metrics for the component.
|
TrialComponent.Builder |
metrics(TrialComponentMetricSummary... metrics)
The metrics for the component.
|
TrialComponent.Builder |
outputArtifacts(Map<String,TrialComponentArtifact> outputArtifacts)
The output artifacts of the component.
|
TrialComponent.Builder |
parameters(Map<String,TrialComponentParameterValue> parameters)
The hyperparameters of the component.
|
TrialComponent.Builder |
parents(Collection<Parent> parents)
An array of the parents of the component.
|
TrialComponent.Builder |
parents(Consumer<Parent.Builder>... parents)
An array of the parents of the component.
|
TrialComponent.Builder |
parents(Parent... parents)
An array of the parents of the component.
|
default TrialComponent.Builder |
source(Consumer<TrialComponentSource.Builder> source)
The Amazon Resource Name (ARN) and job type of the source of the component.
|
TrialComponent.Builder |
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.
|
TrialComponent.Builder |
sourceDetail(TrialComponentSourceDetail sourceDetail)
Details of the source of the component.
|
TrialComponent.Builder |
startTime(Instant startTime)
When the component started.
|
default TrialComponent.Builder |
status(Consumer<TrialComponentStatus.Builder> status)
Sets the value of the Status property for this object.
|
TrialComponent.Builder |
status(TrialComponentStatus status)
Sets the value of the Status property for this object.
|
TrialComponent.Builder |
tags(Collection<Tag> tags)
The list of tags that are associated with the component.
|
TrialComponent.Builder |
tags(Consumer<Tag.Builder>... tags)
The list of tags that are associated with the component.
|
TrialComponent.Builder |
tags(Tag... tags)
The list of tags that are associated with the component.
|
TrialComponent.Builder |
trialComponentArn(String trialComponentArn)
The Amazon Resource Name (ARN) of the trial component.
|
TrialComponent.Builder |
trialComponentName(String trialComponentName)
The name of the trial component.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
TrialComponent.Builder trialComponentName(String trialComponentName)
The name of the trial component.
trialComponentName
- The name of the trial component.TrialComponent.Builder displayName(String displayName)
The name of the component as displayed. If DisplayName
isn't specified,
TrialComponentName
is displayed.
displayName
- The name of the component as displayed. If DisplayName
isn't specified,
TrialComponentName
is displayed.TrialComponent.Builder trialComponentArn(String trialComponentArn)
The Amazon Resource Name (ARN) of the trial component.
trialComponentArn
- The Amazon Resource Name (ARN) of the trial component.TrialComponent.Builder source(TrialComponentSource source)
The Amazon Resource Name (ARN) and job type of the source of the component.
source
- The Amazon Resource Name (ARN) and job type of the source of the component.default TrialComponent.Builder source(Consumer<TrialComponentSource.Builder> source)
The Amazon Resource Name (ARN) and job type of the source of the component.
This is a convenience that creates an instance of theTrialComponentSource.Builder
avoiding the need
to create one manually via TrialComponentSource.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to source(TrialComponentSource)
.source
- a consumer that will call methods on TrialComponentSource.Builder
source(TrialComponentSource)
TrialComponent.Builder status(TrialComponentStatus status)
status
- The new value for the Status property for this object.default TrialComponent.Builder status(Consumer<TrialComponentStatus.Builder> status)
TrialComponentStatus.Builder
avoiding the need
to create one manually via TrialComponentStatus.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to status(TrialComponentStatus)
.status
- a consumer that will call methods on TrialComponentStatus.Builder
status(TrialComponentStatus)
TrialComponent.Builder startTime(Instant startTime)
When the component started.
startTime
- When the component started.TrialComponent.Builder endTime(Instant endTime)
When the component ended.
endTime
- When the component ended.TrialComponent.Builder creationTime(Instant creationTime)
When the component was created.
creationTime
- When the component was created.TrialComponent.Builder createdBy(UserContext createdBy)
createdBy
- The new value for the CreatedBy property for this object.default TrialComponent.Builder createdBy(Consumer<UserContext.Builder> createdBy)
UserContext.Builder
avoiding the need to create
one manually via UserContext.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to createdBy(UserContext)
.createdBy
- a consumer that will call methods on UserContext.Builder
createdBy(UserContext)
TrialComponent.Builder lastModifiedTime(Instant lastModifiedTime)
When the component was last modified.
lastModifiedTime
- When the component was last modified.TrialComponent.Builder lastModifiedBy(UserContext lastModifiedBy)
lastModifiedBy
- The new value for the LastModifiedBy property for this object.default TrialComponent.Builder lastModifiedBy(Consumer<UserContext.Builder> lastModifiedBy)
UserContext.Builder
avoiding the need to create
one manually via UserContext.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to lastModifiedBy(UserContext)
.lastModifiedBy
- a consumer that will call methods on UserContext.Builder
lastModifiedBy(UserContext)
TrialComponent.Builder parameters(Map<String,TrialComponentParameterValue> parameters)
The hyperparameters of the component.
parameters
- The hyperparameters of the component.TrialComponent.Builder inputArtifacts(Map<String,TrialComponentArtifact> inputArtifacts)
The input artifacts of the component.
inputArtifacts
- The input artifacts of the component.TrialComponent.Builder outputArtifacts(Map<String,TrialComponentArtifact> outputArtifacts)
The output artifacts of the component.
outputArtifacts
- The output artifacts of the component.TrialComponent.Builder metrics(Collection<TrialComponentMetricSummary> metrics)
The metrics for the component.
metrics
- The metrics for the component.TrialComponent.Builder metrics(TrialComponentMetricSummary... metrics)
The metrics for the component.
metrics
- The metrics for the component.TrialComponent.Builder metrics(Consumer<TrialComponentMetricSummary.Builder>... metrics)
The metrics for the component.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #metrics(List)
.metrics
- a consumer that will call methods on List.Builder
#metrics(List)
TrialComponent.Builder sourceDetail(TrialComponentSourceDetail sourceDetail)
Details of the source of the component.
sourceDetail
- Details of the source of the component.default TrialComponent.Builder sourceDetail(Consumer<TrialComponentSourceDetail.Builder> sourceDetail)
Details of the source of the component.
This is a convenience that creates an instance of theTrialComponentSourceDetail.Builder
avoiding the
need to create one manually via TrialComponentSourceDetail.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to sourceDetail(TrialComponentSourceDetail)
.sourceDetail
- a consumer that will call methods on TrialComponentSourceDetail.Builder
sourceDetail(TrialComponentSourceDetail)
TrialComponent.Builder tags(Collection<Tag> tags)
The list of tags that are associated with the component. You can use Search API to search on the tags.
tags
- The list of tags that are associated with the component. You can use Search API to search on
the tags.TrialComponent.Builder tags(Tag... tags)
The list of tags that are associated with the component. You can use Search API to search on the tags.
tags
- The list of tags that are associated with the component. You can use Search API to search on
the tags.TrialComponent.Builder tags(Consumer<Tag.Builder>... 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 that creates an instance of theList.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
TrialComponent.Builder parents(Collection<Parent> 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.
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.TrialComponent.Builder parents(Parent... 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.
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.TrialComponent.Builder parents(Consumer<Parent.Builder>... 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 that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #parents(List)
.parents
- a consumer that will call methods on List.Builder
#parents(List)
Copyright © 2020. All rights reserved.