@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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getPolicyId()
The ID of the policy that you want to delete.
|
int |
hashCode() |
void |
setPolicyId(String policyId)
The ID of the policy that you want to delete.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DeletePolicyRequest |
withPolicyId(String policyId)
The ID of the policy that you want to delete.
|
addHandlerContext, 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, withSdkRequestTimeout
public 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 String toString()
toString
in class Object
Object.toString()
public DeletePolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.