Interface DeleteResourcePolicyRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudWatchLogsRequest.Builder,CopyableBuilder<DeleteResourcePolicyRequest.Builder,,DeleteResourcePolicyRequest> SdkBuilder<DeleteResourcePolicyRequest.Builder,,DeleteResourcePolicyRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
- DeleteResourcePolicyRequest
@Mutable
@NotThreadSafe
public static interface DeleteResourcePolicyRequest.Builder
extends CloudWatchLogsRequest.Builder, SdkPojo, CopyableBuilder<DeleteResourcePolicyRequest.Builder,DeleteResourcePolicyRequest>
-
Method Summary
Modifier and TypeMethodDescriptionexpectedRevisionId(String expectedRevisionId) The expected revision ID of the resource policy.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) policyName(String policyName) The name of the policy to be revoked.resourceArn(String resourceArn) The ARN of the CloudWatch Logs resource for which the resource policy needs to be deletedMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudwatchlogs.model.CloudWatchLogsRequest.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
-
policyName
The name of the policy to be revoked. This parameter is required.
- Parameters:
policyName- The name of the policy to be revoked. This parameter is required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceArn
The ARN of the CloudWatch Logs resource for which the resource policy needs to be deleted
- Parameters:
resourceArn- The ARN of the CloudWatch Logs resource for which the resource policy needs to be deleted- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expectedRevisionId
The expected revision ID of the resource policy. Required when deleting a resource-scoped policy to prevent concurrent modifications.
- Parameters:
expectedRevisionId- The expected revision ID of the resource policy. Required when deleting a resource-scoped policy to prevent concurrent modifications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DeleteResourcePolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DeleteResourcePolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-