@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeletePolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
DeletePolicyRequest() |
| Modifier and Type | Method and Description |
|---|---|
DeletePolicyRequest |
clone() |
boolean |
equals(Object obj) |
Boolean |
getDeleteAllPolicyResources()
If
True, the request will also perform a clean-up process that will: |
String |
getPolicyId()
The ID of the policy that you want to delete.
|
int |
hashCode() |
Boolean |
isDeleteAllPolicyResources()
If
True, the request will also perform a clean-up process that will: |
void |
setDeleteAllPolicyResources(Boolean deleteAllPolicyResources)
If
True, the request will also perform a clean-up process that will: |
void |
setPolicyId(String policyId)
The ID of the policy that you want to delete.
|
String |
toString()
Returns a string representation of this object.
|
DeletePolicyRequest |
withDeleteAllPolicyResources(Boolean deleteAllPolicyResources)
If
True, the request will also perform a clean-up process that will: |
DeletePolicyRequest |
withPolicyId(String policyId)
The ID of the policy that you want to delete.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setPolicyId(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.public String getPolicyId()
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 DeletePolicyRequest withPolicyId(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.public void setDeleteAllPolicyResources(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.
public Boolean getDeleteAllPolicyResources()
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 withDeleteAllPolicyResources(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.
public Boolean isDeleteAllPolicyResources()
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 String toString()
toString in class ObjectObject.toString()public DeletePolicyRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2019. All rights reserved.