public static interface CreateStateMachineRequest.Builder extends SfnRequest.Builder, CopyableBuilder<CreateStateMachineRequest.Builder,CreateStateMachineRequest>
Modifier and Type | Method and Description |
---|---|
CreateStateMachineRequest.Builder |
definition(StateMachine definition) |
CreateStateMachineRequest.Builder |
definition(String definition)
The Amazon States Language definition of the state machine.
|
CreateStateMachineRequest.Builder |
name(String name)
The name of the state machine.
|
CreateStateMachineRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateStateMachineRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateStateMachineRequest.Builder |
roleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role to use for this state machine.
|
build
overrideConfiguration
copy
applyMutation, build
CreateStateMachineRequest.Builder name(String name)
The name of the state machine. This name must be unique for your AWS account and region for 90 days. For more information, see Limits Related to State Machine Executions in the AWS Step Functions Developer Guide.
A name must not contain:
whitespace
brackets < > { } [ ]
wildcard characters ? *
special characters " # % \ ^ | ~ ` $ & , ; : /
control characters (U+0000-001F
, U+007F-009F
)
name
- The name of the state machine. This name must be unique for your AWS account and region for 90 days.
For more information, see Limits Related to State Machine Executions in the AWS Step Functions Developer Guide.
A name must not contain:
whitespace
brackets < > { } [ ]
wildcard characters ? *
special characters " # % \ ^ | ~ ` $ & , ; : /
control characters (U+0000-001F
, U+007F-009F
)
CreateStateMachineRequest.Builder definition(String definition)
The Amazon States Language definition of the state machine.
definition
- The Amazon States Language definition of the state machine.CreateStateMachineRequest.Builder definition(StateMachine definition)
CreateStateMachineRequest.Builder roleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role to use for this state machine.
roleArn
- The Amazon Resource Name (ARN) of the IAM role to use for this state machine.CreateStateMachineRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateStateMachineRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.