public static interface Trial.Builder extends SdkPojo, CopyableBuilder<Trial.Builder,Trial>
Modifier and Type | Method and Description |
---|---|
default Trial.Builder |
createdBy(Consumer<UserContext.Builder> createdBy)
Who created the trial.
|
Trial.Builder |
createdBy(UserContext createdBy)
Who created the trial.
|
Trial.Builder |
creationTime(Instant creationTime)
When the trial was created.
|
Trial.Builder |
displayName(String displayName)
The name of the trial as displayed.
|
Trial.Builder |
experimentName(String experimentName)
The name of the experiment the trial is part of.
|
default Trial.Builder |
lastModifiedBy(Consumer<UserContext.Builder> lastModifiedBy)
Sets the value of the LastModifiedBy property for this object.
|
Trial.Builder |
lastModifiedBy(UserContext lastModifiedBy)
Sets the value of the LastModifiedBy property for this object.
|
Trial.Builder |
lastModifiedTime(Instant lastModifiedTime)
Who last modified the trial.
|
default Trial.Builder |
metadataProperties(Consumer<MetadataProperties.Builder> metadataProperties)
Sets the value of the MetadataProperties property for this object.
|
Trial.Builder |
metadataProperties(MetadataProperties metadataProperties)
Sets the value of the MetadataProperties property for this object.
|
default Trial.Builder |
source(Consumer<TrialSource.Builder> source)
Sets the value of the Source property for this object.
|
Trial.Builder |
source(TrialSource source)
Sets the value of the Source property for this object.
|
Trial.Builder |
tags(Collection<Tag> tags)
The list of tags that are associated with the trial.
|
Trial.Builder |
tags(Consumer<Tag.Builder>... tags)
The list of tags that are associated with the trial.
|
Trial.Builder |
tags(Tag... tags)
The list of tags that are associated with the trial.
|
Trial.Builder |
trialArn(String trialArn)
The Amazon Resource Name (ARN) of the trial.
|
Trial.Builder |
trialComponentSummaries(Collection<TrialComponentSimpleSummary> trialComponentSummaries)
A list of the components associated with the trial.
|
Trial.Builder |
trialComponentSummaries(Consumer<TrialComponentSimpleSummary.Builder>... trialComponentSummaries)
A list of the components associated with the trial.
|
Trial.Builder |
trialComponentSummaries(TrialComponentSimpleSummary... trialComponentSummaries)
A list of the components associated with the trial.
|
Trial.Builder |
trialName(String trialName)
The name of the trial.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
Trial.Builder trialName(String trialName)
The name of the trial.
trialName
- The name of the trial.Trial.Builder trialArn(String trialArn)
The Amazon Resource Name (ARN) of the trial.
trialArn
- The Amazon Resource Name (ARN) of the trial.Trial.Builder displayName(String displayName)
The name of the trial as displayed. If DisplayName
isn't specified, TrialName
is
displayed.
displayName
- The name of the trial as displayed. If DisplayName
isn't specified,
TrialName
is displayed.Trial.Builder experimentName(String experimentName)
The name of the experiment the trial is part of.
experimentName
- The name of the experiment the trial is part of.Trial.Builder source(TrialSource source)
source
- The new value for the Source property for this object.default Trial.Builder source(Consumer<TrialSource.Builder> source)
TrialSource.Builder
avoiding the need to
create one manually via TrialSource.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to source(TrialSource)
.
source
- a consumer that will call methods on TrialSource.Builder
source(TrialSource)
Trial.Builder creationTime(Instant creationTime)
When the trial was created.
creationTime
- When the trial was created.Trial.Builder createdBy(UserContext createdBy)
Who created the trial.
createdBy
- Who created the trial.default Trial.Builder createdBy(Consumer<UserContext.Builder> createdBy)
Who created the trial.
This is a convenience method that creates an instance of theUserContext.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)
Trial.Builder lastModifiedTime(Instant lastModifiedTime)
Who last modified the trial.
lastModifiedTime
- Who last modified the trial.Trial.Builder lastModifiedBy(UserContext lastModifiedBy)
lastModifiedBy
- The new value for the LastModifiedBy property for this object.default Trial.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)
Trial.Builder metadataProperties(MetadataProperties metadataProperties)
metadataProperties
- The new value for the MetadataProperties property for this object.default Trial.Builder metadataProperties(Consumer<MetadataProperties.Builder> metadataProperties)
MetadataProperties.Builder
avoiding the
need to create one manually via MetadataProperties.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to metadataProperties(MetadataProperties)
.
metadataProperties
- a consumer that will call methods on MetadataProperties.Builder
metadataProperties(MetadataProperties)
Trial.Builder tags(Collection<Tag> tags)
The list of tags that are associated with the trial. You can use Search API to search on the tags.
tags
- The list of tags that are associated with the trial. You can use Search API to search on the
tags.Trial.Builder tags(Tag... tags)
The list of tags that are associated with the trial. You can use Search API to search on the tags.
tags
- The list of tags that are associated with the trial. You can use Search API to search on the
tags.Trial.Builder tags(Consumer<Tag.Builder>... tags)
The list of tags that are associated with the trial. 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
via Tag.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called immediately and its
result is passed to #tags(List
.
tags
- a consumer that will call methods on
Tag.Builder
#tags(java.util.Collection)
Trial.Builder trialComponentSummaries(Collection<TrialComponentSimpleSummary> trialComponentSummaries)
A list of the components associated with the trial. For each component, a summary of the component's properties is included.
trialComponentSummaries
- A list of the components associated with the trial. For each component, a summary of the component's
properties is included.Trial.Builder trialComponentSummaries(TrialComponentSimpleSummary... trialComponentSummaries)
A list of the components associated with the trial. For each component, a summary of the component's properties is included.
trialComponentSummaries
- A list of the components associated with the trial. For each component, a summary of the component's
properties is included.Trial.Builder trialComponentSummaries(Consumer<TrialComponentSimpleSummary.Builder>... trialComponentSummaries)
A list of the components associated with the trial. For each component, a summary of the component's properties is included.
This is a convenience method that creates an instance of theTrialComponentSimpleSummary.Builder
avoiding the need
to create one manually via
TrialComponentSimpleSummary.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called
immediately and its result is passed to #trialComponentSummaries(List
.
trialComponentSummaries
- a consumer that will call methods on
TrialComponentSimpleSummary.Builder
#trialComponentSummaries(java.util.Collection)
Copyright © 2023. All rights reserved.