Interface ExperimentAction.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ExperimentAction.Builder,ExperimentAction>,SdkBuilder<ExperimentAction.Builder,ExperimentAction>,SdkPojo
- Enclosing class:
- ExperimentAction
public static interface ExperimentAction.Builder extends SdkPojo, CopyableBuilder<ExperimentAction.Builder,ExperimentAction>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ExperimentAction.BuilderactionId(String actionId)The ID of the action.ExperimentAction.Builderdescription(String description)The description for the action.ExperimentAction.BuilderendTime(Instant endTime)The time that the action ended.ExperimentAction.Builderparameters(Map<String,String> parameters)The parameters for the action.ExperimentAction.BuilderstartAfter(String... startAfter)The name of the action that must be completed before this action starts.ExperimentAction.BuilderstartAfter(Collection<String> startAfter)The name of the action that must be completed before this action starts.ExperimentAction.BuilderstartTime(Instant startTime)The time that the action started.default ExperimentAction.Builderstate(Consumer<ExperimentActionState.Builder> state)The state of the action.ExperimentAction.Builderstate(ExperimentActionState state)The state of the action.ExperimentAction.Buildertargets(Map<String,String> targets)The targets for the action.-
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
-
actionId
ExperimentAction.Builder actionId(String actionId)
The ID of the action.
- Parameters:
actionId- The ID of the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
ExperimentAction.Builder description(String description)
The description for the action.
- Parameters:
description- The description for the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
ExperimentAction.Builder parameters(Map<String,String> parameters)
The parameters for the action.
- Parameters:
parameters- The parameters for the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
ExperimentAction.Builder targets(Map<String,String> targets)
The targets for the action.
- Parameters:
targets- The targets for the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startAfter
ExperimentAction.Builder startAfter(Collection<String> startAfter)
The name of the action that must be completed before this action starts.
- Parameters:
startAfter- The name of the action that must be completed before this action starts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startAfter
ExperimentAction.Builder startAfter(String... startAfter)
The name of the action that must be completed before this action starts.
- Parameters:
startAfter- The name of the action that must be completed before this action starts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
ExperimentAction.Builder state(ExperimentActionState state)
The state of the action.
- Parameters:
state- The state of the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
default ExperimentAction.Builder state(Consumer<ExperimentActionState.Builder> state)
The state of the action.
This is a convenience method that creates an instance of theExperimentActionState.Builderavoiding the need to create one manually viaExperimentActionState.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostate(ExperimentActionState).- Parameters:
state- a consumer that will call methods onExperimentActionState.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
state(ExperimentActionState)
-
startTime
ExperimentAction.Builder startTime(Instant startTime)
The time that the action started.
- Parameters:
startTime- The time that the action started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
ExperimentAction.Builder endTime(Instant endTime)
The time that the action ended.
- Parameters:
endTime- The time that the action ended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-