public static final class StackSteps.Builder
extends java.lang.Object
StackSteps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
StackSteps |
build()
Builds the configured instance.
|
StackSteps.Builder |
changeSet(java.util.List<? extends Step> changeSet)
Sets the value of
StackSteps.getChangeSet() |
StackSteps.Builder |
post(java.util.List<? extends Step> post)
Sets the value of
StackSteps.getPost() |
StackSteps.Builder |
pre(java.util.List<? extends Step> pre)
Sets the value of
StackSteps.getPre() |
StackSteps.Builder |
stack(Stack stack)
Sets the value of
StackSteps.getStack() |
public StackSteps.Builder stack(Stack stack)
StackSteps.getStack()
stack
- The stack you want the steps to run in. This parameter is required.this
public StackSteps.Builder changeSet(java.util.List<? extends Step> changeSet)
StackSteps.getChangeSet()
changeSet
- Steps that execute after stack is prepared but before stack is deployed.this
public StackSteps.Builder post(java.util.List<? extends Step> post)
StackSteps.getPost()
post
- Steps that execute after stack is deployed.this
public StackSteps.Builder pre(java.util.List<? extends Step> pre)
StackSteps.getPre()
pre
- Steps that execute before stack is prepared.this
public StackSteps build()
StackSteps
java.lang.NullPointerException
- if any required attribute was not provided