public static final class StageProps.Builder extends Object
StageProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
StageProps |
build()
Builds the configured instance.
|
StageProps.Builder |
withPipeline(Pipeline value)
Sets the value of Pipeline
|
StageProps.Builder |
withPlacement(StagePlacement value)
Sets the value of Placement
|
public StageProps.Builder withPipeline(Pipeline value)
value - The Pipeline to add the newly created Stage to.thispublic StageProps.Builder withPlacement(@Nullable StagePlacement value)
value - Allows specifying where should the newly created Stage
be placed in the Pipeline.thispublic StageProps build()
StagePropsNullPointerException - if any required attribute was not providedCopyright © 2018. All rights reserved.