com.amazonaws.services.identitymanagement.model

## クラス VirtualMFADevice

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

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

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

  The `VirtualMFADevice` data type contains information about a virtual MFA device.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.nio.ByteBuffer` | `getBase32StringSeed()` The Base32 seed defined as specified in RFC3548.
    `java.util.Date` | `getEnableDate()` Returns the value of the EnableDate property for this object.
    `java.nio.ByteBuffer` | `getQRCodePNG()` A QR code PNG image that encodes otpauth://totp/$virtualMFADeviceName@$AccountName?
    `java.lang.String` | `getSerialNumber()` The serial number associated with `VirtualMFADevice`.
    `User` | `getUser()` The User data type contains information about a user.
    `int` | `hashCode()`
    `void` | `setBase32StringSeed(java.nio.ByteBuffer base32StringSeed)` The Base32 seed defined as specified in RFC3548.
    `void` | `setEnableDate(java.util.Date enableDate)` Sets the value of the EnableDate property for this object.
    `void` | `setQRCodePNG(java.nio.ByteBuffer qRCodePNG)` A QR code PNG image that encodes otpauth://totp/$virtualMFADeviceName@$AccountName?
    `void` | `setSerialNumber(java.lang.String serialNumber)` The serial number associated with `VirtualMFADevice`.
    `void` | `setUser(User user)` The User data type contains information about a user.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `VirtualMFADevice` | `withBase32StringSeed(java.nio.ByteBuffer base32StringSeed)` The Base32 seed defined as specified in RFC3548.
    `VirtualMFADevice` | `withEnableDate(java.util.Date enableDate)` Sets the value of the EnableDate property for this object.
    `VirtualMFADevice` | `withQRCodePNG(java.nio.ByteBuffer qRCodePNG)` A QR code PNG image that encodes otpauth://totp/$virtualMFADeviceName@$AccountName?
    `VirtualMFADevice` | `withSerialNumber(java.lang.String serialNumber)` The serial number associated with `VirtualMFADevice`.
    `VirtualMFADevice` | `withUser(User user)` The User data type contains information about a user.

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

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

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

    - #### VirtualMFADevice

          public VirtualMFADevice()

  - ### メソッドの詳細

    - #### getSerialNumber

          public java.lang.String getSerialNumber()

      The serial number associated with `VirtualMFADevice`.

      Constraints:
      Length: 9 - 256
      Pattern: [\w+=/:,.@-]*

      戻り値:
        The serial number associated with `VirtualMFADevice`.

    - #### setSerialNumber

          public void setSerialNumber(java.lang.String serialNumber)

      The serial number associated with `VirtualMFADevice`.

      Constraints:
      Length: 9 - 256
      Pattern: [\w+=/:,.@-]*

      パラメータ:
        `serialNumber` - The serial number associated with `VirtualMFADevice`.

    - #### withSerialNumber

          public VirtualMFADevice withSerialNumber(java.lang.String serialNumber)

      The serial number associated with `VirtualMFADevice`.

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

      Constraints:
      Length: 9 - 256
      Pattern: [\w+=/:,.@-]*

      パラメータ:
        `serialNumber` - The serial number associated with `VirtualMFADevice`.

    - #### getBase32StringSeed

          public java.nio.ByteBuffer getBase32StringSeed()

      The Base32 seed defined as specified in RFC3548. The `Base32StringSeed` is Base64-encoded.
      戻り値:
        The Base32 seed defined as specified in RFC3548. The `Base32StringSeed` is Base64-encoded.

    - #### setBase32StringSeed

          public void setBase32StringSeed(java.nio.ByteBuffer base32StringSeed)

      The Base32 seed defined as specified in RFC3548. The `Base32StringSeed` is Base64-encoded.
      パラメータ:
        `base32StringSeed` - The Base32 seed defined as specified in RFC3548. The `Base32StringSeed` is Base64-encoded.

    - #### withBase32StringSeed

          public VirtualMFADevice withBase32StringSeed(java.nio.ByteBuffer base32StringSeed)

      The Base32 seed defined as specified in RFC3548. The `Base32StringSeed` is Base64-encoded.

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

      パラメータ:
        `base32StringSeed` - The Base32 seed defined as specified in RFC3548. The `Base32StringSeed` is Base64-encoded.

    - #### getQRCodePNG

          public java.nio.ByteBuffer getQRCodePNG()

      A QR code PNG image that encodes otpauth://totp/$virtualMFADeviceName@$AccountName? secret=$Base32String where $virtualMFADeviceName is one of the create call arguments, AccountName is the user name if set (accountId otherwise), and Base32String is the seed in Base32 format. The `Base32String` is Base64-encoded.
      戻り値:
        A QR code PNG image that encodes otpauth://totp/$virtualMFADeviceName@$AccountName? secret=$Base32String where $virtualMFADeviceName is one of the create call arguments, AccountName is the user name if set (accountId otherwise), and Base32String is the seed in Base32 format. The `Base32String` is Base64-encoded.

    - #### setQRCodePNG

          public void setQRCodePNG(java.nio.ByteBuffer qRCodePNG)

      A QR code PNG image that encodes otpauth://totp/$virtualMFADeviceName@$AccountName? secret=$Base32String where $virtualMFADeviceName is one of the create call arguments, AccountName is the user name if set (accountId otherwise), and Base32String is the seed in Base32 format. The `Base32String` is Base64-encoded.
      パラメータ:
        `qRCodePNG` - A QR code PNG image that encodes otpauth://totp/$virtualMFADeviceName@$AccountName? secret=$Base32String where $virtualMFADeviceName is one of the create call arguments, AccountName is the user name if set (accountId otherwise), and Base32String is the seed in Base32 format. The `Base32String` is Base64-encoded.

    - #### withQRCodePNG

          public VirtualMFADevice withQRCodePNG(java.nio.ByteBuffer qRCodePNG)

      A QR code PNG image that encodes otpauth://totp/$virtualMFADeviceName@$AccountName? secret=$Base32String where $virtualMFADeviceName is one of the create call arguments, AccountName is the user name if set (accountId otherwise), and Base32String is the seed in Base32 format. The `Base32String` is Base64-encoded.

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

      パラメータ:
        `qRCodePNG` - A QR code PNG image that encodes otpauth://totp/$virtualMFADeviceName@$AccountName? secret=$Base32String where $virtualMFADeviceName is one of the create call arguments, AccountName is the user name if set (accountId otherwise), and Base32String is the seed in Base32 format. The `Base32String` is Base64-encoded.

    - #### getUser

          public User getUser()

      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

      戻り値:
        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

    - #### setUser

          public void setUser(User user)

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

    - #### withUser

          public VirtualMFADevice withUser(User user)

      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

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

      パラメータ:
        `user` - 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

    - #### getEnableDate

          public java.util.Date getEnableDate()

      Returns the value of the EnableDate property for this object.
      戻り値:
        The value of the EnableDate property for this object.

    - #### setEnableDate

          public void setEnableDate(java.util.Date enableDate)

      Sets the value of the EnableDate property for this object.
      パラメータ:
        `enableDate` - The new value for the EnableDate property for this object.

    - #### withEnableDate

          public VirtualMFADevice withEnableDate(java.util.Date enableDate)

      Sets the value of the EnableDate property for this object.

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

      パラメータ:
        `enableDate` - The new value for the EnableDate property for this object.

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