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.Builder
creationTime(Instant creationTime)
When the trial was created.TrialSummary.Builder
displayName(String displayName)
The name of the trial as displayed.TrialSummary.Builder
lastModifiedTime(Instant lastModifiedTime)
When the trial was last modified.TrialSummary.Builder
trialArn(String trialArn)
The Amazon Resource Name (ARN) of the trial.TrialSummary.Builder
trialName(String trialName)
The name of the trial.default TrialSummary.Builder
trialSource(Consumer<TrialSource.Builder> trialSource)
Sets the value of the TrialSource property for this object.TrialSummary.Builder
trialSource(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, 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
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.
-
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.Builder
avoiding the need to create one manually viaTrialSource.builder()
.When the
Consumer
completes,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.
-
-