com.amazonaws.services.storagegateway.model

## クラス CachediSCSIVolume

- java.lang.Object
- - com.amazonaws.services.storagegateway.model.CachediSCSIVolume

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

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

  Describes a cached storage volume.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getSourceSnapshotId()` If the cached volume was created from a snapshot, this field contains the snapshot ID used, e.g. snap-1122aabb.
    `java.lang.String` | `getVolumeARN()` The Amazon Resource Name (ARN) of the storage volume.
    `java.lang.String` | `getVolumeId()` The unique identifier of the storage volume, e.g. vol-1122AABB.
    `VolumeiSCSIAttributes` | `getVolumeiSCSIAttributes()` Lists iSCSI information about a volume.
    `java.lang.Double` | `getVolumeProgress()` The percentage complete if the volume is restoring or bootstrapping that represents the percent of data transferred.
    `java.lang.Long` | `getVolumeSizeInBytes()` The size of the volume in bytes that was specified in the API_CreateCachediSCSIVolume operation.
    `java.lang.String` | `getVolumeStatus()` A value that indicates the state of the volume.
    `java.lang.String` | `getVolumeType()` A value describing the type of volume.
    `int` | `hashCode()`
    `void` | `setSourceSnapshotId(java.lang.String sourceSnapshotId)` If the cached volume was created from a snapshot, this field contains the snapshot ID used, e.g. snap-1122aabb.
    `void` | `setVolumeARN(java.lang.String volumeARN)` The Amazon Resource Name (ARN) of the storage volume.
    `void` | `setVolumeId(java.lang.String volumeId)` The unique identifier of the storage volume, e.g. vol-1122AABB.
    `void` | `setVolumeiSCSIAttributes(VolumeiSCSIAttributes volumeiSCSIAttributes)` Lists iSCSI information about a volume.
    `void` | `setVolumeProgress(java.lang.Double volumeProgress)` The percentage complete if the volume is restoring or bootstrapping that represents the percent of data transferred.
    `void` | `setVolumeSizeInBytes(java.lang.Long volumeSizeInBytes)` The size of the volume in bytes that was specified in the API_CreateCachediSCSIVolume operation.
    `void` | `setVolumeStatus(java.lang.String volumeStatus)` A value that indicates the state of the volume.
    `void` | `setVolumeStatus(VolumeStatus volumeStatus)` A value that indicates the state of the volume.
    `void` | `setVolumeType(java.lang.String volumeType)` A value describing the type of volume.
    `void` | `setVolumeType(VolumeType volumeType)` A value describing the type of volume.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `CachediSCSIVolume` | `withSourceSnapshotId(java.lang.String sourceSnapshotId)` If the cached volume was created from a snapshot, this field contains the snapshot ID used, e.g. snap-1122aabb.
    `CachediSCSIVolume` | `withVolumeARN(java.lang.String volumeARN)` The Amazon Resource Name (ARN) of the storage volume.
    `CachediSCSIVolume` | `withVolumeId(java.lang.String volumeId)` The unique identifier of the storage volume, e.g. vol-1122AABB.
    `CachediSCSIVolume` | `withVolumeiSCSIAttributes(VolumeiSCSIAttributes volumeiSCSIAttributes)` Lists iSCSI information about a volume.
    `CachediSCSIVolume` | `withVolumeProgress(java.lang.Double volumeProgress)` The percentage complete if the volume is restoring or bootstrapping that represents the percent of data transferred.
    `CachediSCSIVolume` | `withVolumeSizeInBytes(java.lang.Long volumeSizeInBytes)` The size of the volume in bytes that was specified in the API_CreateCachediSCSIVolume operation.
    `CachediSCSIVolume` | `withVolumeStatus(java.lang.String volumeStatus)` A value that indicates the state of the volume.
    `CachediSCSIVolume` | `withVolumeStatus(VolumeStatus volumeStatus)` A value that indicates the state of the volume.
    `CachediSCSIVolume` | `withVolumeType(java.lang.String volumeType)` A value describing the type of volume.
    `CachediSCSIVolume` | `withVolumeType(VolumeType volumeType)` A value describing the type of volume.

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

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

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

    - #### CachediSCSIVolume

          public CachediSCSIVolume()

  - ### メソッドの詳細

    - #### getVolumeARN

          public java.lang.String getVolumeARN()

      The Amazon Resource Name (ARN) of the storage volume.

      Constraints:
      Length: 50 - 500

      戻り値:
        The Amazon Resource Name (ARN) of the storage volume.

    - #### setVolumeARN

          public void setVolumeARN(java.lang.String volumeARN)

      The Amazon Resource Name (ARN) of the storage volume.

      Constraints:
      Length: 50 - 500

      パラメータ:
        `volumeARN` - The Amazon Resource Name (ARN) of the storage volume.

    - #### withVolumeARN

          public CachediSCSIVolume withVolumeARN(java.lang.String volumeARN)

      The Amazon Resource Name (ARN) of the storage volume.

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

      Constraints:
      Length: 50 - 500

      パラメータ:
        `volumeARN` - The Amazon Resource Name (ARN) of the storage volume.

    - #### getVolumeId

          public java.lang.String getVolumeId()

      The unique identifier of the storage volume, e.g. vol-1122AABB.

      Constraints:
      Length: 12 - 30

      戻り値:
        The unique identifier of the storage volume, e.g. vol-1122AABB.

    - #### setVolumeId

          public void setVolumeId(java.lang.String volumeId)

      The unique identifier of the storage volume, e.g. vol-1122AABB.

      Constraints:
      Length: 12 - 30

      パラメータ:
        `volumeId` - The unique identifier of the storage volume, e.g. vol-1122AABB.

    - #### withVolumeId

          public CachediSCSIVolume withVolumeId(java.lang.String volumeId)

      The unique identifier of the storage volume, e.g. vol-1122AABB.

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

      Constraints:
      Length: 12 - 30

      パラメータ:
        `volumeId` - The unique identifier of the storage volume, e.g. vol-1122AABB.

    - #### getVolumeType

          public java.lang.String getVolumeType()

      A value describing the type of volume.

      Constraints:
      Allowed Values: STORED iSCSI, CACHED iSCSI

      戻り値:
        A value describing the type of volume.
      関連項目:
        `VolumeType`

    - #### setVolumeType

          public void setVolumeType(java.lang.String volumeType)

      A value describing the type of volume.

      Constraints:
      Allowed Values: STORED iSCSI, CACHED iSCSI

      パラメータ:
        `volumeType` - A value describing the type of volume.
      関連項目:
        `VolumeType`

    - #### withVolumeType

          public CachediSCSIVolume withVolumeType(java.lang.String volumeType)

      A value describing the type of volume.

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

      Constraints:
      Allowed Values: STORED iSCSI, CACHED iSCSI

      パラメータ:
        `volumeType` - A value describing the type of volume.
      関連項目:
        `VolumeType`

    - #### setVolumeType

          public void setVolumeType(VolumeType volumeType)

      A value describing the type of volume.

      Constraints:
      Allowed Values: STORED iSCSI, CACHED iSCSI

      パラメータ:
        `volumeType` - A value describing the type of volume.
      関連項目:
        `VolumeType`

    - #### withVolumeType

          public CachediSCSIVolume withVolumeType(VolumeType volumeType)

      A value describing the type of volume.

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

      Constraints:
      Allowed Values: STORED iSCSI, CACHED iSCSI

      パラメータ:
        `volumeType` - A value describing the type of volume.
      関連項目:
        `VolumeType`

    - #### getVolumeStatus

          public java.lang.String getVolumeStatus()

      A value that indicates the state of the volume.

      Constraints:
      Allowed Values: CREATING, AVAILABLE, RESTORING, BOOTSTRAPPING, IRRECOVERABLE, PASS THROUGH, RESTORE AND PASS THROUGH, DELETED, WORKING STORAGE NOT CONFIGURED, UPLOAD BUFFER NOT CONFIGURED

      戻り値:
        A value that indicates the state of the volume.
      関連項目:
        `VolumeStatus`

    - #### setVolumeStatus

          public void setVolumeStatus(java.lang.String volumeStatus)

      A value that indicates the state of the volume.

      Constraints:
      Allowed Values: CREATING, AVAILABLE, RESTORING, BOOTSTRAPPING, IRRECOVERABLE, PASS THROUGH, RESTORE AND PASS THROUGH, DELETED, WORKING STORAGE NOT CONFIGURED, UPLOAD BUFFER NOT CONFIGURED

      パラメータ:
        `volumeStatus` - A value that indicates the state of the volume.
      関連項目:
        `VolumeStatus`

    - #### withVolumeStatus

          public CachediSCSIVolume withVolumeStatus(java.lang.String volumeStatus)

      A value that indicates the state of the volume.

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

      Constraints:
      Allowed Values: CREATING, AVAILABLE, RESTORING, BOOTSTRAPPING, IRRECOVERABLE, PASS THROUGH, RESTORE AND PASS THROUGH, DELETED, WORKING STORAGE NOT CONFIGURED, UPLOAD BUFFER NOT CONFIGURED

      パラメータ:
        `volumeStatus` - A value that indicates the state of the volume.
      関連項目:
        `VolumeStatus`

    - #### setVolumeStatus

          public void setVolumeStatus(VolumeStatus volumeStatus)

      A value that indicates the state of the volume.

      Constraints:
      Allowed Values: CREATING, AVAILABLE, RESTORING, BOOTSTRAPPING, IRRECOVERABLE, PASS THROUGH, RESTORE AND PASS THROUGH, DELETED, WORKING STORAGE NOT CONFIGURED, UPLOAD BUFFER NOT CONFIGURED

      パラメータ:
        `volumeStatus` - A value that indicates the state of the volume.
      関連項目:
        `VolumeStatus`

    - #### withVolumeStatus

          public CachediSCSIVolume withVolumeStatus(VolumeStatus volumeStatus)

      A value that indicates the state of the volume.

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

      Constraints:
      Allowed Values: CREATING, AVAILABLE, RESTORING, BOOTSTRAPPING, IRRECOVERABLE, PASS THROUGH, RESTORE AND PASS THROUGH, DELETED, WORKING STORAGE NOT CONFIGURED, UPLOAD BUFFER NOT CONFIGURED

      パラメータ:
        `volumeStatus` - A value that indicates the state of the volume.
      関連項目:
        `VolumeStatus`

    - #### getVolumeSizeInBytes

          public java.lang.Long getVolumeSizeInBytes()

      The size of the volume in bytes that was specified in the API_CreateCachediSCSIVolume operation.
      戻り値:
        The size of the volume in bytes that was specified in the API_CreateCachediSCSIVolume operation.

    - #### setVolumeSizeInBytes

          public void setVolumeSizeInBytes(java.lang.Long volumeSizeInBytes)

      The size of the volume in bytes that was specified in the API_CreateCachediSCSIVolume operation.
      パラメータ:
        `volumeSizeInBytes` - The size of the volume in bytes that was specified in the API_CreateCachediSCSIVolume operation.

    - #### withVolumeSizeInBytes

          public CachediSCSIVolume withVolumeSizeInBytes(java.lang.Long volumeSizeInBytes)

      The size of the volume in bytes that was specified in the API_CreateCachediSCSIVolume operation.

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

      パラメータ:
        `volumeSizeInBytes` - The size of the volume in bytes that was specified in the API_CreateCachediSCSIVolume operation.

    - #### getVolumeProgress

          public java.lang.Double getVolumeProgress()

      The percentage complete if the volume is restoring or bootstrapping that represents the percent of data transferred. This field does not appear in the response if the stored volume is not restoring or bootstrapping.
      戻り値:
        The percentage complete if the volume is restoring or bootstrapping that represents the percent of data transferred. This field does not appear in the response if the stored volume is not restoring or bootstrapping.

    - #### setVolumeProgress

          public void setVolumeProgress(java.lang.Double volumeProgress)

      The percentage complete if the volume is restoring or bootstrapping that represents the percent of data transferred. This field does not appear in the response if the stored volume is not restoring or bootstrapping.
      パラメータ:
        `volumeProgress` - The percentage complete if the volume is restoring or bootstrapping that represents the percent of data transferred. This field does not appear in the response if the stored volume is not restoring or bootstrapping.

    - #### withVolumeProgress

          public CachediSCSIVolume withVolumeProgress(java.lang.Double volumeProgress)

      The percentage complete if the volume is restoring or bootstrapping that represents the percent of data transferred. This field does not appear in the response if the stored volume is not restoring or bootstrapping.

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

      パラメータ:
        `volumeProgress` - The percentage complete if the volume is restoring or bootstrapping that represents the percent of data transferred. This field does not appear in the response if the stored volume is not restoring or bootstrapping.

    - #### getSourceSnapshotId

          public java.lang.String getSourceSnapshotId()

      If the cached volume was created from a snapshot, this field contains the snapshot ID used, e.g. snap-1122aabb. Otherwise, this field is not included.

      Constraints:
      Pattern: \Asnap-[0-9a-fA-F]{8}\z

      戻り値:
        If the cached volume was created from a snapshot, this field contains the snapshot ID used, e.g. snap-1122aabb. Otherwise, this field is not included.

    - #### setSourceSnapshotId

          public void setSourceSnapshotId(java.lang.String sourceSnapshotId)

      If the cached volume was created from a snapshot, this field contains the snapshot ID used, e.g. snap-1122aabb. Otherwise, this field is not included.

      Constraints:
      Pattern: \Asnap-[0-9a-fA-F]{8}\z

      パラメータ:
        `sourceSnapshotId` - If the cached volume was created from a snapshot, this field contains the snapshot ID used, e.g. snap-1122aabb. Otherwise, this field is not included.

    - #### withSourceSnapshotId

          public CachediSCSIVolume withSourceSnapshotId(java.lang.String sourceSnapshotId)

      If the cached volume was created from a snapshot, this field contains the snapshot ID used, e.g. snap-1122aabb. Otherwise, this field is not included.

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

      Constraints:
      Pattern: \Asnap-[0-9a-fA-F]{8}\z

      パラメータ:
        `sourceSnapshotId` - If the cached volume was created from a snapshot, this field contains the snapshot ID used, e.g. snap-1122aabb. Otherwise, this field is not included.

    - #### getVolumeiSCSIAttributes

          public VolumeiSCSIAttributes getVolumeiSCSIAttributes()

      Lists iSCSI information about a volume.
      戻り値:
        Lists iSCSI information about a volume.

    - #### setVolumeiSCSIAttributes

          public void setVolumeiSCSIAttributes(VolumeiSCSIAttributes volumeiSCSIAttributes)

      Lists iSCSI information about a volume.
      パラメータ:
        `volumeiSCSIAttributes` - Lists iSCSI information about a volume.

    - #### withVolumeiSCSIAttributes

          public CachediSCSIVolume withVolumeiSCSIAttributes(VolumeiSCSIAttributes volumeiSCSIAttributes)

      Lists iSCSI information about a volume.

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

      パラメータ:
        `volumeiSCSIAttributes` - Lists iSCSI information about a volume.

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