Interface ExperimentSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ExperimentSummary.Builder,
,ExperimentSummary> SdkBuilder<ExperimentSummary.Builder,
,ExperimentSummary> SdkPojo
- Enclosing class:
ExperimentSummary
public static interface ExperimentSummary.Builder
extends SdkPojo, CopyableBuilder<ExperimentSummary.Builder,ExperimentSummary>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the experiment.creationTime
(Instant creationTime) The time that the experiment was created.default ExperimentSummary.Builder
experimentOptions
(Consumer<ExperimentOptions.Builder> experimentOptions) The experiment options for the experiment.experimentOptions
(ExperimentOptions experimentOptions) The experiment options for the experiment.experimentTemplateId
(String experimentTemplateId) The ID of the experiment template.The ID of the experiment.default ExperimentSummary.Builder
state
(Consumer<ExperimentState.Builder> state) The state of the experiment.state
(ExperimentState state) The state of the experiment.The tags for the experiment.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
-
id
The ID of the experiment.
- Parameters:
id
- The ID of the experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The Amazon Resource Name (ARN) of the experiment.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
experimentTemplateId
The ID of the experiment template.
- Parameters:
experimentTemplateId
- The ID of the experiment template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The state of the experiment.
- Parameters:
state
- The state of the experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The state of the experiment.
This is a convenience method that creates an instance of theExperimentState.Builder
avoiding the need to create one manually viaExperimentState.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostate(ExperimentState)
.- Parameters:
state
- a consumer that will call methods onExperimentState.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationTime
The time that the experiment was created.
- Parameters:
creationTime
- The time that the experiment was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags for the experiment.
- Parameters:
tags
- The tags for the experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
experimentOptions
The experiment options for the experiment.
- Parameters:
experimentOptions
- The experiment options for the experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
experimentOptions
default ExperimentSummary.Builder experimentOptions(Consumer<ExperimentOptions.Builder> experimentOptions) The experiment options for the experiment.
This is a convenience method that creates an instance of theExperimentOptions.Builder
avoiding the need to create one manually viaExperimentOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexperimentOptions(ExperimentOptions)
.- Parameters:
experimentOptions
- a consumer that will call methods onExperimentOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-