public static final class StageDeploymentProps.Builder
extends java.lang.Object
StageDeploymentProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
StageDeploymentProps |
build()
Builds the configured instance.
|
StageDeploymentProps.Builder |
post(java.util.List<? extends Step> post)
Sets the value of
StageDeploymentProps.getPost() |
StageDeploymentProps.Builder |
pre(java.util.List<? extends Step> pre)
Sets the value of
StageDeploymentProps.getPre() |
StageDeploymentProps.Builder |
stackSteps(java.util.List<? extends StackSteps> stackSteps)
Sets the value of
StageDeploymentProps.getStackSteps() |
StageDeploymentProps.Builder |
stageName(java.lang.String stageName)
Sets the value of
StageDeploymentProps.getStageName() |
public StageDeploymentProps.Builder post(java.util.List<? extends Step> post)
StageDeploymentProps.getPost()
post
- Additional steps to run after all of the stacks in the stage.this
public StageDeploymentProps.Builder pre(java.util.List<? extends Step> pre)
StageDeploymentProps.getPre()
pre
- Additional steps to run before any of the stacks in the stage.this
public StageDeploymentProps.Builder stackSteps(java.util.List<? extends StackSteps> stackSteps)
StageDeploymentProps.getStackSteps()
stackSteps
- Instructions for additional steps that are run at the stack level.this
public StageDeploymentProps.Builder stageName(java.lang.String stageName)
StageDeploymentProps.getStageName()
stageName
- Stage name to use in the pipeline.this
public StageDeploymentProps build()
StageDeploymentProps
java.lang.NullPointerException
- if any required attribute was not provided