|
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 FormConstructor Summary | |
---|---|
GetRolePolicyRequest()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getPolicyName()
Name of the policy document to get. |
String |
getRoleName()
Name of the role associated with the policy. |
int |
hashCode()
|
void |
setPolicyName(String policyName)
Name of the policy document to get. |
void |
setRoleName(String roleName)
Name of the role associated with the policy. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
GetRolePolicyRequest |
withPolicyName(String policyName)
Name of the policy document to get. |
GetRolePolicyRequest |
withRoleName(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 String getRoleName()
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]*
public void setRoleName(String roleName)
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]*
roleName
- Name of the role associated with the policy.public GetRolePolicyRequest withRoleName(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 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 GetRolePolicyRequest 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 |