|
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.GetRolePolicyRequest
public class GetRolePolicyRequest
Container for the parameters to the GetRolePolicy operation.
Retrieves the specified policy document for the specified role. For more information about roles, go to Working with Roles .
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.getRolePolicy(GetRolePolicyRequest),
Serialized Form| Constructor Summary | |
|---|---|
GetRolePolicyRequest()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getPolicyName()
Name of the policy document to get. |
java.lang.String |
getRoleName()
Name of the role associated with the policy. |
int |
hashCode()
|
void |
setPolicyName(java.lang.String policyName)
Name of the policy document to get. |
void |
setRoleName(java.lang.String roleName)
Name of the role associated with the policy. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
GetRolePolicyRequest |
withPolicyName(java.lang.String policyName)
Name of the policy document to get. |
GetRolePolicyRequest |
withRoleName(java.lang.String roleName)
Name of the role associated with the policy. |
| 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 GetRolePolicyRequest()
| Method Detail |
|---|
public java.lang.String getRoleName()
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]*
public void setRoleName(java.lang.String roleName)
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]*
roleName - Name of the role associated with the policy.public GetRolePolicyRequest withRoleName(java.lang.String roleName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]*
roleName - Name of the role associated with the policy.
public java.lang.String getPolicyName()
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
public void setPolicyName(java.lang.String policyName)
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
policyName - Name of the policy document to get.public GetRolePolicyRequest withPolicyName(java.lang.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 java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||