com.amazonaws.services.identitymanagement.model

## クラス GetRoleRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.identitymanagement.model.GetRoleRequest

- すべての実装されたインタフェース:
    java.io.Serializable

      public class GetRoleRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `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 .

  関連項目:
    `AmazonIdentityManagement.getRole(GetRoleRequest)`, 直列化された形式

- - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `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.

    - ### クラスから継承されたメソッド com.amazonaws.AmazonWebServiceRequest

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

    - ### クラスから継承されたメソッド java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### コンストラクタの詳細

    - #### GetRoleRequest

          public GetRoleRequest()

  - ### メソッドの詳細

    - #### getRoleName

          public java.lang.String getRoleName()

      Name of the role to get information about.

      Constraints:
      Length: 1 - 64
      Pattern: [\w+=,.@-]*

      戻り値:
        Name of the role to get information about.

    - #### setRoleName

          public void setRoleName(java.lang.String roleName)

      Name of the role to get information about.

      Constraints:
      Length: 1 - 64
      Pattern: [\w+=,.@-]*

      パラメータ:
        `roleName` - Name of the role to get information about.

    - #### withRoleName

          public GetRoleRequest withRoleName(java.lang.String roleName)

      Name of the role to get information about.

      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.

    - #### toString

          public java.lang.String toString()

      Returns a string representation of this object; useful for testing and debugging.
      オーバーライド:
        `toString` クラス内 `java.lang.Object`
      戻り値:
        A string representation of this object.
      関連項目:
        `Object.toString()`

    - #### hashCode

          public int hashCode()

      オーバーライド:
        `hashCode` クラス内 `java.lang.Object`

    - #### equals

          public boolean equals(java.lang.Object obj)

      オーバーライド:
        `equals` クラス内 `java.lang.Object`