Interface StagePlacement
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
StagePlacement.Jsii$Proxy
@Generated(value="jsii-pacmak/1.110.0 (build 336b265)",
date="2025-04-22T23:08:09.291Z")
@Stability(Stable)
public interface StagePlacement
extends software.amazon.jsii.JsiiSerializable
Allows you to control where to place a new Stage when it's added to the Pipeline.
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());
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forStagePlacementstatic final classAn implementation forStagePlacement -
Method Summary
Modifier and TypeMethodDescriptionstatic StagePlacement.Builderbuilder()default IStageInserts the new Stage as a child of the given Stage (changing its current child Stage, if it had one).default IStageInserts the new Stage as a parent of the given Stage (changing its current parent Stage, if it had one).Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getJustAfter
Inserts the new Stage as a child of the given Stage (changing its current child Stage, if it had one). -
getRightBefore
Inserts the new Stage as a parent of the given Stage (changing its current parent Stage, if it had one). -
builder
- Returns:
- a
StagePlacement.BuilderofStagePlacement
-