Interface ExperimentSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ExperimentSummary.Builder,
,ExperimentSummary> SdkBuilder<ExperimentSummary.Builder,
,ExperimentSummary> SdkPojo
- Enclosing class:
ExperimentSummary
@Mutable
@NotThreadSafe
public static interface ExperimentSummary.Builder
extends SdkPojo, CopyableBuilder<ExperimentSummary.Builder,ExperimentSummary>
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime
(Instant creationTime) When the experiment was created.displayName
(String displayName) The name of the experiment as displayed.experimentArn
(String experimentArn) The Amazon Resource Name (ARN) of the experiment.experimentName
(String experimentName) The name of the experiment.default ExperimentSummary.Builder
experimentSource
(Consumer<ExperimentSource.Builder> experimentSource) Sets the value of the ExperimentSource property for this object.experimentSource
(ExperimentSource experimentSource) Sets the value of the ExperimentSource property for this object.lastModifiedTime
(Instant lastModifiedTime) When the experiment was last modified.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 Details
-
experimentArn
The Amazon Resource Name (ARN) of the experiment.
- Parameters:
experimentArn
- The Amazon Resource Name (ARN) of the experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
experimentName
The name of the experiment.
- Parameters:
experimentName
- The name of the experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
The name of the experiment as displayed. If
DisplayName
isn't specified,ExperimentName
is displayed.- Parameters:
displayName
- The name of the experiment as displayed. IfDisplayName
isn't specified,ExperimentName
is displayed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
experimentSource
Sets the value of the ExperimentSource property for this object.- Parameters:
experimentSource
- The new value for the ExperimentSource property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
experimentSource
default ExperimentSummary.Builder experimentSource(Consumer<ExperimentSource.Builder> experimentSource) Sets the value of the ExperimentSource property for this object. This is a convenience method that creates an instance of theExperimentSource.Builder
avoiding the need to create one manually viaExperimentSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexperimentSource(ExperimentSource)
.- Parameters:
experimentSource
- a consumer that will call methods onExperimentSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationTime
When the experiment was created.
- Parameters:
creationTime
- When the experiment was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
When the experiment was last modified.
- Parameters:
lastModifiedTime
- When the experiment was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-