com.amazonaws.services.ec2.model

## クラス InstanceBlockDeviceMappingSpecification

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

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

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

  Specifies how an instance's block devices should be mapped on a running instance.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getDeviceName()` The device name (e.g., `/dev/sdh`) at which the block device is exposed on the instance.
    `EbsInstanceBlockDeviceSpecification` | `getEbs()` The EBS instance block device specification describing the EBS block device to map to the specified device name on a running instance.
    `java.lang.String` | `getNoDevice()` When set to the empty string, specifies that the device name in this object should not be mapped to any real device.
    `java.lang.String` | `getVirtualName()` The virtual device name.
    `int` | `hashCode()`
    `void` | `setDeviceName(java.lang.String deviceName)` The device name (e.g., `/dev/sdh`) at which the block device is exposed on the instance.
    `void` | `setEbs(EbsInstanceBlockDeviceSpecification ebs)` The EBS instance block device specification describing the EBS block device to map to the specified device name on a running instance.
    `void` | `setNoDevice(java.lang.String noDevice)` When set to the empty string, specifies that the device name in this object should not be mapped to any real device.
    `void` | `setVirtualName(java.lang.String virtualName)` The virtual device name.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `InstanceBlockDeviceMappingSpecification` | `withDeviceName(java.lang.String deviceName)` The device name (e.g., `/dev/sdh`) at which the block device is exposed on the instance.
    `InstanceBlockDeviceMappingSpecification` | `withEbs(EbsInstanceBlockDeviceSpecification ebs)` The EBS instance block device specification describing the EBS block device to map to the specified device name on a running instance.
    `InstanceBlockDeviceMappingSpecification` | `withNoDevice(java.lang.String noDevice)` When set to the empty string, specifies that the device name in this object should not be mapped to any real device.
    `InstanceBlockDeviceMappingSpecification` | `withVirtualName(java.lang.String virtualName)` The virtual device name.

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

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

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

    - #### InstanceBlockDeviceMappingSpecification

          public InstanceBlockDeviceMappingSpecification()

  - ### メソッドの詳細

    - #### getDeviceName

          public java.lang.String getDeviceName()

      The device name (e.g., `/dev/sdh`) at which the block device is exposed on the instance.
      戻り値:
        The device name (e.g., `/dev/sdh`) at which the block device is exposed on the instance.

    - #### setDeviceName

          public void setDeviceName(java.lang.String deviceName)

      The device name (e.g., `/dev/sdh`) at which the block device is exposed on the instance.
      パラメータ:
        `deviceName` - The device name (e.g., `/dev/sdh`) at which the block device is exposed on the instance.

    - #### withDeviceName

          public InstanceBlockDeviceMappingSpecification withDeviceName(java.lang.String deviceName)

      The device name (e.g., `/dev/sdh`) at which the block device is exposed on the instance.

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

      パラメータ:
        `deviceName` - The device name (e.g., `/dev/sdh`) at which the block device is exposed on the instance.

    - #### getEbs

          public EbsInstanceBlockDeviceSpecification getEbs()

      The EBS instance block device specification describing the EBS block device to map to the specified device name on a running instance.
      戻り値:
        The EBS instance block device specification describing the EBS block device to map to the specified device name on a running instance.

    - #### setEbs

          public void setEbs(EbsInstanceBlockDeviceSpecification ebs)

      The EBS instance block device specification describing the EBS block device to map to the specified device name on a running instance.
      パラメータ:
        `ebs` - The EBS instance block device specification describing the EBS block device to map to the specified device name on a running instance.

    - #### withEbs

          public InstanceBlockDeviceMappingSpecification withEbs(EbsInstanceBlockDeviceSpecification ebs)

      The EBS instance block device specification describing the EBS block device to map to the specified device name on a running instance.

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

      パラメータ:
        `ebs` - The EBS instance block device specification describing the EBS block device to map to the specified device name on a running instance.

    - #### getVirtualName

          public java.lang.String getVirtualName()

      The virtual device name.
      戻り値:
        The virtual device name.

    - #### setVirtualName

          public void setVirtualName(java.lang.String virtualName)

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

    - #### withVirtualName

          public InstanceBlockDeviceMappingSpecification withVirtualName(java.lang.String virtualName)

      The virtual device name.

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

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

    - #### getNoDevice

          public java.lang.String getNoDevice()

      When set to the empty string, specifies that the device name in this object should not be mapped to any real device.
      戻り値:
        When set to the empty string, specifies that the device name in this object should not be mapped to any real device.

    - #### setNoDevice

          public void setNoDevice(java.lang.String noDevice)

      When set to the empty string, specifies that the device name in this object should not be mapped to any real device.
      パラメータ:
        `noDevice` - When set to the empty string, specifies that the device name in this object should not be mapped to any real device.

    - #### withNoDevice

          public InstanceBlockDeviceMappingSpecification withNoDevice(java.lang.String noDevice)

      When set to the empty string, specifies that the device name in this object should not be mapped to any real device.

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

      パラメータ:
        `noDevice` - When set to the empty string, specifies that the device name in this object should not be mapped to any real 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`