Interface StartSyncExecutionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartSyncExecutionRequest.Builder,StartSyncExecutionRequest>,SdkBuilder<StartSyncExecutionRequest.Builder,StartSyncExecutionRequest>,SdkPojo,SdkRequest.Builder,SfnRequest.Builder
- Enclosing class:
- StartSyncExecutionRequest
@Mutable @NotThreadSafe public static interface StartSyncExecutionRequest.Builder extends SfnRequest.Builder, SdkPojo, CopyableBuilder<StartSyncExecutionRequest.Builder,StartSyncExecutionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StartSyncExecutionRequest.BuilderincludedData(String includedData)If your state machine definition is encrypted with a KMS key, callers must havekms:Decryptpermission to decrypt the definition.StartSyncExecutionRequest.BuilderincludedData(IncludedData includedData)If your state machine definition is encrypted with a KMS key, callers must havekms:Decryptpermission to decrypt the definition.StartSyncExecutionRequest.Builderinput(String input)The string that contains the JSON input data for the execution, for example:StartSyncExecutionRequest.Buildername(String name)The name of the execution.StartSyncExecutionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)StartSyncExecutionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)StartSyncExecutionRequest.BuilderstateMachineArn(String stateMachineArn)The Amazon Resource Name (ARN) of the state machine to execute.StartSyncExecutionRequest.BuildertraceHeader(String traceHeader)Passes the X-Ray trace header.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.sfn.model.SfnRequest.Builder
build
-
-
-
-
Method Detail
-
stateMachineArn
StartSyncExecutionRequest.Builder stateMachineArn(String stateMachineArn)
The Amazon Resource Name (ARN) of the state machine to execute.
- Parameters:
stateMachineArn- The Amazon Resource Name (ARN) of the state machine to execute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
StartSyncExecutionRequest.Builder name(String name)
The name of the execution.
- Parameters:
name- The name of the execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
input
StartSyncExecutionRequest.Builder input(String input)
The string that contains the JSON input data for the execution, for example:
"{\"first_name\" : \"Alejandro\"}"If you don't include any JSON input data, you still must include the two braces, for example:
"{}"Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.
- Parameters:
input- The string that contains the JSON input data for the execution, for example:"{\"first_name\" : \"Alejandro\"}"If you don't include any JSON input data, you still must include the two braces, for example:
"{}"Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
traceHeader
StartSyncExecutionRequest.Builder traceHeader(String traceHeader)
Passes the X-Ray trace header. The trace header can also be passed in the request payload.
For X-Ray traces, all Amazon Web Services services use the
X-Amzn-Trace-Idheader from the HTTP request. Using the header is the preferred mechanism to identify a trace.StartExecutionandStartSyncExecutionAPI operations can also usetraceHeaderfrom the body of the request payload. If both sources are provided, Step Functions will use the header value (preferred) over the value in the request body.- Parameters:
traceHeader- Passes the X-Ray trace header. The trace header can also be passed in the request payload.For X-Ray traces, all Amazon Web Services services use the
X-Amzn-Trace-Idheader from the HTTP request. Using the header is the preferred mechanism to identify a trace.StartExecutionandStartSyncExecutionAPI operations can also usetraceHeaderfrom the body of the request payload. If both sources are provided, Step Functions will use the header value (preferred) over the value in the request body.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includedData
StartSyncExecutionRequest.Builder includedData(String includedData)
If your state machine definition is encrypted with a KMS key, callers must have
kms:Decryptpermission to decrypt the definition. Alternatively, you can call the API withincludedData = METADATA_ONLYto get a successful response without the encrypted definition.- Parameters:
includedData- If your state machine definition is encrypted with a KMS key, callers must havekms:Decryptpermission to decrypt the definition. Alternatively, you can call the API withincludedData = METADATA_ONLYto get a successful response without the encrypted definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IncludedData,IncludedData
-
includedData
StartSyncExecutionRequest.Builder includedData(IncludedData includedData)
If your state machine definition is encrypted with a KMS key, callers must have
kms:Decryptpermission to decrypt the definition. Alternatively, you can call the API withincludedData = METADATA_ONLYto get a successful response without the encrypted definition.- Parameters:
includedData- If your state machine definition is encrypted with a KMS key, callers must havekms:Decryptpermission to decrypt the definition. Alternatively, you can call the API withincludedData = METADATA_ONLYto get a successful response without the encrypted definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IncludedData,IncludedData
-
overrideConfiguration
StartSyncExecutionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
StartSyncExecutionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-