Class TestStateResponse

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