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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ExperimentSummary.Builderarn(String arn)The Amazon Resource Name (ARN) of the experiment.ExperimentSummary.BuildercreationTime(Instant creationTime)The time that the experiment was created.default ExperimentSummary.BuilderexperimentOptions(Consumer<ExperimentOptions.Builder> experimentOptions)The experiment options for the experiment.ExperimentSummary.BuilderexperimentOptions(ExperimentOptions experimentOptions)The experiment options for the experiment.ExperimentSummary.BuilderexperimentTemplateId(String experimentTemplateId)The ID of the experiment template.ExperimentSummary.Builderid(String id)The ID of the experiment.default ExperimentSummary.Builderstate(Consumer<ExperimentState.Builder> state)The state of the experiment.ExperimentSummary.Builderstate(ExperimentState state)The state of the experiment.ExperimentSummary.Buildertags(Map<String,String> tags)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 Detail
-
id
ExperimentSummary.Builder id(String 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
ExperimentSummary.Builder arn(String 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
ExperimentSummary.Builder experimentTemplateId(String 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
ExperimentSummary.Builder state(ExperimentState 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
default ExperimentSummary.Builder state(Consumer<ExperimentState.Builder> state)
The state of the experiment.
This is a convenience method that creates an instance of theExperimentState.Builderavoiding the need to create one manually viaExperimentState.builder().When the
Consumercompletes,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:
state(ExperimentState)
-
creationTime
ExperimentSummary.Builder creationTime(Instant 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
ExperimentSummary.Builder tags(Map<String,String> 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
ExperimentSummary.Builder experimentOptions(ExperimentOptions 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.Builderavoiding the need to create one manually viaExperimentOptions.builder().When the
Consumercompletes,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:
experimentOptions(ExperimentOptions)
-
-