Interface TrialSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TrialSummary.Builder,TrialSummary>,SdkBuilder<TrialSummary.Builder,TrialSummary>,SdkPojo
- Enclosing class:
- TrialSummary
public static interface TrialSummary.Builder extends SdkPojo, CopyableBuilder<TrialSummary.Builder,TrialSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description TrialSummary.BuildercreationTime(Instant creationTime)When the trial was created.TrialSummary.BuilderdisplayName(String displayName)The name of the trial as displayed.TrialSummary.BuilderlastModifiedTime(Instant lastModifiedTime)When the trial was last modified.TrialSummary.BuildertrialArn(String trialArn)The Amazon Resource Name (ARN) of the trial.TrialSummary.BuildertrialName(String trialName)The name of the trial.default TrialSummary.BuildertrialSource(Consumer<TrialSource.Builder> trialSource)Sets the value of the TrialSource property for this object.TrialSummary.BuildertrialSource(TrialSource trialSource)Sets the value of the TrialSource property for this object.-
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 Detail
-
trialArn
TrialSummary.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.
-
trialName
TrialSummary.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.
-
displayName
TrialSummary.Builder displayName(String displayName)
The name of the trial as displayed. If
DisplayNameisn't specified,TrialNameis displayed.- Parameters:
displayName- The name of the trial as displayed. IfDisplayNameisn't specified,TrialNameis displayed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trialSource
TrialSummary.Builder trialSource(TrialSource trialSource)
Sets the value of the TrialSource property for this object.- Parameters:
trialSource- The new value for the TrialSource property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trialSource
default TrialSummary.Builder trialSource(Consumer<TrialSource.Builder> trialSource)
Sets the value of the TrialSource 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 totrialSource(TrialSource).- Parameters:
trialSource- 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:
trialSource(TrialSource)
-
creationTime
TrialSummary.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.
-
lastModifiedTime
TrialSummary.Builder lastModifiedTime(Instant lastModifiedTime)
When the trial was last modified.
- Parameters:
lastModifiedTime- When the trial was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-