Interface TestStateResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<TestStateResponse.Builder,TestStateResponse>,SdkBuilder<TestStateResponse.Builder,TestStateResponse>,SdkPojo,SdkResponse.Builder,SfnResponse.Builder
- Enclosing class:
- TestStateResponse
public static interface TestStateResponse.Builder extends SfnResponse.Builder, SdkPojo, CopyableBuilder<TestStateResponse.Builder,TestStateResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description TestStateResponse.Buildercause(String causeValue)A detailed explanation of the cause for the error when the execution of a state fails.TestStateResponse.Buildererror(String error)The error returned when the execution of a state fails.default TestStateResponse.BuilderinspectionData(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.TestStateResponse.BuilderinspectionData(InspectionData inspectionData)Returns additional details about the state's execution, including its input and output data processing flow, and HTTP request and response information.TestStateResponse.BuildernextState(String nextState)The name of the next state to transition to.TestStateResponse.Builderoutput(String output)The JSON output data of the state.TestStateResponse.Builderstatus(String status)The execution status of the state.TestStateResponse.Builderstatus(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, sdkFieldNameToField, 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 Detail
-
output
TestStateResponse.Builder output(String 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
TestStateResponse.Builder error(String 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
TestStateResponse.Builder cause(String causeValue)
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
TestStateResponse.Builder 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
inspectionLevelrequest 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. TheinspectionLevelrequest parameter specifies which details are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inspectionData
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. The
This is a convenience method that creates an instance of theinspectionLevelrequest parameter specifies which details are returned.InspectionData.Builderavoiding the need to create one manually viaInspectionData.builder().When the
Consumercompletes,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:
inspectionData(InspectionData)
-
nextState
TestStateResponse.Builder nextState(String 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
TestStateResponse.Builder status(String 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:
TestExecutionStatus,TestExecutionStatus
-
status
TestStateResponse.Builder status(TestExecutionStatus 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:
TestExecutionStatus,TestExecutionStatus
-
-