Class 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>
  • Method Details

    • 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 inspectionLevel request 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 inspectionLevel request 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, status will return TestExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

      Returns:
      The execution status of the state.
      See Also:
    • 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, status will return TestExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

      Returns:
      The execution status of the state.
      See Also:
    • toBuilder

      public TestStateResponse.Builder toBuilder()
      Specified by:
      toBuilder in interface ToCopyableBuilder<TestStateResponse.Builder,TestStateResponse>
      Specified by:
      toBuilder in class AwsResponse
    • builder

      public static TestStateResponse.Builder builder()
    • serializableBuilderClass

      public static Class<? extends TestStateResponse.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class AwsResponse
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class AwsResponse
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
      Overrides:
      getValueForField in class SdkResponse
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo