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