|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.identitymanagement.model.GetUserPolicyRequest
public class GetUserPolicyRequest
Container for the parameters to the GetUserPolicy operation
.
Retrieves the specified policy document for the specified user. The returned policy is URL-encoded according to RFC 3986. For more information about RFC 3986, go to http://www.faqs.org/rfcs/rfc3986.html .
AmazonIdentityManagement.getUserPolicy(GetUserPolicyRequest)
,
Serialized FormConstructor Summary | |
---|---|
GetUserPolicyRequest()
Default constructor for a new GetUserPolicyRequest object. |
|
GetUserPolicyRequest(String userName,
String policyName)
Constructs a new GetUserPolicyRequest object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getPolicyName()
Name of the policy document to get. |
String |
getUserName()
Name of the user who the policy is associated with. |
int |
hashCode()
|
void |
setPolicyName(String policyName)
Name of the policy document to get. |
void |
setUserName(String userName)
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)
Name of the policy document to get. |
GetUserPolicyRequest |
withUserName(String userName)
Name of the user who the policy is associated with. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GetUserPolicyRequest()
public GetUserPolicyRequest(String userName, String policyName)
userName
- Name of the user who the policy is associated with.policyName
- Name of the policy document to get.Method Detail |
---|
public String getUserName()
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
public void setUserName(String userName)
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
userName
- Name of the user who the policy is associated with.public GetUserPolicyRequest withUserName(String userName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
userName
- Name of the user who the policy is associated with.
public String getPolicyName()
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
public void setPolicyName(String policyName)
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
policyName
- Name of the policy document to get.public GetUserPolicyRequest withPolicyName(String policyName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
policyName
- Name of the policy document to get.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |