public class DeleteUserPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
DeleteUserPolicyRequest()
Default constructor for DeleteUserPolicyRequest object.
|
DeleteUserPolicyRequest(String userName,
String policyName)
Constructs a new DeleteUserPolicyRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
DeleteUserPolicyRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getPolicyName()
The name identifying the policy document to delete.
|
String |
getUserName()
The name (friendly name, not ARN) identifying the user that the policy is
embedded in.
|
int |
hashCode() |
void |
setPolicyName(String policyName)
The name identifying the policy document to delete.
|
void |
setUserName(String userName)
The name (friendly name, not ARN) identifying the user that the policy is
embedded in.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteUserPolicyRequest |
withPolicyName(String policyName)
The name identifying the policy document to delete.
|
DeleteUserPolicyRequest |
withUserName(String userName)
The name (friendly name, not ARN) identifying the user that the policy is
embedded in.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic DeleteUserPolicyRequest()
public DeleteUserPolicyRequest(String userName, String policyName)
userName - The name (friendly name, not ARN) identifying the user that the
policy is embedded in.policyName - The name identifying the policy document to delete.public void setUserName(String userName)
The name (friendly name, not ARN) identifying the user that the policy is embedded in.
userName - The name (friendly name, not ARN) identifying the user that the
policy is embedded in.public String getUserName()
The name (friendly name, not ARN) identifying the user that the policy is embedded in.
public DeleteUserPolicyRequest withUserName(String userName)
The name (friendly name, not ARN) identifying the user that the policy is embedded in.
userName - The name (friendly name, not ARN) identifying the user that the
policy is embedded in.public void setPolicyName(String policyName)
The name identifying the policy document to delete.
policyName - The name identifying the policy document to delete.public String getPolicyName()
The name identifying the policy document to delete.
public DeleteUserPolicyRequest withPolicyName(String policyName)
The name identifying the policy document to delete.
policyName - The name identifying the policy document to delete.public String toString()
toString in class ObjectObject.toString()public DeleteUserPolicyRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.