public static interface DeletePolicyRequest.Builder extends FmsRequest.Builder, SdkPojo, CopyableBuilder<DeletePolicyRequest.Builder,DeletePolicyRequest>
| Modifier and Type | Method and Description |
|---|---|
DeletePolicyRequest.Builder |
deleteAllPolicyResources(Boolean deleteAllPolicyResources)
If
True, the request will also perform a clean-up process that will: |
DeletePolicyRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
DeletePolicyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
DeletePolicyRequest.Builder |
policyId(String policyId)
The ID of the policy that you want to delete.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildDeletePolicyRequest.Builder policyId(String policyId)
The ID of the policy that you want to delete. PolicyId is returned by PutPolicy and
by ListPolicies.
policyId - The ID of the policy that you want to delete. PolicyId is returned by
PutPolicy and by ListPolicies.DeletePolicyRequest.Builder deleteAllPolicyResources(Boolean deleteAllPolicyResources)
If True, the request will also perform a clean-up process that will:
Delete rule groups created by AWS Firewall Manager
Remove web ACLs from in-scope resources
Delete web ACLs that contain no rules or rule groups
After the cleanup, in-scope resources will no longer be protected by web ACLs in this policy. Protection of out-of-scope resources will remain unchanged. Scope is determined by tags and accounts associated with the policy. When creating the policy, if you specified that only resources in specific accounts or with specific tags be protected by the policy, those resources are in-scope. All others are out of scope. If you did not specify tags or accounts, all resources are in-scope.
deleteAllPolicyResources - If True, the request will also perform a clean-up process that will:
Delete rule groups created by AWS Firewall Manager
Remove web ACLs from in-scope resources
Delete web ACLs that contain no rules or rule groups
After the cleanup, in-scope resources will no longer be protected by web ACLs in this policy. Protection of out-of-scope resources will remain unchanged. Scope is determined by tags and accounts associated with the policy. When creating the policy, if you specified that only resources in specific accounts or with specific tags be protected by the policy, those resources are in-scope. All others are out of scope. If you did not specify tags or accounts, all resources are in-scope.
DeletePolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderDeletePolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2019. All rights reserved.