com.amazonaws.services.ec2.model

## クラス BlockDeviceMapping

- java.lang.Object
- - com.amazonaws.services.ec2.model.BlockDeviceMapping

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

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

  The BlockDeviceMappingItemType data type.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getDeviceName()` Specifies the device name (e.g., `/dev/sdh`).
    `EbsBlockDevice` | `getEbs()` Specifies parameters used to automatically setup Amazon EBS volumes when the instance is launched.
    `java.lang.String` | `getNoDevice()` Specifies the device name to suppress during instance launch.
    `java.lang.String` | `getVirtualName()` Specifies the virtual device name.
    `int` | `hashCode()`
    `void` | `setDeviceName(java.lang.String deviceName)` Specifies the device name (e.g., `/dev/sdh`).
    `void` | `setEbs(EbsBlockDevice ebs)` Specifies parameters used to automatically setup Amazon EBS volumes when the instance is launched.
    `void` | `setNoDevice(java.lang.String noDevice)` Specifies the device name to suppress during instance launch.
    `void` | `setVirtualName(java.lang.String virtualName)` Specifies the virtual device name.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `BlockDeviceMapping` | `withDeviceName(java.lang.String deviceName)` Specifies the device name (e.g., `/dev/sdh`).
    `BlockDeviceMapping` | `withEbs(EbsBlockDevice ebs)` Specifies parameters used to automatically setup Amazon EBS volumes when the instance is launched.
    `BlockDeviceMapping` | `withNoDevice(java.lang.String noDevice)` Specifies the device name to suppress during instance launch.
    `BlockDeviceMapping` | `withVirtualName(java.lang.String virtualName)` Specifies the virtual device name.

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

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

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

    - #### BlockDeviceMapping

          public BlockDeviceMapping()

  - ### メソッドの詳細

    - #### getVirtualName

          public java.lang.String getVirtualName()

      Specifies the virtual device name.
      戻り値:
        Specifies the virtual device name.

    - #### setVirtualName

          public void setVirtualName(java.lang.String virtualName)

      Specifies the virtual device name.
      パラメータ:
        `virtualName` - Specifies the virtual device name.

    - #### withVirtualName

          public BlockDeviceMapping withVirtualName(java.lang.String virtualName)

      Specifies the virtual device name.

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

      パラメータ:
        `virtualName` - Specifies the virtual device name.

    - #### getDeviceName

          public java.lang.String getDeviceName()

      Specifies the device name (e.g., `/dev/sdh`).
      戻り値:
        Specifies the device name (e.g., `/dev/sdh`).

    - #### setDeviceName

          public void setDeviceName(java.lang.String deviceName)

      Specifies the device name (e.g., `/dev/sdh`).
      パラメータ:
        `deviceName` - Specifies the device name (e.g., `/dev/sdh`).

    - #### withDeviceName

          public BlockDeviceMapping withDeviceName(java.lang.String deviceName)

      Specifies the device name (e.g., `/dev/sdh`).

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

      パラメータ:
        `deviceName` - Specifies the device name (e.g., `/dev/sdh`).

    - #### getEbs

          public EbsBlockDevice getEbs()

      Specifies parameters used to automatically setup Amazon EBS volumes when the instance is launched.
      戻り値:
        Specifies parameters used to automatically setup Amazon EBS volumes when the instance is launched.

    - #### setEbs

          public void setEbs(EbsBlockDevice ebs)

      Specifies parameters used to automatically setup Amazon EBS volumes when the instance is launched.
      パラメータ:
        `ebs` - Specifies parameters used to automatically setup Amazon EBS volumes when the instance is launched.

    - #### withEbs

          public BlockDeviceMapping withEbs(EbsBlockDevice ebs)

      Specifies parameters used to automatically setup Amazon EBS volumes when the instance is launched.

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

      パラメータ:
        `ebs` - Specifies parameters used to automatically setup Amazon EBS volumes when the instance is launched.

    - #### getNoDevice

          public java.lang.String getNoDevice()

      Specifies the device name to suppress during instance launch.
      戻り値:
        Specifies the device name to suppress during instance launch.

    - #### setNoDevice

          public void setNoDevice(java.lang.String noDevice)

      Specifies the device name to suppress during instance launch.
      パラメータ:
        `noDevice` - Specifies the device name to suppress during instance launch.

    - #### withNoDevice

          public BlockDeviceMapping withNoDevice(java.lang.String noDevice)

      Specifies the device name to suppress during instance launch.

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

      パラメータ:
        `noDevice` - Specifies the device name to suppress during instance launch.

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