Class CfnPipeline.StageDeclarationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.codepipeline.CfnPipeline.StageDeclarationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipeline.StageDeclarationProperty>
- Enclosing interface:
CfnPipeline.StageDeclarationProperty
@Stability(Stable)
public static final class CfnPipeline.StageDeclarationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipeline.StageDeclarationProperty>
A builder for
CfnPipeline.StageDeclarationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnPipeline.StageDeclarationProperty.getActions()actions(IResolvable actions) Sets the value ofCfnPipeline.StageDeclarationProperty.getActions()Sets the value ofCfnPipeline.StageDeclarationProperty.getBlockers()blockers(IResolvable blockers) Sets the value ofCfnPipeline.StageDeclarationProperty.getBlockers()build()Builds the configured instance.Sets the value ofCfnPipeline.StageDeclarationProperty.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actions
Sets the value ofCfnPipeline.StageDeclarationProperty.getActions()- Parameters:
actions- The actions included in a stage. This parameter is required.- Returns:
this
-
actions
@Stability(Stable) public CfnPipeline.StageDeclarationProperty.Builder actions(List<? extends Object> actions) Sets the value ofCfnPipeline.StageDeclarationProperty.getActions()- Parameters:
actions- The actions included in a stage. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnPipeline.StageDeclarationProperty.getName()- Parameters:
name- The name of the stage. This parameter is required.- Returns:
this
-
blockers
@Stability(Stable) public CfnPipeline.StageDeclarationProperty.Builder blockers(IResolvable blockers) Sets the value ofCfnPipeline.StageDeclarationProperty.getBlockers()- Parameters:
blockers- Reserved for future use.- Returns:
this
-
blockers
@Stability(Stable) public CfnPipeline.StageDeclarationProperty.Builder blockers(List<? extends Object> blockers) Sets the value ofCfnPipeline.StageDeclarationProperty.getBlockers()- Parameters:
blockers- Reserved for future use.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPipeline.StageDeclarationProperty>- Returns:
- a new instance of
CfnPipeline.StageDeclarationProperty - Throws:
NullPointerException- if any required attribute was not provided
-