public class DetachUserPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DetachUserPolicyRequest() |
Modifier and Type | Method and Description |
---|---|
DetachUserPolicyRequest |
clone()
Creates a shallow clone of this request.
|
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.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public 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 Object
Object.toString()
public DetachUserPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.