@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) |
String |
getPolicyId()
The unique identifier (ID) of the policy that you want to delete.
|
int |
hashCode() |
void |
setPolicyId(String policyId)
The unique identifier (ID) of the policy that you want to delete.
|
String |
toString()
Returns a string representation of this object.
|
DeletePolicyRequest |
withPolicyId(String policyId)
The unique identifier (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 unique identifier (ID) of the policy that you want to delete. You can get the ID from the ListPolicies or ListPoliciesForTarget operations.
The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lowercase letters or digits.
policyId - The unique identifier (ID) of the policy that you want to delete. You can get the ID from the
ListPolicies or ListPoliciesForTarget operations.
The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lowercase letters or digits.
public String getPolicyId()
The unique identifier (ID) of the policy that you want to delete. You can get the ID from the ListPolicies or ListPoliciesForTarget operations.
The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lowercase letters or digits.
The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lowercase letters or digits.
public DeletePolicyRequest withPolicyId(String policyId)
The unique identifier (ID) of the policy that you want to delete. You can get the ID from the ListPolicies or ListPoliciesForTarget operations.
The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lowercase letters or digits.
policyId - The unique identifier (ID) of the policy that you want to delete. You can get the ID from the
ListPolicies or ListPoliciesForTarget operations.
The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lowercase letters or digits.
public String toString()
toString in class ObjectObject.toString()public DeletePolicyRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2019. All rights reserved.