@Stability(value=Experimental) public static final class StateMachineProps.Builder extends Object implements software.amazon.jsii.Builder<StateMachineProps>
StateMachineProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
StateMachineProps |
build()
Builds the configured instance.
|
StateMachineProps.Builder |
definition(IChainable definition)
Sets the value of
StateMachineProps.getDefinition() |
StateMachineProps.Builder |
logs(LogOptions logs)
Sets the value of
StateMachineProps.getLogs() |
StateMachineProps.Builder |
role(IRole role)
Sets the value of
StateMachineProps.getRole() |
StateMachineProps.Builder |
stateMachineName(String stateMachineName)
Sets the value of
StateMachineProps.getStateMachineName() |
StateMachineProps.Builder |
stateMachineType(StateMachineType stateMachineType)
Sets the value of
StateMachineProps.getStateMachineType() |
StateMachineProps.Builder |
timeout(Duration timeout)
Sets the value of
StateMachineProps.getTimeout() |
StateMachineProps.Builder |
tracingEnabled(Boolean tracingEnabled)
Sets the value of
StateMachineProps.getTracingEnabled() |
@Stability(value=Experimental) public StateMachineProps.Builder definition(IChainable definition)
StateMachineProps.getDefinition()definition - Definition for this state machine. This parameter is required.this@Stability(value=Experimental) public StateMachineProps.Builder logs(LogOptions logs)
StateMachineProps.getLogs()logs - Defines what execution history events are logged and where they are logged.this@Stability(value=Experimental) public StateMachineProps.Builder role(IRole role)
StateMachineProps.getRole()role - The execution role for the state machine service.this@Stability(value=Experimental) public StateMachineProps.Builder stateMachineName(String stateMachineName)
StateMachineProps.getStateMachineName()stateMachineName - A name for the state machine.this@Stability(value=Experimental) public StateMachineProps.Builder stateMachineType(StateMachineType stateMachineType)
StateMachineProps.getStateMachineType()stateMachineType - Type of the state machine.this@Stability(value=Experimental) public StateMachineProps.Builder timeout(Duration timeout)
StateMachineProps.getTimeout()timeout - Maximum run time for this state machine.this@Stability(value=Experimental) public StateMachineProps.Builder tracingEnabled(Boolean tracingEnabled)
StateMachineProps.getTracingEnabled()tracingEnabled - Specifies whether Amazon X-Ray tracing is enabled for this state machine.this@Stability(value=Experimental) public StateMachineProps build()
build in interface software.amazon.jsii.Builder<StateMachineProps>StateMachinePropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.