@Stability(value=Experimental) public static final class StateMachine.Builder extends Object implements software.amazon.jsii.Builder<StateMachine>
StateMachine.| Modifier and Type | Method and Description |
|---|---|
StateMachine |
build() |
static StateMachine.Builder |
create(software.constructs.Construct scope,
String id) |
StateMachine.Builder |
definition(IChainable definition)
(experimental) Definition for this state machine.
|
StateMachine.Builder |
logs(LogOptions logs)
(experimental) Defines what execution history events are logged and where they are logged.
|
StateMachine.Builder |
role(IRole role)
(experimental) The execution role for the state machine service.
|
StateMachine.Builder |
stateMachineName(String stateMachineName)
(experimental) A name for the state machine.
|
StateMachine.Builder |
stateMachineType(StateMachineType stateMachineType)
(experimental) Type of the state machine.
|
StateMachine.Builder |
timeout(Duration timeout)
(experimental) Maximum run time for this state machine.
|
StateMachine.Builder |
tracingEnabled(Boolean tracingEnabled)
(experimental) Specifies whether Amazon X-Ray tracing is enabled for this state machine.
|
@Stability(value=Experimental) public static StateMachine.Builder create(software.constructs.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.StateMachine.Builder.@Stability(value=Experimental) public StateMachine.Builder definition(IChainable definition)
definition - Definition for this state machine. This parameter is required.this@Stability(value=Experimental) public StateMachine.Builder logs(LogOptions logs)
Default: No logging
logs - Defines what execution history events are logged and where they are logged. This parameter is required.this@Stability(value=Experimental) public StateMachine.Builder role(IRole role)
Default: A role is automatically created
role - The execution role for the state machine service. This parameter is required.this@Stability(value=Experimental) public StateMachine.Builder stateMachineName(String stateMachineName)
Default: A name is automatically generated
stateMachineName - A name for the state machine. This parameter is required.this@Stability(value=Experimental) public StateMachine.Builder stateMachineType(StateMachineType stateMachineType)
Default: StateMachineType.STANDARD
stateMachineType - Type of the state machine. This parameter is required.this@Stability(value=Experimental) public StateMachine.Builder timeout(Duration timeout)
Default: No timeout
timeout - Maximum run time for this state machine. This parameter is required.this@Stability(value=Experimental) public StateMachine.Builder tracingEnabled(Boolean tracingEnabled)
Default: false
tracingEnabled - Specifies whether Amazon X-Ray tracing is enabled for this state machine. This parameter is required.this@Stability(value=Experimental) public StateMachine build()
build in interface software.amazon.jsii.Builder<StateMachine>Copyright © 2021. All rights reserved.