com.amazonaws.services.identitymanagement.model

## クラス User

- java.lang.Object
- - com.amazonaws.services.identitymanagement.model.User

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

      public class User
      extends java.lang.Object
      implements java.io.Serializable

  The User data type contains information about a user.

  This data type is used as a response element in the following actions:

  - CreateUser

  - GetUser

  - ListUsers

  関連項目:
    直列化された形式

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

    コンストラクタ
    コンストラクタと説明
    `User()` Default constructor for a new User object.
    `User(java.lang.String path, java.lang.String userName, java.lang.String userId, java.lang.String arn, java.util.Date createDate)` Constructs a new User object.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getArn()` The Amazon Resource Name (ARN) specifying the user.
    `java.util.Date` | `getCreateDate()` The date when the user was created.
    `java.lang.String` | `getPath()` Path to the user.
    `java.lang.String` | `getUserId()` The stable and unique string identifying the user.
    `java.lang.String` | `getUserName()` The name identifying the user.
    `int` | `hashCode()`
    `void` | `setArn(java.lang.String arn)` The Amazon Resource Name (ARN) specifying the user.
    `void` | `setCreateDate(java.util.Date createDate)` The date when the user was created.
    `void` | `setPath(java.lang.String path)` Path to the user.
    `void` | `setUserId(java.lang.String userId)` The stable and unique string identifying the user.
    `void` | `setUserName(java.lang.String userName)` The name identifying the user.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `User` | `withArn(java.lang.String arn)` The Amazon Resource Name (ARN) specifying the user.
    `User` | `withCreateDate(java.util.Date createDate)` The date when the user was created.
    `User` | `withPath(java.lang.String path)` Path to the user.
    `User` | `withUserId(java.lang.String userId)` The stable and unique string identifying the user.
    `User` | `withUserName(java.lang.String userName)` The name identifying the user.

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

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

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

    - #### User

          public User()

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

    - #### User

          public User(java.lang.String path,
              java.lang.String userName,
              java.lang.String userId,
              java.lang.String arn,
              java.util.Date createDate)

      Constructs a new User object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `path` - Path to the user. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.
        `userName` - The name identifying the user.
        `userId` - The stable and unique string identifying the user. For more information about IDs, see Identifiers for IAM Entities in Using AWS Identity and Access Management.
        `arn` - The Amazon Resource Name (ARN) specifying the user. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using AWS Identity and Access Management.
        `createDate` - The date when the user was created.

  - ### メソッドの詳細

    - #### getPath

          public java.lang.String getPath()

      Path to the user. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

      Constraints:
      Length: 1 - 512
      Pattern: (/)|(/[!-]+/)

      戻り値:
        Path to the user. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

    - #### setPath

          public void setPath(java.lang.String path)

      Path to the user. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

      Constraints:
      Length: 1 - 512
      Pattern: (/)|(/[!-]+/)

      パラメータ:
        `path` - Path to the user. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

    - #### withPath

          public User withPath(java.lang.String path)

      Path to the user. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

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

      Constraints:
      Length: 1 - 512
      Pattern: (/)|(/[!-]+/)

      パラメータ:
        `path` - Path to the user. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

    - #### getUserName

          public java.lang.String getUserName()

      The name identifying the user.

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

      戻り値:
        The name identifying the user.

    - #### setUserName

          public void setUserName(java.lang.String userName)

      The name identifying the user.

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

      パラメータ:
        `userName` - The name identifying the user.

    - #### withUserName

          public User withUserName(java.lang.String userName)

      The name identifying the user.

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

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

      パラメータ:
        `userName` - The name identifying the user.

    - #### getUserId

          public java.lang.String getUserId()

      The stable and unique string identifying the user. For more information about IDs, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

      Constraints:
      Length: 16 - 32
      Pattern: [\w]*

      戻り値:
        The stable and unique string identifying the user. For more information about IDs, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

    - #### setUserId

          public void setUserId(java.lang.String userId)

      The stable and unique string identifying the user. For more information about IDs, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

      Constraints:
      Length: 16 - 32
      Pattern: [\w]*

      パラメータ:
        `userId` - The stable and unique string identifying the user. For more information about IDs, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

    - #### withUserId

          public User withUserId(java.lang.String userId)

      The stable and unique string identifying the user. For more information about IDs, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

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

      Constraints:
      Length: 16 - 32
      Pattern: [\w]*

      パラメータ:
        `userId` - The stable and unique string identifying the user. For more information about IDs, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

    - #### getArn

          public java.lang.String getArn()

      The Amazon Resource Name (ARN) specifying the user. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

      Constraints:
      Length: 20 - 2048

      戻り値:
        The Amazon Resource Name (ARN) specifying the user. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

    - #### setArn

          public void setArn(java.lang.String arn)

      The Amazon Resource Name (ARN) specifying the user. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

      Constraints:
      Length: 20 - 2048

      パラメータ:
        `arn` - The Amazon Resource Name (ARN) specifying the user. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

    - #### withArn

          public User withArn(java.lang.String arn)

      The Amazon Resource Name (ARN) specifying the user. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

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

      Constraints:
      Length: 20 - 2048

      パラメータ:
        `arn` - The Amazon Resource Name (ARN) specifying the user. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

    - #### getCreateDate

          public java.util.Date getCreateDate()

      The date when the user was created.
      戻り値:
        The date when the user was created.

    - #### setCreateDate

          public void setCreateDate(java.util.Date createDate)

      The date when the user was created.
      パラメータ:
        `createDate` - The date when the user was created.

    - #### withCreateDate

          public User withCreateDate(java.util.Date createDate)

      The date when the user was created.

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

      パラメータ:
        `createDate` - The date when the user was created.

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