public static final class CfnPipeline.StageTransitionProperty.Builder
extends java.lang.Object
CfnPipeline.StageTransitionProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnPipeline.StageTransitionProperty |
build()
Builds the configured instance.
|
CfnPipeline.StageTransitionProperty.Builder |
reason(java.lang.String reason)
Sets the value of
CfnPipeline.StageTransitionProperty.getReason() |
CfnPipeline.StageTransitionProperty.Builder |
stageName(java.lang.String stageName)
Sets the value of
CfnPipeline.StageTransitionProperty.getStageName() |
public CfnPipeline.StageTransitionProperty.Builder reason(java.lang.String reason)
CfnPipeline.StageTransitionProperty.getReason()
reason
- The reason given to the user that a stage is disabled, such as waiting for manual approval or manual tests. This parameter is required.
This message is displayed in the pipeline console UI.this
public CfnPipeline.StageTransitionProperty.Builder stageName(java.lang.String stageName)
CfnPipeline.StageTransitionProperty.getStageName()
stageName
- The name of the stage where you want to disable the inbound or outbound transition of artifacts. This parameter is required.this
public CfnPipeline.StageTransitionProperty build()
CfnPipeline.StageTransitionProperty
java.lang.NullPointerException
- if any required attribute was not provided