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 |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CreateStateMachineRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.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
requestOverrideConfig
copy
apply, 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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.CreateStateMachineRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.