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.BuilderbeforeEntryConditionState(Consumer<StageConditionState.Builder> beforeEntryConditionState)The state of the entry conditions for a stage.StageState.BuilderbeforeEntryConditionState(StageConditionState beforeEntryConditionState)The state of the entry conditions for a 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.StageState.BuilderinboundExecutions(Collection<StageExecution> inboundExecutions)The inbound executions for a stage.StageState.BuilderinboundExecutions(Consumer<StageExecution.Builder>... inboundExecutions)The inbound executions for a stage.StageState.BuilderinboundExecutions(StageExecution... inboundExecutions)The inbound executions for a stage.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.default StageState.BuilderonFailureConditionState(Consumer<StageConditionState.Builder> onFailureConditionState)The state of the failure conditions for a stage.StageState.BuilderonFailureConditionState(StageConditionState onFailureConditionState)The state of the failure conditions for a stage.default StageState.BuilderonSuccessConditionState(Consumer<StageConditionState.Builder> onSuccessConditionState)The state of the success conditions for a stage.StageState.BuilderonSuccessConditionState(StageConditionState onSuccessConditionState)The state of the success conditions for a stage.default StageState.BuilderretryStageMetadata(Consumer<RetryStageMetadata.Builder> retryStageMetadata)he details of a specific automatic retry on stage failure, including the attempt number and trigger.StageState.BuilderretryStageMetadata(RetryStageMetadata retryStageMetadata)he details of a specific automatic retry on stage failure, including the attempt number and trigger.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, sdkFieldNameToField, 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)
-
inboundExecutions
StageState.Builder inboundExecutions(Collection<StageExecution> 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
StageState.Builder inboundExecutions(StageExecution... 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
StageState.Builder inboundExecutions(Consumer<StageExecution.Builder>... inboundExecutions)
The inbound executions for a stage.
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 to#inboundExecutions(List.) - 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:
#inboundExecutions(java.util.Collection)
-
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)
-
beforeEntryConditionState
StageState.Builder beforeEntryConditionState(StageConditionState beforeEntryConditionState)
The state of the entry conditions for a stage.
- Parameters:
beforeEntryConditionState- The state of the entry conditions for a stage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
beforeEntryConditionState
default StageState.Builder beforeEntryConditionState(Consumer<StageConditionState.Builder> beforeEntryConditionState)
The state of the entry conditions for a stage.
This is a convenience method that creates an instance of theStageConditionState.Builderavoiding the need to create one manually viaStageConditionState.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobeforeEntryConditionState(StageConditionState).- Parameters:
beforeEntryConditionState- a consumer that will call methods onStageConditionState.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
beforeEntryConditionState(StageConditionState)
-
onSuccessConditionState
StageState.Builder onSuccessConditionState(StageConditionState onSuccessConditionState)
The state of the success conditions for a stage.
- Parameters:
onSuccessConditionState- The state of the success conditions for a stage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onSuccessConditionState
default StageState.Builder onSuccessConditionState(Consumer<StageConditionState.Builder> onSuccessConditionState)
The state of the success conditions for a stage.
This is a convenience method that creates an instance of theStageConditionState.Builderavoiding the need to create one manually viaStageConditionState.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toonSuccessConditionState(StageConditionState).- Parameters:
onSuccessConditionState- a consumer that will call methods onStageConditionState.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
onSuccessConditionState(StageConditionState)
-
onFailureConditionState
StageState.Builder onFailureConditionState(StageConditionState onFailureConditionState)
The state of the failure conditions for a stage.
- Parameters:
onFailureConditionState- The state of the failure conditions for a stage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onFailureConditionState
default StageState.Builder onFailureConditionState(Consumer<StageConditionState.Builder> onFailureConditionState)
The state of the failure conditions for a stage.
This is a convenience method that creates an instance of theStageConditionState.Builderavoiding the need to create one manually viaStageConditionState.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toonFailureConditionState(StageConditionState).- Parameters:
onFailureConditionState- a consumer that will call methods onStageConditionState.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
onFailureConditionState(StageConditionState)
-
retryStageMetadata
StageState.Builder retryStageMetadata(RetryStageMetadata retryStageMetadata)
he details of a specific automatic retry on stage failure, including the attempt number and trigger.
- Parameters:
retryStageMetadata- he details of a specific automatic retry on stage failure, including the attempt number and trigger.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retryStageMetadata
default StageState.Builder retryStageMetadata(Consumer<RetryStageMetadata.Builder> retryStageMetadata)
he details of a specific automatic retry on stage failure, including the attempt number and trigger.
This is a convenience method that creates an instance of theRetryStageMetadata.Builderavoiding the need to create one manually viaRetryStageMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toretryStageMetadata(RetryStageMetadata).- Parameters:
retryStageMetadata- a consumer that will call methods onRetryStageMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
retryStageMetadata(RetryStageMetadata)
-
-