Interface StageState.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<StageState.Builder,
,StageState> SdkBuilder<StageState.Builder,
,StageState> SdkPojo
- Enclosing class:
StageState
-
Method Summary
Modifier and TypeMethodDescriptionactionStates
(Collection<ActionState> actionStates) The state of the stage.actionStates
(Consumer<ActionState.Builder>... actionStates) The state of the stage.actionStates
(ActionState... actionStates) The state of the stage.default StageState.Builder
inboundExecution
(Consumer<StageExecution.Builder> inboundExecution) Sets the value of the InboundExecution property for this object.inboundExecution
(StageExecution inboundExecution) Sets the value of the InboundExecution property for this object.inboundExecutions
(Collection<StageExecution> inboundExecutions) The inbound executions for a stage.inboundExecutions
(Consumer<StageExecution.Builder>... inboundExecutions) The inbound executions for a stage.inboundExecutions
(StageExecution... inboundExecutions) The inbound executions for a stage.default StageState.Builder
inboundTransitionState
(Consumer<TransitionState.Builder> inboundTransitionState) The state of the inbound transition, which is either enabled or disabled.inboundTransitionState
(TransitionState inboundTransitionState) The state of the inbound transition, which is either enabled or disabled.default StageState.Builder
latestExecution
(Consumer<StageExecution.Builder> latestExecution) Information about the latest execution in the stage, including its ID and status.latestExecution
(StageExecution latestExecution) Information about the latest execution in the stage, including its ID and status.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 Details
-
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
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
Sets the value of the InboundExecution property for this object. This is a convenience method that creates an instance of theStageExecution.Builder
avoiding the need to create one manually viaStageExecution.builder()
.When the
Consumer
completes,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:
-
inboundExecutions
The inbound executions for a stage.
- Parameters:
inboundExecutions
- The inbound executions for a stage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inboundExecutions
The inbound executions for a stage.
- Parameters:
inboundExecutions
- The inbound executions for a stage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inboundExecutions
The inbound executions for a stage.
This is a convenience method that creates an instance of theStageExecution.Builder
avoiding the need to create one manually viaStageExecution.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinboundExecutions(List<StageExecution>)
.- Parameters:
inboundExecutions
- 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:
-
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.Builder
avoiding the need to create one manually viaTransitionState.builder()
.When the
Consumer
completes,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:
-
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
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
The state of the stage.
This is a convenience method that creates an instance of theActionState.Builder
avoiding the need to create one manually viaActionState.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toactionStates(List<ActionState>)
.- 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:
-
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
Information about the latest execution in the stage, including its ID and status.
This is a convenience method that creates an instance of theStageExecution.Builder
avoiding the need to create one manually viaStageExecution.builder()
.When the
Consumer
completes,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:
-