public class GetRolePolicyRequest extends AmazonWebServiceRequest implements java.io.Serializable
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 .
| コンストラクタと説明 |
|---|
GetRolePolicyRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic 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 クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object