public class GetRoleRequest extends AmazonWebServiceRequest implements java.io.Serializable
GetRole operation.
Retrieves information about the specified role, including the role's path, GUID, ARN, and the policy granting permission to EC2 to assume the role. For more information about ARNs, go to ARNs. 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 .
| コンストラクタと説明 |
|---|
GetRoleRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getRoleName()
Name of the role to get information about.
|
int |
hashCode() |
void |
setRoleName(java.lang.String roleName)
Name of the role to get information about.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetRoleRequest |
withRoleName(java.lang.String roleName)
Name of the role to get information about.
|
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 to get information about.public GetRoleRequest 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 to get information about.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