public static interface StartExecutionRequest.Builder extends SfnRequest.Builder, CopyableBuilder<StartExecutionRequest.Builder,StartExecutionRequest>
Modifier and Type | Method and Description |
---|---|
StartExecutionRequest.Builder |
input(String input)
The string that contains the JSON input data for the execution, for example:
|
StartExecutionRequest.Builder |
name(String name)
The name of the execution.
|
StartExecutionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
StartExecutionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
StartExecutionRequest.Builder |
stateMachineArn(String stateMachineArn)
The Amazon Resource Name (ARN) of the state machine to execute.
|
build
overrideConfiguration
copy
applyMutation, build
StartExecutionRequest.Builder stateMachineArn(String stateMachineArn)
The Amazon Resource Name (ARN) of the state machine to execute.
stateMachineArn
- The Amazon Resource Name (ARN) of the state machine to execute.StartExecutionRequest.Builder name(String name)
The name of the execution. 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.
An execution can't use the name of another execution for 90 days.
When you make multiple StartExecution
calls with the same name, the new execution doesn't run
and the following rules apply:
When the original execution is open and the execution input from the new call is different, the
ExecutionAlreadyExists
message is returned.
When the original execution is open and the execution input from the new call is identical, the
Success
message is returned.
When the original execution is closed, the ExecutionAlreadyExists
message is returned regardless
of input.
A name must not contain:
whitespace
brackets < > { } [ ]
wildcard characters ? *
special characters " # % \ ^ | ~ ` $ & , ; : /
control characters (U+0000-001F
, U+007F-009F
)
name
- The name of the execution. 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.
An execution can't use the name of another execution for 90 days.
When you make multiple StartExecution
calls with the same name, the new execution doesn't
run and the following rules apply:
When the original execution is open and the execution input from the new call is different, the
ExecutionAlreadyExists
message is returned.
When the original execution is open and the execution input from the new call is identical, the
Success
message is returned.
When the original execution is closed, the ExecutionAlreadyExists
message is returned
regardless of input.
A name must not contain:
whitespace
brackets < > { } [ ]
wildcard characters ? *
special characters " # % \ ^ | ~ ` $ & , ; : /
control characters (U+0000-001F
, U+007F-009F
)
StartExecutionRequest.Builder input(String input)
The string that contains the JSON input data for the execution, for example:
"input": "{\"first_name\" : \"test\"}"
If you don't include any JSON input data, you still must include the two braces, for example:
"input": "{}"
input
- The string that contains the JSON input data for the execution, for example:
"input": "{\"first_name\" : \"test\"}"
If you don't include any JSON input data, you still must include the two braces, for example:
"input": "{}"
StartExecutionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.StartExecutionRequest.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.