@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteResourcePolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DeleteResourcePolicyRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteResourcePolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getPolicyName()
The name of the policy to be revoked.
|
int |
hashCode() |
void |
setPolicyName(String policyName)
The name of the policy to be revoked.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DeleteResourcePolicyRequest |
withPolicyName(String policyName)
The name of the policy to be revoked.
|
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 setPolicyName(String policyName)
The name of the policy to be revoked. This parameter is required.
policyName
- The name of the policy to be revoked. This parameter is required.public String getPolicyName()
The name of the policy to be revoked. This parameter is required.
public DeleteResourcePolicyRequest withPolicyName(String policyName)
The name of the policy to be revoked. This parameter is required.
policyName
- The name of the policy to be revoked. This parameter is required.public String toString()
toString
in class Object
Object.toString()
public DeleteResourcePolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.