com.amazonaws.services.ec2.model

## クラス EbsBlockDevice

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

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

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

  An EBS volume backed block device.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.Boolean` | `getDeleteOnTermination()` Specifies whether the Amazon EBS volume is deleted on instance termination.
    `java.lang.Integer` | `getIops()` Returns the value of the Iops property for this object.
    `java.lang.String` | `getSnapshotId()` The ID of the snapshot from which the volume will be created.
    `java.lang.Integer` | `getVolumeSize()` The size of the volume, in gigabytes.
    `java.lang.String` | `getVolumeType()` Returns the value of the VolumeType property for this object.
    `int` | `hashCode()`
    `java.lang.Boolean` | `isDeleteOnTermination()` Specifies whether the Amazon EBS volume is deleted on instance termination.
    `void` | `setDeleteOnTermination(java.lang.Boolean deleteOnTermination)` Specifies whether the Amazon EBS volume is deleted on instance termination.
    `void` | `setIops(java.lang.Integer iops)` Sets the value of the Iops property for this object.
    `void` | `setSnapshotId(java.lang.String snapshotId)` The ID of the snapshot from which the volume will be created.
    `void` | `setVolumeSize(java.lang.Integer volumeSize)` The size of the volume, in gigabytes.
    `void` | `setVolumeType(java.lang.String volumeType)` Sets the value of the VolumeType property for this object.
    `void` | `setVolumeType(VolumeType volumeType)` Sets the value of the VolumeType property for this object.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `EbsBlockDevice` | `withDeleteOnTermination(java.lang.Boolean deleteOnTermination)` Specifies whether the Amazon EBS volume is deleted on instance termination.
    `EbsBlockDevice` | `withIops(java.lang.Integer iops)` Sets the value of the Iops property for this object.
    `EbsBlockDevice` | `withSnapshotId(java.lang.String snapshotId)` The ID of the snapshot from which the volume will be created.
    `EbsBlockDevice` | `withVolumeSize(java.lang.Integer volumeSize)` The size of the volume, in gigabytes.
    `EbsBlockDevice` | `withVolumeType(java.lang.String volumeType)` Sets the value of the VolumeType property for this object.
    `EbsBlockDevice` | `withVolumeType(VolumeType volumeType)` Sets the value of the VolumeType property for this object.

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

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

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

    - #### EbsBlockDevice

          public EbsBlockDevice()

  - ### メソッドの詳細

    - #### getSnapshotId

          public java.lang.String getSnapshotId()

      The ID of the snapshot from which the volume will be created.
      戻り値:
        The ID of the snapshot from which the volume will be created.

    - #### setSnapshotId

          public void setSnapshotId(java.lang.String snapshotId)

      The ID of the snapshot from which the volume will be created.
      パラメータ:
        `snapshotId` - The ID of the snapshot from which the volume will be created.

    - #### withSnapshotId

          public EbsBlockDevice withSnapshotId(java.lang.String snapshotId)

      The ID of the snapshot from which the volume will be created.

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

      パラメータ:
        `snapshotId` - The ID of the snapshot from which the volume will be created.

    - #### getVolumeSize

          public java.lang.Integer getVolumeSize()

      The size of the volume, in gigabytes.
      戻り値:
        The size of the volume, in gigabytes.

    - #### setVolumeSize

          public void setVolumeSize(java.lang.Integer volumeSize)

      The size of the volume, in gigabytes.
      パラメータ:
        `volumeSize` - The size of the volume, in gigabytes.

    - #### withVolumeSize

          public EbsBlockDevice withVolumeSize(java.lang.Integer volumeSize)

      The size of the volume, in gigabytes.

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

      パラメータ:
        `volumeSize` - The size of the volume, in gigabytes.

    - #### isDeleteOnTermination

          public java.lang.Boolean isDeleteOnTermination()

      Specifies whether the Amazon EBS volume is deleted on instance termination.
      戻り値:
        Specifies whether the Amazon EBS volume is deleted on instance termination.

    - #### setDeleteOnTermination

          public void setDeleteOnTermination(java.lang.Boolean deleteOnTermination)

      Specifies whether the Amazon EBS volume is deleted on instance termination.
      パラメータ:
        `deleteOnTermination` - Specifies whether the Amazon EBS volume is deleted on instance termination.

    - #### withDeleteOnTermination

          public EbsBlockDevice withDeleteOnTermination(java.lang.Boolean deleteOnTermination)

      Specifies whether the Amazon EBS volume is deleted on instance termination.

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

      パラメータ:
        `deleteOnTermination` - Specifies whether the Amazon EBS volume is deleted on instance termination.

    - #### getDeleteOnTermination

          public java.lang.Boolean getDeleteOnTermination()

      Specifies whether the Amazon EBS volume is deleted on instance termination.
      戻り値:
        Specifies whether the Amazon EBS volume is deleted on instance termination.

    - #### getVolumeType

          public java.lang.String getVolumeType()

      Returns the value of the VolumeType property for this object.

      Constraints:
      Allowed Values: standard, io1

      戻り値:
        The value of the VolumeType property for this object.
      関連項目:
        `VolumeType`

    - #### setVolumeType

          public void setVolumeType(java.lang.String volumeType)

      Sets the value of the VolumeType property for this object.

      Constraints:
      Allowed Values: standard, io1

      パラメータ:
        `volumeType` - The new value for the VolumeType property for this object.
      関連項目:
        `VolumeType`

    - #### withVolumeType

          public EbsBlockDevice withVolumeType(java.lang.String volumeType)

      Sets the value of the VolumeType property for this object.

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

      Constraints:
      Allowed Values: standard, io1

      パラメータ:
        `volumeType` - The new value for the VolumeType property for this object.
      関連項目:
        `VolumeType`

    - #### setVolumeType

          public void setVolumeType(VolumeType volumeType)

      Sets the value of the VolumeType property for this object.

      Constraints:
      Allowed Values: standard, io1

      パラメータ:
        `volumeType` - The new value for the VolumeType property for this object.
      関連項目:
        `VolumeType`

    - #### withVolumeType

          public EbsBlockDevice withVolumeType(VolumeType volumeType)

      Sets the value of the VolumeType property for this object.

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

      Constraints:
      Allowed Values: standard, io1

      パラメータ:
        `volumeType` - The new value for the VolumeType property for this object.
      関連項目:
        `VolumeType`

    - #### getIops

          public java.lang.Integer getIops()

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

    - #### setIops

          public void setIops(java.lang.Integer iops)

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

    - #### withIops

          public EbsBlockDevice withIops(java.lang.Integer iops)

      Sets the value of the Iops property for this object.

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

      パラメータ:
        `iops` - The new value for the Iops 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`