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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.bedrock.model.BedrockRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-