Interface Trial.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<Trial.Builder,,- Trial> - SdkBuilder<Trial.Builder,,- Trial> - SdkPojo
- Enclosing class:
- Trial
- 
Method SummaryModifier and TypeMethodDescriptiondefault Trial.BuildercreatedBy(Consumer<UserContext.Builder> createdBy) Who created the trial.createdBy(UserContext createdBy) Who created the trial.creationTime(Instant creationTime) When the trial was created.displayName(String displayName) The name of the trial as displayed.experimentName(String experimentName) The name of the experiment the trial is part of.default Trial.BuilderlastModifiedBy(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) Who last modified the trial.default Trial.BuildermetadataProperties(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.default Trial.Buildersource(Consumer<TrialSource.Builder> source) Sets the value of the Source property for this object.source(TrialSource source) Sets the value of the Source property for this object.tags(Collection<Tag> tags) The list of tags that are associated with the trial.tags(Consumer<Tag.Builder>... tags) The list of tags that are associated with the trial.The list of tags that are associated with the trial.The Amazon Resource Name (ARN) of the trial.trialComponentSummaries(Collection<TrialComponentSimpleSummary> trialComponentSummaries) A list of the components associated with the trial.trialComponentSummaries(Consumer<TrialComponentSimpleSummary.Builder>... trialComponentSummaries) A list of the components associated with the trial.trialComponentSummaries(TrialComponentSimpleSummary... trialComponentSummaries) A list of the components associated with the trial.The name of the trial.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
trialNameThe 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.
 
- 
trialArnThe 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.
 
- 
displayNameThe name of the trial as displayed. If DisplayNameisn't specified,TrialNameis displayed.- Parameters:
- displayName- The name of the trial as displayed. If- DisplayNameisn't specified,- TrialNameis displayed.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
experimentNameThe 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.
 
- 
sourceSets 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.
 
- 
sourceSets the value of the Source property for this object. This is a convenience method that creates an instance of theTrialSource.Builderavoiding the need to create one manually viaTrialSource.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosource(TrialSource).- Parameters:
- source- a consumer that will call methods on- TrialSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
creationTimeWhen 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.
 
- 
createdByWho created the trial. - Parameters:
- createdBy- Who created the trial.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
createdByWho created the trial. This is a convenience method that creates an instance of theUserContext.Builderavoiding the need to create one manually viaUserContext.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocreatedBy(UserContext).- Parameters:
- createdBy- a consumer that will call methods on- UserContext.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
lastModifiedTimeWho 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.
 
- 
lastModifiedBySets 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.
 
- 
lastModifiedBySets the value of the LastModifiedBy property for this object. This is a convenience method that creates an instance of theUserContext.Builderavoiding the need to create one manually viaUserContext.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolastModifiedBy(UserContext).- Parameters:
- lastModifiedBy- a consumer that will call methods on- UserContext.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
metadataPropertiesSets 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.
 
- 
metadataPropertiesSets the value of the MetadataProperties property for this object. This is a convenience method that creates an instance of theMetadataProperties.Builderavoiding the need to create one manually viaMetadataProperties.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometadataProperties(MetadataProperties).- Parameters:
- metadataProperties- a consumer that will call methods on- MetadataProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
tagsThe 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.
 
- 
tagsThe 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.
 
- 
tagsThe 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.Builderavoiding the need to create one manually viaTag.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
- tags- a consumer that will call methods on- Tag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
trialComponentSummariesTrial.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.
 
- 
trialComponentSummariesA 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.
 
- 
trialComponentSummariesTrial.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.Builderavoiding the need to create one manually viaTrialComponentSimpleSummary.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totrialComponentSummaries(List<TrialComponentSimpleSummary>).- Parameters:
- trialComponentSummaries- a consumer that will call methods on- TrialComponentSimpleSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-