com.amazonaws.services.opsworks.model

## クラス Volume

- java.lang.Object
- - com.amazonaws.services.opsworks.model.Volume

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

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

  Describes an instance's Amazon EBS volume.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getAvailabilityZone()` The volume Availability Zone.
    `java.lang.String` | `getDevice()` The device name.
    `java.lang.String` | `getEc2VolumeId()` The Amazon EC2 volume ID.
    `java.lang.String` | `getInstanceId()` The instance ID.
    `java.lang.String` | `getMountPoint()` The volume mount point.
    `java.lang.String` | `getName()` The volume name.
    `java.lang.String` | `getRaidArrayId()` The RAID array ID.
    `java.lang.String` | `getRegion()` The AWS region.
    `java.lang.Integer` | `getSize()` The volume size.
    `java.lang.String` | `getStatus()` The value returned by DescribeVolumes.
    `java.lang.String` | `getVolumeId()` The volume ID.
    `int` | `hashCode()`
    `void` | `setAvailabilityZone(java.lang.String availabilityZone)` The volume Availability Zone.
    `void` | `setDevice(java.lang.String device)` The device name.
    `void` | `setEc2VolumeId(java.lang.String ec2VolumeId)` The Amazon EC2 volume ID.
    `void` | `setInstanceId(java.lang.String instanceId)` The instance ID.
    `void` | `setMountPoint(java.lang.String mountPoint)` The volume mount point.
    `void` | `setName(java.lang.String name)` The volume name.
    `void` | `setRaidArrayId(java.lang.String raidArrayId)` The RAID array ID.
    `void` | `setRegion(java.lang.String region)` The AWS region.
    `void` | `setSize(java.lang.Integer size)` The volume size.
    `void` | `setStatus(java.lang.String status)` The value returned by DescribeVolumes.
    `void` | `setVolumeId(java.lang.String volumeId)` The volume ID.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `Volume` | `withAvailabilityZone(java.lang.String availabilityZone)` The volume Availability Zone.
    `Volume` | `withDevice(java.lang.String device)` The device name.
    `Volume` | `withEc2VolumeId(java.lang.String ec2VolumeId)` The Amazon EC2 volume ID.
    `Volume` | `withInstanceId(java.lang.String instanceId)` The instance ID.
    `Volume` | `withMountPoint(java.lang.String mountPoint)` The volume mount point.
    `Volume` | `withName(java.lang.String name)` The volume name.
    `Volume` | `withRaidArrayId(java.lang.String raidArrayId)` The RAID array ID.
    `Volume` | `withRegion(java.lang.String region)` The AWS region.
    `Volume` | `withSize(java.lang.Integer size)` The volume size.
    `Volume` | `withStatus(java.lang.String status)` The value returned by DescribeVolumes.
    `Volume` | `withVolumeId(java.lang.String volumeId)` The volume ID.

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

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

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

    - #### Volume

          public Volume()

  - ### メソッドの詳細

    - #### getVolumeId

          public java.lang.String getVolumeId()

      The volume ID.
      戻り値:
        The volume ID.

    - #### setVolumeId

          public void setVolumeId(java.lang.String volumeId)

      The volume ID.
      パラメータ:
        `volumeId` - The volume ID.

    - #### withVolumeId

          public Volume withVolumeId(java.lang.String volumeId)

      The volume ID.

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

      パラメータ:
        `volumeId` - The volume ID.

    - #### getEc2VolumeId

          public java.lang.String getEc2VolumeId()

      The Amazon EC2 volume ID.
      戻り値:
        The Amazon EC2 volume ID.

    - #### setEc2VolumeId

          public void setEc2VolumeId(java.lang.String ec2VolumeId)

      The Amazon EC2 volume ID.
      パラメータ:
        `ec2VolumeId` - The Amazon EC2 volume ID.

    - #### withEc2VolumeId

          public Volume withEc2VolumeId(java.lang.String ec2VolumeId)

      The Amazon EC2 volume ID.

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

      パラメータ:
        `ec2VolumeId` - The Amazon EC2 volume ID.

    - #### getName

          public java.lang.String getName()

      The volume name.
      戻り値:
        The volume name.

    - #### setName

          public void setName(java.lang.String name)

      The volume name.
      パラメータ:
        `name` - The volume name.

    - #### withName

          public Volume withName(java.lang.String name)

      The volume name.

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

      パラメータ:
        `name` - The volume name.

    - #### getRaidArrayId

          public java.lang.String getRaidArrayId()

      The RAID array ID.
      戻り値:
        The RAID array ID.

    - #### setRaidArrayId

          public void setRaidArrayId(java.lang.String raidArrayId)

      The RAID array ID.
      パラメータ:
        `raidArrayId` - The RAID array ID.

    - #### withRaidArrayId

          public Volume withRaidArrayId(java.lang.String raidArrayId)

      The RAID array ID.

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

      パラメータ:
        `raidArrayId` - The RAID array ID.

    - #### getInstanceId

          public java.lang.String getInstanceId()

      The instance ID.
      戻り値:
        The instance ID.

    - #### setInstanceId

          public void setInstanceId(java.lang.String instanceId)

      The instance ID.
      パラメータ:
        `instanceId` - The instance ID.

    - #### withInstanceId

          public Volume withInstanceId(java.lang.String instanceId)

      The instance ID.

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

      パラメータ:
        `instanceId` - The instance ID.

    - #### getStatus

          public java.lang.String getStatus()

      The value returned by DescribeVolumes.
      戻り値:
        The value returned by DescribeVolumes.

    - #### setStatus

          public void setStatus(java.lang.String status)

      The value returned by DescribeVolumes.
      パラメータ:
        `status` - The value returned by DescribeVolumes.

    - #### withStatus

          public Volume withStatus(java.lang.String status)

      The value returned by DescribeVolumes.

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

      パラメータ:
        `status` - The value returned by DescribeVolumes.

    - #### getSize

          public java.lang.Integer getSize()

      The volume size.
      戻り値:
        The volume size.

    - #### setSize

          public void setSize(java.lang.Integer size)

      The volume size.
      パラメータ:
        `size` - The volume size.

    - #### withSize

          public Volume withSize(java.lang.Integer size)

      The volume size.

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

      パラメータ:
        `size` - The volume size.

    - #### getDevice

          public java.lang.String getDevice()

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

    - #### setDevice

          public void setDevice(java.lang.String device)

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

    - #### withDevice

          public Volume withDevice(java.lang.String device)

      The device name.

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

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

    - #### getMountPoint

          public java.lang.String getMountPoint()

      The volume mount point. For example "/dev/sdh".
      戻り値:
        The volume mount point. For example "/dev/sdh".

    - #### setMountPoint

          public void setMountPoint(java.lang.String mountPoint)

      The volume mount point. For example "/dev/sdh".
      パラメータ:
        `mountPoint` - The volume mount point. For example "/dev/sdh".

    - #### withMountPoint

          public Volume withMountPoint(java.lang.String mountPoint)

      The volume mount point. For example "/dev/sdh".

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

      パラメータ:
        `mountPoint` - The volume mount point. For example "/dev/sdh".

    - #### getRegion

          public java.lang.String getRegion()

      The AWS region. For more information about AWS regions, see Regions and Endpoints.
      戻り値:
        The AWS region. For more information about AWS regions, see Regions and Endpoints.

    - #### setRegion

          public void setRegion(java.lang.String region)

      The AWS region. For more information about AWS regions, see Regions and Endpoints.
      パラメータ:
        `region` - The AWS region. For more information about AWS regions, see Regions and Endpoints.

    - #### withRegion

          public Volume withRegion(java.lang.String region)

      The AWS region. For more information about AWS regions, see Regions and Endpoints.

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

      パラメータ:
        `region` - The AWS region. For more information about AWS regions, see Regions and Endpoints.

    - #### getAvailabilityZone

          public java.lang.String getAvailabilityZone()

      The volume Availability Zone. For more information, see Regions and Endpoints.
      戻り値:
        The volume Availability Zone. For more information, see Regions and Endpoints.

    - #### setAvailabilityZone

          public void setAvailabilityZone(java.lang.String availabilityZone)

      The volume Availability Zone. For more information, see Regions and Endpoints.
      パラメータ:
        `availabilityZone` - The volume Availability Zone. For more information, see Regions and Endpoints.

    - #### withAvailabilityZone

          public Volume withAvailabilityZone(java.lang.String availabilityZone)

      The volume Availability Zone. For more information, see Regions and Endpoints.

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

      パラメータ:
        `availabilityZone` - The volume Availability Zone. For more information, see Regions and Endpoints.

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