com.amazonaws.services.identitymanagement.model

## クラス GetUserRequest

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

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

      public class GetUserRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `GetUser operation`.

  Retrieves information about the specified user, including the user's path, GUID, and ARN.

  If you do not specify a user name, IAM determines the user name implicitly based on the AWS Access Key ID signing the request.

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

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

    コンストラクタ
    コンストラクタと説明
    `GetUserRequest()` Default constructor for a new GetUserRequest object.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getUserName()` Name of the user to get information about.
    `int` | `hashCode()`
    `void` | `setUserName(java.lang.String userName)` Name of the user to get information about.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `GetUserRequest` | `withUserName(java.lang.String userName)` Name of the user to get information about.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### GetUserRequest

          public GetUserRequest()

      Default constructor for a new GetUserRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.

  - ### メソッドの詳細

    - #### getUserName

          public java.lang.String getUserName()

      Name of the user to get information about.

      This parameter is optional. If it is not included, it defaults to the user making the request.

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

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

        This parameter is optional. If it is not included, it defaults to the user making the request.

    - #### setUserName

          public void setUserName(java.lang.String userName)

      Name of the user to get information about.

      This parameter is optional. If it is not included, it defaults to the user making the request.

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

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

        This parameter is optional. If it is not included, it defaults to the user making the request.

    - #### withUserName

          public GetUserRequest withUserName(java.lang.String userName)

      Name of the user to get information about.

      This parameter is optional. If it is not included, it defaults to the user making the request.

      Returns a reference to this object so that method calls can be chained together.

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

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

        This parameter is optional. If it is not included, it defaults to the user making the request.

    - #### 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`