com.amazonaws.services.securitytoken.model

## クラス AssumedRoleUser

- java.lang.Object
- - com.amazonaws.services.securitytoken.model.AssumedRoleUser

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

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

  The identifiers for the temporary security credentials that the `AssumeRole` action returns.

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

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

    コンストラクタ
    コンストラクタと説明
    `AssumedRoleUser()`

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getArn()` The ARN of the temporary security credentials that are returned from the AssumeRole action.
    `java.lang.String` | `getAssumedRoleId()` A unique identifier that contains the role ID and the role session name of the role that is being assumed.
    `int` | `hashCode()`
    `void` | `setArn(java.lang.String arn)` The ARN of the temporary security credentials that are returned from the AssumeRole action.
    `void` | `setAssumedRoleId(java.lang.String assumedRoleId)` A unique identifier that contains the role ID and the role session name of the role that is being assumed.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `AssumedRoleUser` | `withArn(java.lang.String arn)` The ARN of the temporary security credentials that are returned from the AssumeRole action.
    `AssumedRoleUser` | `withAssumedRoleId(java.lang.String assumedRoleId)` A unique identifier that contains the role ID and the role session name of the role that is being assumed.

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

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

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

    - #### AssumedRoleUser

          public AssumedRoleUser()

  - ### メソッドの詳細

    - #### getAssumedRoleId

          public java.lang.String getAssumedRoleId()

      A unique identifier that contains the role ID and the role session name of the role that is being assumed. The role ID is generated by AWS when the role is created.

      Constraints:
      Length: 2 - 96
      Pattern: [\w+=,.@:-]*

      戻り値:
        A unique identifier that contains the role ID and the role session name of the role that is being assumed. The role ID is generated by AWS when the role is created.

    - #### setAssumedRoleId

          public void setAssumedRoleId(java.lang.String assumedRoleId)

      A unique identifier that contains the role ID and the role session name of the role that is being assumed. The role ID is generated by AWS when the role is created.

      Constraints:
      Length: 2 - 96
      Pattern: [\w+=,.@:-]*

      パラメータ:
        `assumedRoleId` - A unique identifier that contains the role ID and the role session name of the role that is being assumed. The role ID is generated by AWS when the role is created.

    - #### withAssumedRoleId

          public AssumedRoleUser withAssumedRoleId(java.lang.String assumedRoleId)

      A unique identifier that contains the role ID and the role session name of the role that is being assumed. The role ID is generated by AWS when the role is created.

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

      Constraints:
      Length: 2 - 96
      Pattern: [\w+=,.@:-]*

      パラメータ:
        `assumedRoleId` - A unique identifier that contains the role ID and the role session name of the role that is being assumed. The role ID is generated by AWS when the role is created.

    - #### getArn

          public java.lang.String getArn()

      The ARN of the temporary security credentials that are returned from the AssumeRole action. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using IAM.

      Constraints:
      Length: 20 - 2048

      戻り値:
        The ARN of the temporary security credentials that are returned from the AssumeRole action. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using IAM.

    - #### setArn

          public void setArn(java.lang.String arn)

      The ARN of the temporary security credentials that are returned from the AssumeRole action. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using IAM.

      Constraints:
      Length: 20 - 2048

      パラメータ:
        `arn` - The ARN of the temporary security credentials that are returned from the AssumeRole action. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using IAM.

    - #### withArn

          public AssumedRoleUser withArn(java.lang.String arn)

      The ARN of the temporary security credentials that are returned from the AssumeRole action. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using IAM.

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

      Constraints:
      Length: 20 - 2048

      パラメータ:
        `arn` - The ARN of the temporary security credentials that are returned from the AssumeRole action. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using IAM.

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