|
|||||||
| 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)| Constructor Summary | |
|---|---|
GetUserPolicyRequest()
|
|
| Method Summary | |
|---|---|
String |
getPolicyName()
Name of the policy document to get. |
String |
getUserName()
Name of the User who the policy is associated with. |
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 |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GetUserPolicyRequest()
| 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 ObjectObject.toString()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||