Interface AfterwardsOptions

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

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-12-06T14:43:27.684Z") @Stability(Stable) public interface AfterwardsOptions extends software.amazon.jsii.JsiiSerializable
Options for selecting the choice paths.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.stepfunctions.*;
 AfterwardsOptions afterwardsOptions = AfterwardsOptions.builder()
         .includeErrorHandlers(false)
         .includeOtherwise(false)
         .build();
 
  • Method Details

    • getIncludeErrorHandlers

      @Stability(Stable) @Nullable default Boolean getIncludeErrorHandlers()
      Whether to include error handling states.

      If this is true, all states which are error handlers (added through 'onError') and states reachable via error handlers will be included as well.

      Default: false

    • getIncludeOtherwise

      @Stability(Stable) @Nullable default Boolean getIncludeOtherwise()
      Whether to include the default/otherwise transition for the current Choice state.

      If this is true and the current Choice does not have a default outgoing transition, one will be added included when .next() is called on the chain.

      Default: false

    • builder

      @Stability(Stable) static AfterwardsOptions.Builder builder()
      Returns:
      a AfterwardsOptions.Builder of AfterwardsOptions