Package software.amazon.awscdk.pipelines
Class AddStageOpts.Builder
java.lang.Object
software.amazon.awscdk.pipelines.AddStageOpts.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AddStageOpts>
- Enclosing interface:
AddStageOpts
@Stability(Stable)
public static final class AddStageOpts.Builder
extends Object
implements software.amazon.jsii.Builder<AddStageOpts>
A builder for
AddStageOpts
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofAddStageOpts.getPost()
Sets the value ofAddStageOpts.getPre()
stackSteps
(List<? extends StackSteps> stackSteps) Sets the value ofAddStageOpts.getStackSteps()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
post
Sets the value ofAddStageOpts.getPost()
- Parameters:
post
- Additional steps to run after all of the stacks in the stage.- Returns:
this
-
pre
Sets the value ofAddStageOpts.getPre()
- Parameters:
pre
- Additional steps to run before any of the stacks in the stage.- Returns:
this
-
stackSteps
Sets the value ofAddStageOpts.getStackSteps()
- Parameters:
stackSteps
- Instructions for stack level steps.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<AddStageOpts>
- Returns:
- a new instance of
AddStageOpts
- Throws:
NullPointerException
- if any required attribute was not provided
-