Interface DeletePolicyRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentCoreControlRequest.Builder,Buildable,CopyableBuilder<DeletePolicyRequest.Builder,,DeletePolicyRequest> SdkBuilder<DeletePolicyRequest.Builder,,DeletePolicyRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DeletePolicyRequest
@Mutable
@NotThreadSafe
public static interface DeletePolicyRequest.Builder
extends BedrockAgentCoreControlRequest.Builder, SdkPojo, CopyableBuilder<DeletePolicyRequest.Builder,DeletePolicyRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.policyEngineId(String policyEngineId) The identifier of the policy engine that manages the policy to be deleted.The unique identifier of the policy to be deleted.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.bedrockagentcorecontrol.model.BedrockAgentCoreControlRequest.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
-
policyEngineId
The identifier of the policy engine that manages the policy to be deleted. This ensures the policy is deleted from the correct policy engine context.
- Parameters:
policyEngineId- The identifier of the policy engine that manages the policy to be deleted. This ensures the policy is deleted from the correct policy engine context.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyId
The unique identifier of the policy to be deleted. This must be a valid policy ID that exists within the specified policy engine.
- Parameters:
policyId- The unique identifier of the policy to be deleted. This must be a valid policy ID that exists within the specified policy engine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DeletePolicyRequest.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
DeletePolicyRequest.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.
-