Interface TestStateResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<TestStateResponse.Builder,
,TestStateResponse> SdkBuilder<TestStateResponse.Builder,
,TestStateResponse> SdkPojo
,SdkResponse.Builder
,SfnResponse.Builder
- Enclosing class:
TestStateResponse
-
Method Summary
Modifier and TypeMethodDescriptionA detailed explanation of the cause for the error when the execution of a state fails.The error returned when the execution of a state fails.default TestStateResponse.Builder
inspectionData
(Consumer<InspectionData.Builder> inspectionData) Returns additional details about the state's execution, including its input and output data processing flow, and HTTP request and response information.inspectionData
(InspectionData inspectionData) Returns additional details about the state's execution, including its input and output data processing flow, and HTTP request and response information.The name of the next state to transition to.The JSON output data of the state.The execution status of the state.status
(TestExecutionStatus status) The execution status of the state.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
-
output
The JSON output data of the state. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.
- Parameters:
output
- The JSON output data of the state. 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.
-
error
The error returned when the execution of a state fails.
- Parameters:
error
- The error returned when the execution of a state fails.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cause
A detailed explanation of the cause for the error when the execution of a state fails.
- Parameters:
causeValue
- A detailed explanation of the cause for the error when the execution of a state fails.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inspectionData
Returns additional details about the state's execution, including its input and output data processing flow, and HTTP request and response information. The
inspectionLevel
request parameter specifies which details are returned.- Parameters:
inspectionData
- Returns additional details about the state's execution, including its input and output data processing flow, and HTTP request and response information. TheinspectionLevel
request parameter specifies which details are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inspectionData
Returns additional details about the state's execution, including its input and output data processing flow, and HTTP request and response information. The
This is a convenience method that creates an instance of theinspectionLevel
request parameter specifies which details are returned.InspectionData.Builder
avoiding the need to create one manually viaInspectionData.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinspectionData(InspectionData)
.- Parameters:
inspectionData
- a consumer that will call methods onInspectionData.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextState
The name of the next state to transition to. If you haven't defined a next state in your definition or if the execution of the state fails, this field doesn't contain a value.
- Parameters:
nextState
- The name of the next state to transition to. If you haven't defined a next state in your definition or if the execution of the state fails, this field doesn't contain a value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The execution status of the state.
- Parameters:
status
- The execution status of the state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The execution status of the state.
- Parameters:
status
- The execution status of the state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-