Interface ChoiceTransitionOptions

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
ChoiceTransitionOptions.Jsii$Proxy

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-27T16:51:05.910Z") @Stability(Stable) public interface ChoiceTransitionOptions extends software.amazon.jsii.JsiiSerializable
Options for Choice Transition.

Example:

 Choice choice = Choice.Builder.create(this, "What color is it?")
         .comment("color comment")
         .build();
 Pass handleBlueItem = new Pass(this, "HandleBlueItem");
 Pass handleOtherItemColor = new Pass(this, "HanldeOtherItemColor");
 choice.when(Condition.stringEquals("$.color", "BLUE"), handleBlueItem, ChoiceTransitionOptions.builder()
         .comment("blue item comment")
         .build());
 choice.otherwise(handleOtherItemColor);