@Generated(value="software.amazon.awssdk:codegen") public final class DeletePolicyRequest extends FmsRequest implements ToCopyableBuilder<DeletePolicyRequest.Builder,DeletePolicyRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DeletePolicyRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DeletePolicyRequest.Builder |
builder() |
Boolean |
deleteAllPolicyResources()
If
True, the request will also perform a clean-up process that will: |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
policyId()
The ID of the policy that you want to delete.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DeletePolicyRequest.Builder> |
serializableBuilderClass() |
DeletePolicyRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String policyId()
The ID of the policy that you want to delete. PolicyId is returned by PutPolicy and by
ListPolicies.
PolicyId is returned by PutPolicy
and by ListPolicies.public 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.
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.
public DeletePolicyRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DeletePolicyRequest.Builder,DeletePolicyRequest>toBuilder in class FmsRequestpublic static DeletePolicyRequest.Builder builder()
public static Class<? extends DeletePolicyRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2019. All rights reserved.