Interface StartAutomatedReasoningPolicyTestWorkflowRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BedrockRequest.Builder
,Buildable
,CopyableBuilder<StartAutomatedReasoningPolicyTestWorkflowRequest.Builder,
,StartAutomatedReasoningPolicyTestWorkflowRequest> SdkBuilder<StartAutomatedReasoningPolicyTestWorkflowRequest.Builder,
,StartAutomatedReasoningPolicyTestWorkflowRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
StartAutomatedReasoningPolicyTestWorkflowRequest
@Mutable
@NotThreadSafe
public static interface StartAutomatedReasoningPolicyTestWorkflowRequest.Builder
extends BedrockRequest.Builder, SdkPojo, CopyableBuilder<StartAutomatedReasoningPolicyTestWorkflowRequest.Builder,StartAutomatedReasoningPolicyTestWorkflowRequest>
-
Method Summary
Modifier and TypeMethodDescriptionbuildWorkflowId
(String buildWorkflowId) The build workflow identifier.clientRequestToken
(String clientRequestToken) A unique, case-sensitive identifier to ensure that the operation completes no more than one time.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Amazon Resource Name (ARN) of the Automated Reasoning policy to test.testCaseIds
(String... testCaseIds) The list of test identifiers to run.testCaseIds
(Collection<String> testCaseIds) The list of test identifiers to run.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.bedrock.model.BedrockRequest.Builder
build
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, sdkFieldNameToField, sdkFields
-
Method Details
-
policyArn
The Amazon Resource Name (ARN) of the Automated Reasoning policy to test.
- Parameters:
policyArn
- The Amazon Resource Name (ARN) of the Automated Reasoning policy to test.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
buildWorkflowId
The build workflow identifier. The build workflow must show a
COMPLETED
status before running tests.- Parameters:
buildWorkflowId
- The build workflow identifier. The build workflow must show aCOMPLETED
status before running tests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testCaseIds
StartAutomatedReasoningPolicyTestWorkflowRequest.Builder testCaseIds(Collection<String> testCaseIds) The list of test identifiers to run. If not provided, all tests for the policy are run.
- Parameters:
testCaseIds
- The list of test identifiers to run. If not provided, all tests for the policy are run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testCaseIds
The list of test identifiers to run. If not provided, all tests for the policy are run.
- Parameters:
testCaseIds
- The list of test identifiers to run. If not provided, all tests for the policy are run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientRequestToken
StartAutomatedReasoningPolicyTestWorkflowRequest.Builder clientRequestToken(String clientRequestToken) A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request but doesn't return an error.
- Parameters:
clientRequestToken
- A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request but doesn't return an error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StartAutomatedReasoningPolicyTestWorkflowRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StartAutomatedReasoningPolicyTestWorkflowRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-