Interface StageState.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<StageState.Builder,StageState>,SdkBuilder<StageState.Builder,StageState>,SdkPojo
- Enclosing class:
- StageState
public static interface StageState.Builder extends SdkPojo, CopyableBuilder<StageState.Builder,StageState>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StageState.BuilderactionStates(Collection<ActionState> actionStates)The state of the stage.StageState.BuilderactionStates(Consumer<ActionState.Builder>... actionStates)The state of the stage.StageState.BuilderactionStates(ActionState... actionStates)The state of the stage.default StageState.BuilderinboundExecution(Consumer<StageExecution.Builder> inboundExecution)Sets the value of the InboundExecution property for this object.StageState.BuilderinboundExecution(StageExecution inboundExecution)Sets the value of the InboundExecution property for this object.default StageState.BuilderinboundTransitionState(Consumer<TransitionState.Builder> inboundTransitionState)The state of the inbound transition, which is either enabled or disabled.StageState.BuilderinboundTransitionState(TransitionState inboundTransitionState)The state of the inbound transition, which is either enabled or disabled.default StageState.BuilderlatestExecution(Consumer<StageExecution.Builder> latestExecution)Information about the latest execution in the stage, including its ID and status.StageState.BuilderlatestExecution(StageExecution latestExecution)Information about the latest execution in the stage, including its ID and status.StageState.BuilderstageName(String stageName)The name of the stage.-
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
-
stageName
StageState.Builder stageName(String stageName)
The name of the stage.
- Parameters:
stageName- The name of the stage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inboundExecution
StageState.Builder inboundExecution(StageExecution inboundExecution)
Sets the value of the InboundExecution property for this object.- Parameters:
inboundExecution- The new value for the InboundExecution property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inboundExecution
default StageState.Builder inboundExecution(Consumer<StageExecution.Builder> inboundExecution)
Sets the value of the InboundExecution property for this object. This is a convenience method that creates an instance of theStageExecution.Builderavoiding the need to create one manually viaStageExecution.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinboundExecution(StageExecution).- Parameters:
inboundExecution- a consumer that will call methods onStageExecution.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
inboundExecution(StageExecution)
-
inboundTransitionState
StageState.Builder inboundTransitionState(TransitionState inboundTransitionState)
The state of the inbound transition, which is either enabled or disabled.
- Parameters:
inboundTransitionState- The state of the inbound transition, which is either enabled or disabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inboundTransitionState
default StageState.Builder inboundTransitionState(Consumer<TransitionState.Builder> inboundTransitionState)
The state of the inbound transition, which is either enabled or disabled.
This is a convenience method that creates an instance of theTransitionState.Builderavoiding the need to create one manually viaTransitionState.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinboundTransitionState(TransitionState).- Parameters:
inboundTransitionState- a consumer that will call methods onTransitionState.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
inboundTransitionState(TransitionState)
-
actionStates
StageState.Builder actionStates(Collection<ActionState> actionStates)
The state of the stage.
- Parameters:
actionStates- The state of the stage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionStates
StageState.Builder actionStates(ActionState... actionStates)
The state of the stage.
- Parameters:
actionStates- The state of the stage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionStates
StageState.Builder actionStates(Consumer<ActionState.Builder>... actionStates)
The state of the stage.
This is a convenience method that creates an instance of theActionState.Builderavoiding the need to create one manually viaActionState.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#actionStates(List.) - Parameters:
actionStates- a consumer that will call methods onActionState.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#actionStates(java.util.Collection)
-
latestExecution
StageState.Builder latestExecution(StageExecution latestExecution)
Information about the latest execution in the stage, including its ID and status.
- Parameters:
latestExecution- Information about the latest execution in the stage, including its ID and status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestExecution
default StageState.Builder latestExecution(Consumer<StageExecution.Builder> latestExecution)
Information about the latest execution in the stage, including its ID and status.
This is a convenience method that creates an instance of theStageExecution.Builderavoiding the need to create one manually viaStageExecution.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolatestExecution(StageExecution).- Parameters:
latestExecution- a consumer that will call methods onStageExecution.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
latestExecution(StageExecution)
-
-