public static final class StateMachineProps.Builder
extends java.lang.Object
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(java.lang.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(java.lang.Boolean tracingEnabled)
Sets the value of
StateMachineProps.getTracingEnabled() |
public StateMachineProps.Builder definition(IChainable definition)
StateMachineProps.getDefinition()
definition
- Definition for this state machine. This parameter is required.this
public StateMachineProps.Builder logs(LogOptions logs)
StateMachineProps.getLogs()
logs
- Defines what execution history events are logged and where they are logged.this
public StateMachineProps.Builder role(IRole role)
StateMachineProps.getRole()
role
- The execution role for the state machine service.this
public StateMachineProps.Builder stateMachineName(java.lang.String stateMachineName)
StateMachineProps.getStateMachineName()
stateMachineName
- A name for the state machine.this
public StateMachineProps.Builder stateMachineType(StateMachineType stateMachineType)
StateMachineProps.getStateMachineType()
stateMachineType
- Type of the state machine.this
public StateMachineProps.Builder timeout(Duration timeout)
StateMachineProps.getTimeout()
timeout
- Maximum run time for this state machine.this
public StateMachineProps.Builder tracingEnabled(java.lang.Boolean tracingEnabled)
StateMachineProps.getTracingEnabled()
tracingEnabled
- Specifies whether Amazon X-Ray tracing is enabled for this state machine.this
public StateMachineProps build()
StateMachineProps
java.lang.NullPointerException
- if any required attribute was not provided