Interface TestStateRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<TestStateRequest.Builder,TestStateRequest>,SdkBuilder<TestStateRequest.Builder,TestStateRequest>,SdkPojo,SdkRequest.Builder,SfnRequest.Builder
- Enclosing class:
- TestStateRequest
public static interface TestStateRequest.Builder extends SfnRequest.Builder, SdkPojo, CopyableBuilder<TestStateRequest.Builder,TestStateRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TestStateRequest.Builderdefinition(String definition)The Amazon States Language (ASL) definition of the state.TestStateRequest.Builderinput(String input)A string that contains the JSON input data for the state.TestStateRequest.BuilderinspectionLevel(String inspectionLevel)Determines the values to return when a state is tested.TestStateRequest.BuilderinspectionLevel(InspectionLevel inspectionLevel)Determines the values to return when a state is tested.TestStateRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)TestStateRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)TestStateRequest.BuilderrevealSecrets(Boolean revealSecrets)Specifies whether or not to include secret information in the test result.TestStateRequest.BuilderroleArn(String roleArn)The Amazon Resource Name (ARN) of the execution role with the required IAM permissions for the state.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.sfn.model.SfnRequest.Builder
build
-
-
-
-
Method Detail
-
definition
TestStateRequest.Builder definition(String definition)
The Amazon States Language (ASL) definition of the state.
- Parameters:
definition- The Amazon States Language (ASL) definition of the state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
TestStateRequest.Builder roleArn(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.
-
input
TestStateRequest.Builder input(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.
-
inspectionLevel
TestStateRequest.Builder inspectionLevel(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 setsinspectionLeveltoINFOif 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 setsinspectionLeveltoINFOif 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,InspectionLevel
-
-
inspectionLevel
TestStateRequest.Builder inspectionLevel(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 setsinspectionLeveltoINFOif 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 setsinspectionLeveltoINFOif 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,InspectionLevel
-
-
revealSecrets
TestStateRequest.Builder revealSecrets(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
revealSecretstotrue, you must make sure that the IAM user that calls theTestStateAPI has permission for thestates:RevealSecretsaction. For an example of IAM policy that sets thestates:RevealSecretspermission, see IAM permissions to test a state. Without this permission, Step Functions throws an access denied error.By default,
revealSecretsis set tofalse.- 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
revealSecretstotrue, you must make sure that the IAM user that calls theTestStateAPI has permission for thestates:RevealSecretsaction. For an example of IAM policy that sets thestates:RevealSecretspermission, see IAM permissions to test a state. Without this permission, Step Functions throws an access denied error.By default,
revealSecretsis set tofalse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
TestStateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
TestStateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-