Class InspectionData

java.lang.Object
software.amazon.awssdk.services.sfn.model.InspectionData
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<InspectionData.Builder,InspectionData>

@Generated("software.amazon.awssdk:codegen") public final class InspectionData extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InspectionData.Builder,InspectionData>

Contains additional details about the state's execution, including its input and output data processing flow, and HTTP request and response information.

See Also:
  • Method Details

    • input

      public final String input()

      The raw state input.

      Returns:
      The raw state input.
    • afterArguments

      public final String afterArguments()

      The input after Step Functions applies an Arguments filter. This event will only be present when QueryLanguage for the state machine or individual states is set to JSONata. For more info, see Transforming data with Step Functions.

      Returns:
      The input after Step Functions applies an Arguments filter. This event will only be present when QueryLanguage for the state machine or individual states is set to JSONata. For more info, see Transforming data with Step Functions.
    • afterInputPath

      public final String afterInputPath()

      The input after Step Functions applies the InputPath filter. Not populated when QueryLanguage is JSONata.

      Returns:
      The input after Step Functions applies the InputPath filter. Not populated when QueryLanguage is JSONata.
    • afterParameters

      public final String afterParameters()

      The effective input after Step Functions applies the Parameters filter. Not populated when QueryLanguage is JSONata.

      Returns:
      The effective input after Step Functions applies the Parameters filter. Not populated when QueryLanguage is JSONata.
    • result

      public final String result()

      The state's raw result.

      Returns:
      The state's raw result.
    • afterResultSelector

      public final String afterResultSelector()

      The effective result after Step Functions applies the ResultSelector filter. Not populated when QueryLanguage is JSONata.

      Returns:
      The effective result after Step Functions applies the ResultSelector filter. Not populated when QueryLanguage is JSONata.
    • afterResultPath

      public final String afterResultPath()

      The effective result combined with the raw state input after Step Functions applies the ResultPath filter. Not populated when QueryLanguage is JSONata.

      Returns:
      The effective result combined with the raw state input after Step Functions applies the ResultPath filter. Not populated when QueryLanguage is JSONata.
    • request

      public final InspectionDataRequest request()

      The raw HTTP request that is sent when you test an HTTP Task.

      Returns:
      The raw HTTP request that is sent when you test an HTTP Task.
    • response

      public final InspectionDataResponse response()

      The raw HTTP response that is returned when you test an HTTP Task.

      Returns:
      The raw HTTP response that is returned when you test an HTTP Task.
    • variables

      public final String variables()

      JSON string that contains the set of workflow variables after execution of the state. The set will include variables assigned in the state and variables set up as test state input.

      Returns:
      JSON string that contains the set of workflow variables after execution of the state. The set will include variables assigned in the state and variables set up as test state input.
    • toBuilder

      public InspectionData.Builder toBuilder()
      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<InspectionData.Builder,InspectionData>
      Returns:
      a builder for type T
    • builder

      public static InspectionData.Builder builder()
    • serializableBuilderClass

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

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

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

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • 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)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo
      Returns:
      The mapping between the field name and its corresponding field.