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 TestStateRequest

    • Constructor Detail

      • TestStateRequest

        public TestStateRequest()
    • Method Detail

      • setRoleArn

        public void setRoleArn(String roleArn)

        The Amazon Resource Name (ARN) of the execution role with the required IAM permissions for the state.

        Parameters:
        roleArn - The Amazon Resource Name (ARN) of the execution role with the required IAM permissions for the state.
      • getRoleArn

        public String getRoleArn()

        The Amazon Resource Name (ARN) of the execution role with the required IAM permissions for the state.

        Returns:
        The Amazon Resource Name (ARN) of the execution role with the required IAM permissions for the state.
      • withRoleArn

        public TestStateRequest withRoleArn(String roleArn)

        The Amazon Resource Name (ARN) of the execution role with the required IAM permissions for the state.

        Parameters:
        roleArn - The Amazon Resource Name (ARN) of the execution role with the required IAM permissions for the state.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setInput

        public void setInput(String input)

        A string that contains the JSON input data for the state.

        Parameters:
        input - A string that contains the JSON input data for the state.
      • getInput

        public String getInput()

        A string that contains the JSON input data for the state.

        Returns:
        A string that contains the JSON input data for the state.
      • withInput

        public TestStateRequest withInput(String input)

        A string that contains the JSON input data for the state.

        Parameters:
        input - A string that contains the JSON input data for the state.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setInspectionLevel

        public void setInspectionLevel(String inspectionLevel)

        Determines the values to return when a state is tested. You can specify one of the following types:

        • INFO: Shows the final state output. By default, Step Functions sets inspectionLevel to INFO if you don't specify a level.

        • DEBUG: Shows the final state output along with the input and output data processing result.

        • TRACE: Shows the HTTP request and response for an HTTP Task. This level also shows the final state output along with the input and output data processing result.

        Each of these levels also provide information about the status of the state execution and the next state to transition to.

        Parameters:
        inspectionLevel - Determines the values to return when a state is tested. You can specify one of the following types:

        • INFO: Shows the final state output. By default, Step Functions sets inspectionLevel to INFO if you don't specify a level.

        • DEBUG: Shows the final state output along with the input and output data processing result.

        • TRACE: Shows the HTTP request and response for an HTTP Task. This level also shows the final state output along with the input and output data processing result.

        Each of these levels also provide information about the status of the state execution and the next state to transition to.

        See Also:
        InspectionLevel
      • getInspectionLevel

        public String getInspectionLevel()

        Determines the values to return when a state is tested. You can specify one of the following types:

        • INFO: Shows the final state output. By default, Step Functions sets inspectionLevel to INFO if you don't specify a level.

        • DEBUG: Shows the final state output along with the input and output data processing result.

        • TRACE: Shows the HTTP request and response for an HTTP Task. This level also shows the final state output along with the input and output data processing result.

        Each of these levels also provide information about the status of the state execution and the next state to transition to.

        Returns:
        Determines the values to return when a state is tested. You can specify one of the following types:

        • INFO: Shows the final state output. By default, Step Functions sets inspectionLevel to INFO if you don't specify a level.

        • DEBUG: Shows the final state output along with the input and output data processing result.

        • TRACE: Shows the HTTP request and response for an HTTP Task. This level also shows the final state output along with the input and output data processing result.

        Each of these levels also provide information about the status of the state execution and the next state to transition to.

        See Also:
        InspectionLevel
      • withInspectionLevel

        public TestStateRequest withInspectionLevel(String inspectionLevel)

        Determines the values to return when a state is tested. You can specify one of the following types:

        • INFO: Shows the final state output. By default, Step Functions sets inspectionLevel to INFO if you don't specify a level.

        • DEBUG: Shows the final state output along with the input and output data processing result.

        • TRACE: Shows the HTTP request and response for an HTTP Task. This level also shows the final state output along with the input and output data processing result.

        Each of these levels also provide information about the status of the state execution and the next state to transition to.

        Parameters:
        inspectionLevel - Determines the values to return when a state is tested. You can specify one of the following types:

        • INFO: Shows the final state output. By default, Step Functions sets inspectionLevel to INFO if you don't specify a level.

        • DEBUG: Shows the final state output along with the input and output data processing result.

        • TRACE: Shows the HTTP request and response for an HTTP Task. This level also shows the final state output along with the input and output data processing result.

        Each of these levels also provide information about the status of the state execution and the next state to transition to.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        InspectionLevel
      • withInspectionLevel

        public TestStateRequest withInspectionLevel(InspectionLevel inspectionLevel)

        Determines the values to return when a state is tested. You can specify one of the following types:

        • INFO: Shows the final state output. By default, Step Functions sets inspectionLevel to INFO if you don't specify a level.

        • DEBUG: Shows the final state output along with the input and output data processing result.

        • TRACE: Shows the HTTP request and response for an HTTP Task. This level also shows the final state output along with the input and output data processing result.

        Each of these levels also provide information about the status of the state execution and the next state to transition to.

        Parameters:
        inspectionLevel - Determines the values to return when a state is tested. You can specify one of the following types:

        • INFO: Shows the final state output. By default, Step Functions sets inspectionLevel to INFO if you don't specify a level.

        • DEBUG: Shows the final state output along with the input and output data processing result.

        • TRACE: Shows the HTTP request and response for an HTTP Task. This level also shows the final state output along with the input and output data processing result.

        Each of these levels also provide information about the status of the state execution and the next state to transition to.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        InspectionLevel
      • setRevealSecrets

        public void setRevealSecrets(Boolean revealSecrets)

        Specifies whether or not to include secret information in the test result. For HTTP Tasks, a secret includes the data that an EventBridge connection adds to modify the HTTP request headers, query parameters, and body. Step Functions doesn't omit any information included in the state definition or the HTTP response.

        If you set revealSecrets to true, you must make sure that the IAM user that calls the TestState API has permission for the states:RevealSecrets action. For an example of IAM policy that sets the states:RevealSecrets permission, see IAM permissions to test a state. Without this permission, Step Functions throws an access denied error.

        By default, revealSecrets is set to false.

        Parameters:
        revealSecrets - Specifies whether or not to include secret information in the test result. For HTTP Tasks, a secret includes the data that an EventBridge connection adds to modify the HTTP request headers, query parameters, and body. Step Functions doesn't omit any information included in the state definition or the HTTP response.

        If you set revealSecrets to true, you must make sure that the IAM user that calls the TestState API has permission for the states:RevealSecrets action. For an example of IAM policy that sets the states:RevealSecrets permission, see IAM permissions to test a state. Without this permission, Step Functions throws an access denied error.

        By default, revealSecrets is set to false.

      • getRevealSecrets

        public Boolean getRevealSecrets()

        Specifies whether or not to include secret information in the test result. For HTTP Tasks, a secret includes the data that an EventBridge connection adds to modify the HTTP request headers, query parameters, and body. Step Functions doesn't omit any information included in the state definition or the HTTP response.

        If you set revealSecrets to true, you must make sure that the IAM user that calls the TestState API has permission for the states:RevealSecrets action. For an example of IAM policy that sets the states:RevealSecrets permission, see IAM permissions to test a state. Without this permission, Step Functions throws an access denied error.

        By default, revealSecrets is set to false.

        Returns:
        Specifies whether or not to include secret information in the test result. For HTTP Tasks, a secret includes the data that an EventBridge connection adds to modify the HTTP request headers, query parameters, and body. Step Functions doesn't omit any information included in the state definition or the HTTP response.

        If you set revealSecrets to true, you must make sure that the IAM user that calls the TestState API has permission for the states:RevealSecrets action. For an example of IAM policy that sets the states:RevealSecrets permission, see IAM permissions to test a state. Without this permission, Step Functions throws an access denied error.

        By default, revealSecrets is set to false.

      • withRevealSecrets

        public TestStateRequest withRevealSecrets(Boolean revealSecrets)

        Specifies whether or not to include secret information in the test result. For HTTP Tasks, a secret includes the data that an EventBridge connection adds to modify the HTTP request headers, query parameters, and body. Step Functions doesn't omit any information included in the state definition or the HTTP response.

        If you set revealSecrets to true, you must make sure that the IAM user that calls the TestState API has permission for the states:RevealSecrets action. For an example of IAM policy that sets the states:RevealSecrets permission, see IAM permissions to test a state. Without this permission, Step Functions throws an access denied error.

        By default, revealSecrets is set to false.

        Parameters:
        revealSecrets - Specifies whether or not to include secret information in the test result. For HTTP Tasks, a secret includes the data that an EventBridge connection adds to modify the HTTP request headers, query parameters, and body. Step Functions doesn't omit any information included in the state definition or the HTTP response.

        If you set revealSecrets to true, you must make sure that the IAM user that calls the TestState API has permission for the states:RevealSecrets action. For an example of IAM policy that sets the states:RevealSecrets permission, see IAM permissions to test a state. Without this permission, Step Functions throws an access denied error.

        By default, revealSecrets is set to false.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isRevealSecrets

        public Boolean isRevealSecrets()

        Specifies whether or not to include secret information in the test result. For HTTP Tasks, a secret includes the data that an EventBridge connection adds to modify the HTTP request headers, query parameters, and body. Step Functions doesn't omit any information included in the state definition or the HTTP response.

        If you set revealSecrets to true, you must make sure that the IAM user that calls the TestState API has permission for the states:RevealSecrets action. For an example of IAM policy that sets the states:RevealSecrets permission, see IAM permissions to test a state. Without this permission, Step Functions throws an access denied error.

        By default, revealSecrets is set to false.

        Returns:
        Specifies whether or not to include secret information in the test result. For HTTP Tasks, a secret includes the data that an EventBridge connection adds to modify the HTTP request headers, query parameters, and body. Step Functions doesn't omit any information included in the state definition or the HTTP response.

        If you set revealSecrets to true, you must make sure that the IAM user that calls the TestState API has permission for the states:RevealSecrets action. For an example of IAM policy that sets the states:RevealSecrets permission, see IAM permissions to test a state. Without this permission, Step Functions throws an access denied error.

        By default, revealSecrets is set to false.

      • 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 によって変換されたページ (->オリジナル) /