public static interface StageState.Builder extends 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 |
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.
|
copy
applyMutation, build
StageState.Builder stageName(String stageName)
The name of the stage.
stageName
- The name of the stage.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 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.Builder
inboundTransitionState(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 that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #actionStates(List)
.actionStates
- a consumer that will call methods on List.Builder
#actionStates(List)
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 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.Builder
latestExecution(StageExecution)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.