@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)",
date="2023-03-14T16:25:27.483Z")
public interface StagePlacement
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).
|
default IStage getJustAfter()
default IStage getRightBefore()
static StagePlacement.Builder builder()
StagePlacement.Builder
of StagePlacement