Interface StartSyncExecutionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<StartSyncExecutionResponse.Builder,
,StartSyncExecutionResponse> SdkBuilder<StartSyncExecutionResponse.Builder,
,StartSyncExecutionResponse> SdkPojo
,SdkResponse.Builder
,SfnResponse.Builder
- Enclosing class:
StartSyncExecutionResponse
-
Method Summary
Modifier and TypeMethodDescriptionbillingDetails
(Consumer<BillingDetails.Builder> billingDetails) An object that describes workflow billing details, including billed duration and memory use.billingDetails
(BillingDetails billingDetails) An object that describes workflow billing details, including billed duration and memory use.A more detailed explanation of the cause of the failure.The error code of the failure.executionArn
(String executionArn) The Amazon Resource Name (ARN) that identifies the execution.The string that contains the JSON input data of the execution.inputDetails
(Consumer<CloudWatchEventsExecutionDataDetails.Builder> inputDetails) Sets the value of the InputDetails property for this object.inputDetails
(CloudWatchEventsExecutionDataDetails inputDetails) Sets the value of the InputDetails property for this object.The name of the execution.The JSON output data of the execution.outputDetails
(Consumer<CloudWatchEventsExecutionDataDetails.Builder> outputDetails) Sets the value of the OutputDetails property for this object.outputDetails
(CloudWatchEventsExecutionDataDetails outputDetails) Sets the value of the OutputDetails property for this object.The date the execution is started.stateMachineArn
(String stateMachineArn) The Amazon Resource Name (ARN) that identifies the state machine.The current status of the execution.status
(SyncExecutionStatus status) The current status of the execution.If the execution has already ended, the date the execution stopped.traceHeader
(String traceHeader) The X-Ray trace header that was passed to the execution.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.sfn.model.SfnResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
executionArn
The Amazon Resource Name (ARN) that identifies the execution.
- Parameters:
executionArn
- The Amazon Resource Name (ARN) that identifies the execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateMachineArn
The Amazon Resource Name (ARN) that identifies the state machine.
- Parameters:
stateMachineArn
- The Amazon Resource Name (ARN) that identifies the state machine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
startDate
The date the execution is started.
- Parameters:
startDate
- The date the execution is started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stopDate
If the execution has already ended, the date the execution stopped.
- Parameters:
stopDate
- If the execution has already ended, the date the execution stopped.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the execution.
- Parameters:
status
- The current status of the execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the execution.
- Parameters:
status
- The current status of the execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
error
The error code of the failure.
- Parameters:
error
- The error code of the failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cause
A more detailed explanation of the cause of the failure.
- Parameters:
causeValue
- A more detailed explanation of the cause of the failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
input
The string that contains the JSON input data of the execution. 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 of the execution. 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.
-
inputDetails
Sets the value of the InputDetails property for this object.- Parameters:
inputDetails
- The new value for the InputDetails property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputDetails
default StartSyncExecutionResponse.Builder inputDetails(Consumer<CloudWatchEventsExecutionDataDetails.Builder> inputDetails) Sets the value of the InputDetails property for this object. This is a convenience method that creates an instance of theCloudWatchEventsExecutionDataDetails.Builder
avoiding the need to create one manually viaCloudWatchEventsExecutionDataDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinputDetails(CloudWatchEventsExecutionDataDetails)
.- Parameters:
inputDetails
- a consumer that will call methods onCloudWatchEventsExecutionDataDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
output
The JSON output data of the execution. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.
This field is set only if the execution succeeds. If the execution fails, this field is null.
- Parameters:
output
- The JSON output data of the execution. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.This field is set only if the execution succeeds. If the execution fails, this field is null.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputDetails
StartSyncExecutionResponse.Builder outputDetails(CloudWatchEventsExecutionDataDetails outputDetails) Sets the value of the OutputDetails property for this object.- Parameters:
outputDetails
- The new value for the OutputDetails property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputDetails
default StartSyncExecutionResponse.Builder outputDetails(Consumer<CloudWatchEventsExecutionDataDetails.Builder> outputDetails) Sets the value of the OutputDetails property for this object. This is a convenience method that creates an instance of theCloudWatchEventsExecutionDataDetails.Builder
avoiding the need to create one manually viaCloudWatchEventsExecutionDataDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooutputDetails(CloudWatchEventsExecutionDataDetails)
.- Parameters:
outputDetails
- a consumer that will call methods onCloudWatchEventsExecutionDataDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
traceHeader
The X-Ray trace header that was passed to the execution.
- Parameters:
traceHeader
- The X-Ray trace header that was passed to the execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billingDetails
An object that describes workflow billing details, including billed duration and memory use.
- Parameters:
billingDetails
- An object that describes workflow billing details, including billed duration and memory use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billingDetails
default StartSyncExecutionResponse.Builder billingDetails(Consumer<BillingDetails.Builder> billingDetails) An object that describes workflow billing details, including billed duration and memory use.
This is a convenience method that creates an instance of theBillingDetails.Builder
avoiding the need to create one manually viaBillingDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobillingDetails(BillingDetails)
.- Parameters:
billingDetails
- a consumer that will call methods onBillingDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-