Class StagePlacement.Builder
java.lang.Object
software.amazon.awscdk.services.codepipeline.StagePlacement.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<StagePlacement>
- Enclosing interface:
StagePlacement
@Stability(Stable)
public static final class StagePlacement.Builder
extends Object
implements software.amazon.jsii.Builder<StagePlacement>
A builder for
StagePlacement-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofStagePlacement.getJustAfter()rightBefore(IStage rightBefore) Sets the value ofStagePlacement.getRightBefore()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
justAfter
Sets the value ofStagePlacement.getJustAfter()- Parameters:
justAfter- Inserts the new Stage as a child of the given Stage (changing its current child Stage, if it had one).- Returns:
this
-
rightBefore
Sets the value ofStagePlacement.getRightBefore()- Parameters:
rightBefore- Inserts the new Stage as a parent of the given Stage (changing its current parent Stage, if it had one).- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<StagePlacement>- Returns:
- a new instance of
StagePlacement - Throws:
NullPointerException- if any required attribute was not provided
-