Class TestStateResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.sfn.model.SfnResponse
-
- software.amazon.awssdk.services.sfn.model.TestStateResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<TestStateResponse.Builder,TestStateResponse>
@Generated("software.amazon.awssdk:codegen") public final class TestStateResponse extends SfnResponse implements ToCopyableBuilder<TestStateResponse.Builder,TestStateResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTestStateResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TestStateResponse.Builderbuilder()Stringcause()A detailed explanation of the cause for the error when the execution of a state fails.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Stringerror()The error returned when the execution of a state fails.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InspectionDatainspectionData()Returns additional details about the state's execution, including its input and output data processing flow, and HTTP request and response information.StringnextState()The name of the next state to transition to.Stringoutput()The JSON output data of the state.List<SdkField<?>>sdkFields()static Class<? extends TestStateResponse.Builder>serializableBuilderClass()TestExecutionStatusstatus()The execution status of the state.StringstatusAsString()The execution status of the state.TestStateResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.sfn.model.SfnResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
output
public final 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.
- Returns:
- The JSON output data of the state. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.
-
error
public final String error()
The error returned when the execution of a state fails.
- Returns:
- The error returned when the execution of a state fails.
-
cause
public final String cause()
A detailed explanation of the cause for the error when the execution of a state fails.
- Returns:
- A detailed explanation of the cause for the error when the execution of a state fails.
-
inspectionData
public final 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.- Returns:
- 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.
-
nextState
public final 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.
- Returns:
- 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.
-
status
public final TestExecutionStatus status()
The execution status of the state.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnTestExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The execution status of the state.
- See Also:
TestExecutionStatus
-
statusAsString
public final String statusAsString()
The execution status of the state.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnTestExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The execution status of the state.
- See Also:
TestExecutionStatus
-
toBuilder
public TestStateResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TestStateResponse.Builder,TestStateResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static TestStateResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends TestStateResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-