Class InspectionData

    • Method Detail

      • 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.
      • hashCode

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

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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)