Interface Trial.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<Trial.Builder,Trial>
,SdkBuilder<Trial.Builder,Trial>
,SdkPojo
- Enclosing class:
- Trial
public static interface Trial.Builder extends SdkPojo, CopyableBuilder<Trial.Builder,Trial>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method 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.-
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, sdkFields
-
-
-
-
Method Detail
-
trialName
Trial.Builder trialName(String trialName)
The name of the trial.
- Parameters:
trialName
- The name of the trial.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trialArn
Trial.Builder trialArn(String trialArn)
The Amazon Resource Name (ARN) of the trial.
- Parameters:
trialArn
- The Amazon Resource Name (ARN) of the trial.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
Trial.Builder displayName(String displayName)
The name of the trial as displayed. If
DisplayName
isn't specified,TrialName
is displayed.- Parameters:
displayName
- The name of the trial as displayed. IfDisplayName
isn't specified,TrialName
is displayed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
experimentName
Trial.Builder experimentName(String experimentName)
The name of the experiment the trial is part of.
- Parameters:
experimentName
- The name of the experiment the trial is part of.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
Trial.Builder source(TrialSource source)
Sets the value of the Source property for this object.- Parameters:
source
- The new value for the Source property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
default Trial.Builder source(Consumer<TrialSource.Builder> source)
Sets the value of the Source property for this object. This is a convenience method that creates an instance of theTrialSource.Builder
avoiding the need to create one manually viaTrialSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosource(TrialSource)
.- Parameters:
source
- a consumer that will call methods onTrialSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
source(TrialSource)
-
creationTime
Trial.Builder creationTime(Instant creationTime)
When the trial was created.
- Parameters:
creationTime
- When the trial was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
Trial.Builder createdBy(UserContext createdBy)
Who created the trial.
- Parameters:
createdBy
- Who created the trial.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
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 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:
createdBy(UserContext)
-
lastModifiedTime
Trial.Builder lastModifiedTime(Instant lastModifiedTime)
Who last modified the trial.
- Parameters:
lastModifiedTime
- Who last modified the trial.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedBy
Trial.Builder lastModifiedBy(UserContext 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
default Trial.Builder lastModifiedBy(Consumer<UserContext.Builder> 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:
lastModifiedBy(UserContext)
-
metadataProperties
Trial.Builder metadataProperties(MetadataProperties 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 Trial.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:
metadataProperties(MetadataProperties)
-
tags
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.
- Parameters:
tags
- The list of tags that are associated with the trial. 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
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.
- Parameters:
tags
- The list of tags that are associated with the trial. 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
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 viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#tags(List
.) - 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:
#tags(java.util.Collection
)
-
trialComponentSummaries
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.
- Parameters:
trialComponentSummaries
- A list of the components associated with the trial. For each component, a summary of the component's properties is included.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trialComponentSummaries
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.
- Parameters:
trialComponentSummaries
- A list of the components associated with the trial. For each component, a summary of the component's properties is included.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trialComponentSummaries
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 viaTrialComponentSimpleSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#trialComponentSummaries(List
.) - Parameters:
trialComponentSummaries
- a consumer that will call methods onTrialComponentSimpleSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#trialComponentSummaries(java.util.Collection
)
-
-