JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.stepfunctions.model

Class TestStateResult

    • Constructor Detail

      • TestStateResult

        public TestStateResult()
    • Method Detail

      • setOutput

        public void setOutput(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.

        Parameters:
        output - The JSON output data of the state. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.
      • getOutput

        public String getOutput()

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

        public TestStateResult withOutput(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.

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
      • setError

        public void setError(String error)

        The error returned when the execution of a state fails.

        Parameters:
        error - The error returned when the execution of a state fails.
      • getError

        public String getError()

        The error returned when the execution of a state fails.

        Returns:
        The error returned when the execution of a state fails.
      • withError

        public TestStateResult withError(String error)

        The error returned when the execution of a state fails.

        Parameters:
        error - The error returned when the execution of a state fails.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setCause

        public void setCause(String cause)

        A detailed explanation of the cause for the error when the execution of a state fails.

        Parameters:
        cause - A detailed explanation of the cause for the error when the execution of a state fails.
      • getCause

        public String getCause()

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

        public TestStateResult withCause(String cause)

        A detailed explanation of the cause for the error when the execution of a state fails.

        Parameters:
        cause - A detailed explanation of the cause for the error when the execution of a state fails.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setInspectionData

        public void setInspectionData(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.

        Parameters:
        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.
      • getInspectionData

        public InspectionData getInspectionData()

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

        public TestStateResult withInspectionData(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.

        Parameters:
        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 a reference to this object so that method calls can be chained together.
      • setNextState

        public void setNextState(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.

        Parameters:
        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.
      • getNextState

        public String getNextState()

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

        public TestStateResult withNextState(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.

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
      • setStatus

        public void setStatus(String status)

        The execution status of the state.

        Parameters:
        status - The execution status of the state.
        See Also:
        TestExecutionStatus
      • getStatus

        public String getStatus()

        The execution status of the state.

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

        public TestStateResult withStatus(String status)

        The execution status of the state.

        Parameters:
        status - The execution status of the state.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TestExecutionStatus
      • withStatus

        public TestStateResult withStatus(TestExecutionStatus status)

        The execution status of the state.

        Parameters:
        status - The execution status of the state.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TestExecutionStatus
      • toString

        public 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
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /