@Generated(value="jsii-pacmak/1.72.0 (build 4b8828b)", date="2023-01-03T16:22:32.225Z") @Stability(value=Stable) public interface StagePlacement extends software.amazon.jsii.JsiiSerializable
Note that you can provide only one of the below properties - specifying more than one will result in a validation error.
Example:
// Insert a new Stage at an arbitrary point
Pipeline pipeline;
IStage anotherStage;
IStage yetAnotherStage;
IStage someStage = pipeline.addStage(StageOptions.builder()
.stageName("SomeStage")
.placement(StagePlacement.builder()
// note: you can only specify one of the below properties
.rightBefore(anotherStage)
.justAfter(yetAnotherStage)
.build())
.build());
| Modifier and Type | Interface and Description |
|---|---|
static class |
StagePlacement.Builder
A builder for
StagePlacement |
static class |
StagePlacement.Jsii$Proxy
An implementation for
StagePlacement |
| Modifier and Type | Method and Description |
|---|---|
static StagePlacement.Builder |
builder() |
default IStage |
getJustAfter()
Inserts the new Stage as a child of the given Stage (changing its current child Stage, if it had one).
|
default IStage |
getRightBefore()
Inserts the new Stage as a parent of the given Stage (changing its current parent Stage, if it had one).
|
@Stability(value=Stable) @Nullable default IStage getJustAfter()
@Stability(value=Stable) @Nullable default IStage getRightBefore()
@Stability(value=Stable) static StagePlacement.Builder builder()
StagePlacement.Builder of StagePlacementCopyright © 2023. All rights reserved.