public static interface StageState.Builder extends SdkPojo, CopyableBuilder<StageState.Builder,StageState>
| Modifier and Type | Method and Description |
|---|---|
StageState.Builder |
actionStates(ActionState... actionStates)
The state of the stage.
|
StageState.Builder |
actionStates(Collection<ActionState> actionStates)
The state of the stage.
|
StageState.Builder |
actionStates(Consumer<ActionState.Builder>... actionStates)
The state of the stage.
|
default StageState.Builder |
inboundExecution(Consumer<StageExecution.Builder> inboundExecution)
Sets the value of the InboundExecution property for this object.
|
StageState.Builder |
inboundExecution(StageExecution inboundExecution)
Sets the value of the InboundExecution property for this object.
|
default StageState.Builder |
inboundTransitionState(Consumer<TransitionState.Builder> inboundTransitionState)
The state of the inbound transition, which is either enabled or disabled.
|
StageState.Builder |
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.
|
StageState.Builder |
latestExecution(StageExecution latestExecution)
Information about the latest execution in the stage, including its ID and status.
|
StageState.Builder |
stageName(String stageName)
The name of the stage.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildStageState.Builder stageName(String stageName)
The name of the stage.
stageName - The name of the stage.StageState.Builder inboundExecution(StageExecution inboundExecution)
inboundExecution - The new value for the InboundExecution property for this object.default StageState.Builder inboundExecution(Consumer<StageExecution.Builder> inboundExecution)
StageExecution.Builder avoiding the need
to create one manually via StageExecution.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to inboundExecution(StageExecution).
inboundExecution - a consumer that will call methods on StageExecution.BuilderinboundExecution(StageExecution)StageState.Builder inboundTransitionState(TransitionState inboundTransitionState)
The state of the inbound transition, which is either enabled or disabled.
inboundTransitionState - The state of the inbound transition, which is either enabled or disabled.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 via TransitionState.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to inboundTransitionState(TransitionState).
inboundTransitionState - a consumer that will call methods on TransitionState.BuilderinboundTransitionState(TransitionState)StageState.Builder actionStates(Collection<ActionState> actionStates)
The state of the stage.
actionStates - The state of the stage.StageState.Builder actionStates(ActionState... actionStates)
The state of the stage.
actionStates - The state of the stage.StageState.Builder actionStates(Consumer<ActionState.Builder>... 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 via ActionState.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #actionStates(List.
actionStates - a consumer that will call methods on
ActionState.Builder#actionStates(java.util.Collection) StageState.Builder latestExecution(StageExecution latestExecution)
Information about the latest execution in the stage, including its ID and status.
latestExecution - Information about the latest execution in the stage, including its ID and status.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.Builder avoiding the need
to create one manually via StageExecution.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to latestExecution(StageExecution).
latestExecution - a consumer that will call methods on StageExecution.BuilderlatestExecution(StageExecution)Copyright © 2023. All rights reserved.