com.amazonaws.services.storagegateway.model

## クラス StorediSCSIVolume

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

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

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

  Describes an iSCSI stored volume.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.Boolean` | `getPreservedExistingData()` Indicates if when the stored volume was created, existing data on the underlying local disk was preserved.
    `java.lang.String` | `getSourceSnapshotId()` If the stored volume was created from a snapshot, this field contains the snapshot ID used, e.g. snap-78e22663.
    `java.lang.String` | `getVolumeARN()` The Amazon Resource Name (ARN) of the storage volume.
    `java.lang.String` | `getVolumeDiskId()` The disk ID of the local disk that was specified in the CreateStorediSCSIVolume operation.
    `java.lang.String` | `getVolumeId()` The unique identifier of the volume, e.g. vol-AE4B946D.
    `VolumeiSCSIAttributes` | `getVolumeiSCSIAttributes()` An VolumeiSCSIAttributes object that represents a collection of iSCSI attributes for one stored volume.
    `java.lang.Double` | `getVolumeProgress()` Represents 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.
    `java.lang.String` | `getVolumeStatus()` One of the VolumeStatus values that indicates the state of the storage volume.
    `java.lang.String` | `getVolumeType()` One of the VolumeType enumeration values describing the type of the volume.
    `int` | `hashCode()`
    `java.lang.Boolean` | `isPreservedExistingData()` Indicates if when the stored volume was created, existing data on the underlying local disk was preserved.
    `void` | `setPreservedExistingData(java.lang.Boolean preservedExistingData)` Indicates if when the stored volume was created, existing data on the underlying local disk was preserved.
    `void` | `setSourceSnapshotId(java.lang.String sourceSnapshotId)` If the stored volume was created from a snapshot, this field contains the snapshot ID used, e.g. snap-78e22663.
    `void` | `setVolumeARN(java.lang.String volumeARN)` The Amazon Resource Name (ARN) of the storage volume.
    `void` | `setVolumeDiskId(java.lang.String volumeDiskId)` The disk ID of the local disk that was specified in the CreateStorediSCSIVolume operation.
    `void` | `setVolumeId(java.lang.String volumeId)` The unique identifier of the volume, e.g. vol-AE4B946D.
    `void` | `setVolumeiSCSIAttributes(VolumeiSCSIAttributes volumeiSCSIAttributes)` An VolumeiSCSIAttributes object that represents a collection of iSCSI attributes for one stored volume.
    `void` | `setVolumeProgress(java.lang.Double volumeProgress)` Represents 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.
    `void` | `setVolumeStatus(java.lang.String volumeStatus)` One of the VolumeStatus values that indicates the state of the storage volume.
    `void` | `setVolumeStatus(VolumeStatus volumeStatus)` One of the VolumeStatus values that indicates the state of the storage volume.
    `void` | `setVolumeType(java.lang.String volumeType)` One of the VolumeType enumeration values describing the type of the volume.
    `void` | `setVolumeType(VolumeType volumeType)` One of the VolumeType enumeration values describing the type of the volume.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `StorediSCSIVolume` | `withPreservedExistingData(java.lang.Boolean preservedExistingData)` Indicates if when the stored volume was created, existing data on the underlying local disk was preserved.
    `StorediSCSIVolume` | `withSourceSnapshotId(java.lang.String sourceSnapshotId)` If the stored volume was created from a snapshot, this field contains the snapshot ID used, e.g. snap-78e22663.
    `StorediSCSIVolume` | `withVolumeARN(java.lang.String volumeARN)` The Amazon Resource Name (ARN) of the storage volume.
    `StorediSCSIVolume` | `withVolumeDiskId(java.lang.String volumeDiskId)` The disk ID of the local disk that was specified in the CreateStorediSCSIVolume operation.
    `StorediSCSIVolume` | `withVolumeId(java.lang.String volumeId)` The unique identifier of the volume, e.g. vol-AE4B946D.
    `StorediSCSIVolume` | `withVolumeiSCSIAttributes(VolumeiSCSIAttributes volumeiSCSIAttributes)` An VolumeiSCSIAttributes object that represents a collection of iSCSI attributes for one stored volume.
    `StorediSCSIVolume` | `withVolumeProgress(java.lang.Double volumeProgress)` Represents the percentage complete if the volume is restoring or bootstrapping that represents the percent of data transferred.
    `StorediSCSIVolume` | `withVolumeSizeInBytes(java.lang.Long volumeSizeInBytes)` The size of the volume in bytes.
    `StorediSCSIVolume` | `withVolumeStatus(java.lang.String volumeStatus)` One of the VolumeStatus values that indicates the state of the storage volume.
    `StorediSCSIVolume` | `withVolumeStatus(VolumeStatus volumeStatus)` One of the VolumeStatus values that indicates the state of the storage volume.
    `StorediSCSIVolume` | `withVolumeType(java.lang.String volumeType)` One of the VolumeType enumeration values describing the type of the volume.
    `StorediSCSIVolume` | `withVolumeType(VolumeType volumeType)` One of the VolumeType enumeration values describing the type of the volume.

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

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

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

    - #### StorediSCSIVolume

          public StorediSCSIVolume()

  - ### メソッドの詳細

    - #### 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 StorediSCSIVolume 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 volume, e.g. vol-AE4B946D.

      Constraints:
      Length: 12 - 30

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

    - #### setVolumeId

          public void setVolumeId(java.lang.String volumeId)

      The unique identifier of the volume, e.g. vol-AE4B946D.

      Constraints:
      Length: 12 - 30

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

    - #### withVolumeId

          public StorediSCSIVolume withVolumeId(java.lang.String volumeId)

      The unique identifier of the volume, e.g. vol-AE4B946D.

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

      Constraints:
      Length: 12 - 30

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

    - #### getVolumeType

          public java.lang.String getVolumeType()

      One of the VolumeType enumeration values describing the type of the volume.

      Constraints:
      Allowed Values: STORED iSCSI, CACHED iSCSI

      戻り値:
        One of the VolumeType enumeration values describing the type of the volume.
      関連項目:
        `VolumeType`

    - #### setVolumeType

          public void setVolumeType(java.lang.String volumeType)

      One of the VolumeType enumeration values describing the type of the volume.

      Constraints:
      Allowed Values: STORED iSCSI, CACHED iSCSI

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

    - #### withVolumeType

          public StorediSCSIVolume withVolumeType(java.lang.String volumeType)

      One of the VolumeType enumeration values describing the type of the volume.

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

      Constraints:
      Allowed Values: STORED iSCSI, CACHED iSCSI

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

    - #### setVolumeType

          public void setVolumeType(VolumeType volumeType)

      One of the VolumeType enumeration values describing the type of the volume.

      Constraints:
      Allowed Values: STORED iSCSI, CACHED iSCSI

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

    - #### withVolumeType

          public StorediSCSIVolume withVolumeType(VolumeType volumeType)

      One of the VolumeType enumeration values describing the type of the volume.

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

      Constraints:
      Allowed Values: STORED iSCSI, CACHED iSCSI

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

    - #### getVolumeStatus

          public java.lang.String getVolumeStatus()

      One of the VolumeStatus values that indicates the state of the storage volume.

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

      戻り値:
        One of the VolumeStatus values that indicates the state of the storage volume.
      関連項目:
        `VolumeStatus`

    - #### setVolumeStatus

          public void setVolumeStatus(java.lang.String volumeStatus)

      One of the VolumeStatus values that indicates the state of the storage 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` - One of the VolumeStatus values that indicates the state of the storage volume.
      関連項目:
        `VolumeStatus`

    - #### withVolumeStatus

          public StorediSCSIVolume withVolumeStatus(java.lang.String volumeStatus)

      One of the VolumeStatus values that indicates the state of the storage 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` - One of the VolumeStatus values that indicates the state of the storage volume.
      関連項目:
        `VolumeStatus`

    - #### setVolumeStatus

          public void setVolumeStatus(VolumeStatus volumeStatus)

      One of the VolumeStatus values that indicates the state of the storage 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` - One of the VolumeStatus values that indicates the state of the storage volume.
      関連項目:
        `VolumeStatus`

    - #### withVolumeStatus

          public StorediSCSIVolume withVolumeStatus(VolumeStatus volumeStatus)

      One of the VolumeStatus values that indicates the state of the storage 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` - One of the VolumeStatus values that indicates the state of the storage volume.
      関連項目:
        `VolumeStatus`

    - #### getVolumeSizeInBytes

          public java.lang.Long getVolumeSizeInBytes()

      The size of the volume in bytes.
      戻り値:
        The size of the volume in bytes.

    - #### setVolumeSizeInBytes

          public void setVolumeSizeInBytes(java.lang.Long volumeSizeInBytes)

      The size of the volume in bytes.
      パラメータ:
        `volumeSizeInBytes` - The size of the volume in bytes.

    - #### withVolumeSizeInBytes

          public StorediSCSIVolume withVolumeSizeInBytes(java.lang.Long volumeSizeInBytes)

      The size of the volume in bytes.

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

      パラメータ:
        `volumeSizeInBytes` - The size of the volume in bytes.

    - #### getVolumeProgress

          public java.lang.Double getVolumeProgress()

      Represents 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.
      戻り値:
        Represents 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)

      Represents 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` - Represents 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 StorediSCSIVolume withVolumeProgress(java.lang.Double volumeProgress)

      Represents 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` - Represents 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.

    - #### getVolumeDiskId

          public java.lang.String getVolumeDiskId()

      The disk ID of the local disk that was specified in the CreateStorediSCSIVolume operation.

      Constraints:
      Length: 1 - 300

      戻り値:
        The disk ID of the local disk that was specified in the CreateStorediSCSIVolume operation.

    - #### setVolumeDiskId

          public void setVolumeDiskId(java.lang.String volumeDiskId)

      The disk ID of the local disk that was specified in the CreateStorediSCSIVolume operation.

      Constraints:
      Length: 1 - 300

      パラメータ:
        `volumeDiskId` - The disk ID of the local disk that was specified in the CreateStorediSCSIVolume operation.

    - #### withVolumeDiskId

          public StorediSCSIVolume withVolumeDiskId(java.lang.String volumeDiskId)

      The disk ID of the local disk that was specified in the CreateStorediSCSIVolume operation.

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

      Constraints:
      Length: 1 - 300

      パラメータ:
        `volumeDiskId` - The disk ID of the local disk that was specified in the CreateStorediSCSIVolume operation.

    - #### getSourceSnapshotId

          public java.lang.String getSourceSnapshotId()

      If the stored volume was created from a snapshot, this field contains the snapshot ID used, e.g. snap-78e22663. Otherwise, this field is not included.

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

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

    - #### setSourceSnapshotId

          public void setSourceSnapshotId(java.lang.String sourceSnapshotId)

      If the stored volume was created from a snapshot, this field contains the snapshot ID used, e.g. snap-78e22663. Otherwise, this field is not included.

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

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

    - #### withSourceSnapshotId

          public StorediSCSIVolume withSourceSnapshotId(java.lang.String sourceSnapshotId)

      If the stored volume was created from a snapshot, this field contains the snapshot ID used, e.g. snap-78e22663. 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 stored volume was created from a snapshot, this field contains the snapshot ID used, e.g. snap-78e22663. Otherwise, this field is not included.

    - #### isPreservedExistingData

          public java.lang.Boolean isPreservedExistingData()

      Indicates if when the stored volume was created, existing data on the underlying local disk was preserved.

      Valid Values: true, false

      戻り値:
        Indicates if when the stored volume was created, existing data on the underlying local disk was preserved.

        Valid Values: true, false

    - #### setPreservedExistingData

          public void setPreservedExistingData(java.lang.Boolean preservedExistingData)

      Indicates if when the stored volume was created, existing data on the underlying local disk was preserved.

      Valid Values: true, false

      パラメータ:
        `preservedExistingData` - Indicates if when the stored volume was created, existing data on the underlying local disk was preserved.

        Valid Values: true, false

    - #### withPreservedExistingData

          public StorediSCSIVolume withPreservedExistingData(java.lang.Boolean preservedExistingData)

      Indicates if when the stored volume was created, existing data on the underlying local disk was preserved.

      Valid Values: true, false

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

      パラメータ:
        `preservedExistingData` - Indicates if when the stored volume was created, existing data on the underlying local disk was preserved.

        Valid Values: true, false

    - #### getPreservedExistingData

          public java.lang.Boolean getPreservedExistingData()

      Indicates if when the stored volume was created, existing data on the underlying local disk was preserved.

      Valid Values: true, false

      戻り値:
        Indicates if when the stored volume was created, existing data on the underlying local disk was preserved.

        Valid Values: true, false

    - #### getVolumeiSCSIAttributes

          public VolumeiSCSIAttributes getVolumeiSCSIAttributes()

      An VolumeiSCSIAttributes object that represents a collection of iSCSI attributes for one stored volume.
      戻り値:
        An VolumeiSCSIAttributes object that represents a collection of iSCSI attributes for one stored volume.

    - #### setVolumeiSCSIAttributes

          public void setVolumeiSCSIAttributes(VolumeiSCSIAttributes volumeiSCSIAttributes)

      An VolumeiSCSIAttributes object that represents a collection of iSCSI attributes for one stored volume.
      パラメータ:
        `volumeiSCSIAttributes` - An VolumeiSCSIAttributes object that represents a collection of iSCSI attributes for one stored volume.

    - #### withVolumeiSCSIAttributes

          public StorediSCSIVolume withVolumeiSCSIAttributes(VolumeiSCSIAttributes volumeiSCSIAttributes)

      An VolumeiSCSIAttributes object that represents a collection of iSCSI attributes for one stored volume.

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

      パラメータ:
        `volumeiSCSIAttributes` - An VolumeiSCSIAttributes object that represents a collection of iSCSI attributes for one stored 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`