@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 delete all web ACLs in this policy. |
String |
getPolicyId()
The ID of the policy that you want to delete.
|
int |
hashCode() |
Boolean |
isDeleteAllPolicyResources()
If
True, the request will also delete all web ACLs in this policy. |
void |
setDeleteAllPolicyResources(Boolean deleteAllPolicyResources)
If
True, the request will also delete all web ACLs in this policy. |
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 delete all web ACLs in this policy. |
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 delete all web ACLs in this policy. Associated resources will no
longer be protected by web ACLs in this policy.
deleteAllPolicyResources - If True, the request will also delete all web ACLs in this policy. Associated resources will
no longer be protected by web ACLs in this policy.public Boolean getDeleteAllPolicyResources()
If True, the request will also delete all web ACLs in this policy. Associated resources will no
longer be protected by web ACLs in this policy.
True, the request will also delete all web ACLs in this policy. Associated resources will
no longer be protected by web ACLs in this policy.public DeletePolicyRequest withDeleteAllPolicyResources(Boolean deleteAllPolicyResources)
If True, the request will also delete all web ACLs in this policy. Associated resources will no
longer be protected by web ACLs in this policy.
deleteAllPolicyResources - If True, the request will also delete all web ACLs in this policy. Associated resources will
no longer be protected by web ACLs in this policy.public Boolean isDeleteAllPolicyResources()
If True, the request will also delete all web ACLs in this policy. Associated resources will no
longer be protected by web ACLs in this policy.
True, the request will also delete all web ACLs in this policy. Associated resources will
no longer be protected by web ACLs in this policy.public String toString()
toString in class ObjectObject.toString()public DeletePolicyRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2019. All rights reserved.