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
Modifier and TypeMethodDescriptionThe ID of the action.description
(String description) The description for the action.The time that the action ended.parameters
(Map<String, String> parameters) The parameters for the action.startAfter
(String... startAfter) The name of the action that must be completed before this action starts.startAfter
(Collection<String> startAfter) The name of the action that must be completed before this action starts.The time that the action started.default ExperimentAction.Builder
The state of the action.state
(ExperimentActionState state) The state of the action.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 Details
-
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
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
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
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
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
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
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
The state of the action.
This is a convenience method that creates an instance of theExperimentActionState.Builder
avoiding the need to create one manually viaExperimentActionState.builder()
.When the
Consumer
completes,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:
-
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
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.
-