com.amazonaws.services.ec2.model

## クラス InstanceBlockDeviceMapping

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

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

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

  Describes how block devices are mapped on an Amazon EC2 instance.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `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.
    `EbsInstanceBlockDevice` | `getEbs()` The optional EBS device mapped to the specified 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(EbsInstanceBlockDevice ebs)` The optional EBS device mapped to the specified device name.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `InstanceBlockDeviceMapping` | `withDeviceName(java.lang.String deviceName)` The device name (e.g., `/dev/sdh`) at which the block device is exposed on the instance.
    `InstanceBlockDeviceMapping` | `withEbs(EbsInstanceBlockDevice ebs)` The optional EBS device mapped to the specified device name.

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

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

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

    - #### InstanceBlockDeviceMapping

          public InstanceBlockDeviceMapping()

  - ### メソッドの詳細

    - #### 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 InstanceBlockDeviceMapping 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 EbsInstanceBlockDevice getEbs()

      The optional EBS device mapped to the specified device name.
      戻り値:
        The optional EBS device mapped to the specified device name.

    - #### setEbs

          public void setEbs(EbsInstanceBlockDevice ebs)

      The optional EBS device mapped to the specified device name.
      パラメータ:
        `ebs` - The optional EBS device mapped to the specified device name.

    - #### withEbs

          public InstanceBlockDeviceMapping withEbs(EbsInstanceBlockDevice ebs)

      The optional EBS device mapped to the specified device name.

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

      パラメータ:
        `ebs` - The optional EBS device mapped to the specified device name.

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