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
Modifier and TypeMethodDescriptioncreationTime
(Instant creationTime) When the trial was created.displayName
(String displayName) The name of the trial as displayed.lastModifiedTime
(Instant lastModifiedTime) When the trial was last modified.The Amazon Resource Name (ARN) of the trial.The name of the trial.default TrialSummary.Builder
trialSource
(Consumer<TrialSource.Builder> trialSource) Sets the value of the TrialSource property for this object.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 Details
-
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
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
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
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
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:
-
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
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.
-