@Stability(value=Experimental) public static final class AfterwardsOptions.Builder extends Object implements software.amazon.jsii.Builder<AfterwardsOptions>
AfterwardsOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
AfterwardsOptions |
build()
Builds the configured instance.
|
AfterwardsOptions.Builder |
includeErrorHandlers(Boolean includeErrorHandlers)
Sets the value of
AfterwardsOptions.getIncludeErrorHandlers() |
AfterwardsOptions.Builder |
includeOtherwise(Boolean includeOtherwise)
Sets the value of
AfterwardsOptions.getIncludeOtherwise() |
@Stability(value=Experimental) public AfterwardsOptions.Builder includeErrorHandlers(Boolean includeErrorHandlers)
AfterwardsOptions.getIncludeErrorHandlers()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.this@Stability(value=Experimental) public AfterwardsOptions.Builder includeOtherwise(Boolean includeOtherwise)
AfterwardsOptions.getIncludeOtherwise()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.this@Stability(value=Experimental) public AfterwardsOptions build()
build in interface software.amazon.jsii.Builder<AfterwardsOptions>AfterwardsOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.