public class AttachUserPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
AttachUserPolicyRequest() |
Modifier and Type | Method and Description |
---|---|
AttachUserPolicyRequest |
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 attach the policy to.
|
int |
hashCode() |
void |
setPolicyArn(String policyArn) |
void |
setUserName(String userName)
The name (friendly name, not ARN) of the user to attach the policy to.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AttachUserPolicyRequest |
withPolicyArn(String policyArn) |
AttachUserPolicyRequest |
withUserName(String userName)
The name (friendly name, not ARN) of the user to attach the policy to.
|
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 attach the policy to.
userName
- The name (friendly name, not ARN) of the user to attach the policy
to.public String getUserName()
The name (friendly name, not ARN) of the user to attach the policy to.
public AttachUserPolicyRequest withUserName(String userName)
The name (friendly name, not ARN) of the user to attach the policy to.
userName
- The name (friendly name, not ARN) of the user to attach the policy
to.public void setPolicyArn(String policyArn)
policyArn
- public String getPolicyArn()
public AttachUserPolicyRequest withPolicyArn(String policyArn)
policyArn
- public String toString()
toString
in class Object
Object.toString()
public AttachUserPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.