Interface DeleteAutomatedReasoningPolicyRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BedrockRequest.Builder
,Buildable
,CopyableBuilder<DeleteAutomatedReasoningPolicyRequest.Builder,
,DeleteAutomatedReasoningPolicyRequest> SdkBuilder<DeleteAutomatedReasoningPolicyRequest.Builder,
,DeleteAutomatedReasoningPolicyRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DeleteAutomatedReasoningPolicyRequest
@Mutable
@NotThreadSafe
public static interface DeleteAutomatedReasoningPolicyRequest.Builder
extends BedrockRequest.Builder, SdkPojo, CopyableBuilder<DeleteAutomatedReasoningPolicyRequest.Builder,DeleteAutomatedReasoningPolicyRequest>
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies whether to force delete the automated reasoning policy even if it has active resources.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 delete.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 delete.
- Parameters:
policyArn
- The Amazon Resource Name (ARN) of the Automated Reasoning policy to delete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
force
Specifies whether to force delete the automated reasoning policy even if it has active resources. When
false
, Amazon Bedrock validates if all artifacts have been deleted (e.g. policy version, test case, test result) for a policy before deletion. Whentrue
, Amazon Bedrock will delete the policy and all its artifacts without validation. Default isfalse
.- Parameters:
force
- Specifies whether to force delete the automated reasoning policy even if it has active resources. Whenfalse
, Amazon Bedrock validates if all artifacts have been deleted (e.g. policy version, test case, test result) for a policy before deletion. Whentrue
, Amazon Bedrock will delete the policy and all its artifacts without validation. Default isfalse
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DeleteAutomatedReasoningPolicyRequest.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
DeleteAutomatedReasoningPolicyRequest.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.
-