com.amazonaws.services.identitymanagement.model

## クラス CreateVirtualMFADeviceRequest

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

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

      public class CreateVirtualMFADeviceRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `CreateVirtualMFADevice operation`.

  Creates a new virtual MFA device for the AWS account. After creating the virtual MFA, use EnableMFADevice to attach the MFA device to an IAM user. For more information about creating and working with virtual MFA devices, go to Using a Virtual MFA Device in Using AWS Identity and Access Management .

  For information about limits on the number of MFA devices you can create, see Limitations on Entities in Using AWS Identity and Access Management .

  IMPORTANT:The seed information contained in the QR code and the Base32 string should be treated like any other secret access information, such as your AWS access keys or your passwords. After you provision your virtual device, you should ensure that the information is destroyed following secure procedures.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getPath()` The path for the virtual MFA device.
    `java.lang.String` | `getVirtualMFADeviceName()` The name of the virtual MFA device.
    `int` | `hashCode()`
    `void` | `setPath(java.lang.String path)` The path for the virtual MFA device.
    `void` | `setVirtualMFADeviceName(java.lang.String virtualMFADeviceName)` The name of the virtual MFA device.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `CreateVirtualMFADeviceRequest` | `withPath(java.lang.String path)` The path for the virtual MFA device.
    `CreateVirtualMFADeviceRequest` | `withVirtualMFADeviceName(java.lang.String virtualMFADeviceName)` The name of the virtual MFA device.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### CreateVirtualMFADeviceRequest

          public CreateVirtualMFADeviceRequest()

  - ### メソッドの詳細

    - #### getPath

          public java.lang.String getPath()

      The path for the virtual MFA device. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

      This parameter is optional. If it is not included, it defaults to a slash (/).

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

      戻り値:
        The path for the virtual MFA device. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

        This parameter is optional. If it is not included, it defaults to a slash (/).

    - #### setPath

          public void setPath(java.lang.String path)

      The path for the virtual MFA device. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

      This parameter is optional. If it is not included, it defaults to a slash (/).

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

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

        This parameter is optional. If it is not included, it defaults to a slash (/).

    - #### withPath

          public CreateVirtualMFADeviceRequest withPath(java.lang.String path)

      The path for the virtual MFA device. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

      This parameter is optional. If it is not included, it defaults to a slash (/).

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

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

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

        This parameter is optional. If it is not included, it defaults to a slash (/).

    - #### getVirtualMFADeviceName

          public java.lang.String getVirtualMFADeviceName()

      The name of the virtual MFA device. Use with path to uniquely identify a virtual MFA device.

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

      戻り値:
        The name of the virtual MFA device. Use with path to uniquely identify a virtual MFA device.

    - #### setVirtualMFADeviceName

          public void setVirtualMFADeviceName(java.lang.String virtualMFADeviceName)

      The name of the virtual MFA device. Use with path to uniquely identify a virtual MFA device.

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

      パラメータ:
        `virtualMFADeviceName` - The name of the virtual MFA device. Use with path to uniquely identify a virtual MFA device.

    - #### withVirtualMFADeviceName

          public CreateVirtualMFADeviceRequest withVirtualMFADeviceName(java.lang.String virtualMFADeviceName)

      The name of the virtual MFA device. Use with path to uniquely identify a virtual MFA device.

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

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

      パラメータ:
        `virtualMFADeviceName` - The name of the virtual MFA device. Use with path to uniquely identify a virtual MFA device.

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