public class DetachUserPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
DetachUserPolicyRequest() |
| Modifier and Type | Method and Description |
|---|---|
DetachUserPolicyRequest |
clone() |
boolean |
equals(Object obj) |
String |
getPolicyArn() |
String |
getUserName()
The name (friendly name, not ARN) of the user to detach the policy from.
|
int |
hashCode() |
void |
setPolicyArn(String policyArn) |
void |
setUserName(String userName)
The name (friendly name, not ARN) of the user to detach the policy from.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DetachUserPolicyRequest |
withPolicyArn(String policyArn) |
DetachUserPolicyRequest |
withUserName(String userName)
The name (friendly name, not ARN) of the user to detach the policy from.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setUserName(String userName)
The name (friendly name, not ARN) of the user to detach the policy from.
userName - The name (friendly name, not ARN) of the user to detach the policy
from.public String getUserName()
The name (friendly name, not ARN) of the user to detach the policy from.
public DetachUserPolicyRequest withUserName(String userName)
The name (friendly name, not ARN) of the user to detach the policy from.
userName - The name (friendly name, not ARN) of the user to detach the policy
from.public void setPolicyArn(String policyArn)
policyArn - public String getPolicyArn()
public DetachUserPolicyRequest withPolicyArn(String policyArn)
policyArn - public String toString()
toString in class ObjectObject.toString()public DetachUserPolicyRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2016. All rights reserved.