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