@Stability(value=Stable) public static final class StageProps.Builder extends Object implements software.amazon.jsii.Builder<StageProps>
StageProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
StageProps.Builder |
actions(List<? extends IAction> actions)
Sets the value of
StageProps.getActions() |
StageProps |
build()
Builds the configured instance.
|
StageProps.Builder |
stageName(String stageName)
Sets the value of
StageProps.getStageName() |
StageProps.Builder |
transitionDisabledReason(String transitionDisabledReason)
Sets the value of
StageProps.getTransitionDisabledReason() |
StageProps.Builder |
transitionToEnabled(Boolean transitionToEnabled)
Sets the value of
StageProps.getTransitionToEnabled() |
@Stability(value=Stable) public StageProps.Builder stageName(String stageName)
StageProps.getStageName()stageName - The physical, human-readable name to assign to this Pipeline Stage. This parameter is required.this@Stability(value=Stable) public StageProps.Builder actions(List<? extends IAction> actions)
StageProps.getActions()actions - The list of Actions to create this Stage with.
You can always add more Actions later by calling {@link IStage#addAction}.this@Stability(value=Stable) public StageProps.Builder transitionDisabledReason(String transitionDisabledReason)
StageProps.getTransitionDisabledReason()transitionDisabledReason - The reason for disabling transition to this stage.
Only applicable
if transitionToEnabled is set to false.this@Stability(value=Stable) public StageProps.Builder transitionToEnabled(Boolean transitionToEnabled)
StageProps.getTransitionToEnabled()transitionToEnabled - Whether to enable transition to this stage.this@Stability(value=Stable) public StageProps build()
build in interface software.amazon.jsii.Builder<StageProps>StagePropsNullPointerException - if any required attribute was not providedCopyright © 2023. All rights reserved.