Class AfterwardsOptions.Builder

java.lang.Object
software.amazon.awscdk.services.stepfunctions.AfterwardsOptions.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<AfterwardsOptions>
Enclosing interface:
AfterwardsOptions

@Stability(Stable) public static final class AfterwardsOptions.Builder extends Object implements software.amazon.jsii.Builder<AfterwardsOptions>
A builder for AfterwardsOptions
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • includeErrorHandlers

      @Stability(Stable) public AfterwardsOptions.Builder includeErrorHandlers(Boolean includeErrorHandlers)
      Parameters:
      includeErrorHandlers - 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.
      Returns:
      this
    • includeOtherwise

      @Stability(Stable) public AfterwardsOptions.Builder includeOtherwise(Boolean includeOtherwise)
      Parameters:
      includeOtherwise - 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.
      Returns:
      this
    • build

      @Stability(Stable) public AfterwardsOptions build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<AfterwardsOptions>
      Returns:
      a new instance of AfterwardsOptions
      Throws:
      NullPointerException - if any required attribute was not provided