com.amazonaws.services.storagegateway.model

## クラス Disk

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

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

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

  Describes a gateway local disk.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getDiskAllocationResource()` The iSCSI Qualified Name (IQN) that is defined for the disk.
    `java.lang.String` | `getDiskAllocationType()` One of the DiskAllocationType enumeration values that identifies how the local disk is used.
    `java.lang.String` | `getDiskId()` The unique device ID or other distinguishing data that identify the local disk.
    `java.lang.String` | `getDiskNode()` The device node of the local disk as assigned by the virtualization environment.
    `java.lang.String` | `getDiskPath()` The path of the local disk in the gateway virtual machine (VM).
    `java.lang.Long` | `getDiskSizeInBytes()` The local disk size in bytes.
    `int` | `hashCode()`
    `void` | `setDiskAllocationResource(java.lang.String diskAllocationResource)` The iSCSI Qualified Name (IQN) that is defined for the disk.
    `void` | `setDiskAllocationType(DiskAllocationType diskAllocationType)` One of the DiskAllocationType enumeration values that identifies how the local disk is used.
    `void` | `setDiskAllocationType(java.lang.String diskAllocationType)` One of the DiskAllocationType enumeration values that identifies how the local disk is used.
    `void` | `setDiskId(java.lang.String diskId)` The unique device ID or other distinguishing data that identify the local disk.
    `void` | `setDiskNode(java.lang.String diskNode)` The device node of the local disk as assigned by the virtualization environment.
    `void` | `setDiskPath(java.lang.String diskPath)` The path of the local disk in the gateway virtual machine (VM).
    `void` | `setDiskSizeInBytes(java.lang.Long diskSizeInBytes)` The local disk size in bytes.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `Disk` | `withDiskAllocationResource(java.lang.String diskAllocationResource)` The iSCSI Qualified Name (IQN) that is defined for the disk.
    `Disk` | `withDiskAllocationType(DiskAllocationType diskAllocationType)` One of the DiskAllocationType enumeration values that identifies how the local disk is used.
    `Disk` | `withDiskAllocationType(java.lang.String diskAllocationType)` One of the DiskAllocationType enumeration values that identifies how the local disk is used.
    `Disk` | `withDiskId(java.lang.String diskId)` The unique device ID or other distinguishing data that identify the local disk.
    `Disk` | `withDiskNode(java.lang.String diskNode)` The device node of the local disk as assigned by the virtualization environment.
    `Disk` | `withDiskPath(java.lang.String diskPath)` The path of the local disk in the gateway virtual machine (VM).
    `Disk` | `withDiskSizeInBytes(java.lang.Long diskSizeInBytes)` The local disk size in bytes.

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

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

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

    - #### Disk

          public Disk()

  - ### メソッドの詳細

    - #### getDiskId

          public java.lang.String getDiskId()

      The unique device ID or other distinguishing data that identify the local disk.

      Constraints:
      Length: 1 - 300

      戻り値:
        The unique device ID or other distinguishing data that identify the local disk.

    - #### setDiskId

          public void setDiskId(java.lang.String diskId)

      The unique device ID or other distinguishing data that identify the local disk.

      Constraints:
      Length: 1 - 300

      パラメータ:
        `diskId` - The unique device ID or other distinguishing data that identify the local disk.

    - #### withDiskId

          public Disk withDiskId(java.lang.String diskId)

      The unique device ID or other distinguishing data that identify the local disk.

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

      Constraints:
      Length: 1 - 300

      パラメータ:
        `diskId` - The unique device ID or other distinguishing data that identify the local disk.

    - #### getDiskPath

          public java.lang.String getDiskPath()

      The path of the local disk in the gateway virtual machine (VM).
      戻り値:
        The path of the local disk in the gateway virtual machine (VM).

    - #### setDiskPath

          public void setDiskPath(java.lang.String diskPath)

      The path of the local disk in the gateway virtual machine (VM).
      パラメータ:
        `diskPath` - The path of the local disk in the gateway virtual machine (VM).

    - #### withDiskPath

          public Disk withDiskPath(java.lang.String diskPath)

      The path of the local disk in the gateway virtual machine (VM).

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

      パラメータ:
        `diskPath` - The path of the local disk in the gateway virtual machine (VM).

    - #### getDiskNode

          public java.lang.String getDiskNode()

      The device node of the local disk as assigned by the virtualization environment.
      戻り値:
        The device node of the local disk as assigned by the virtualization environment.

    - #### setDiskNode

          public void setDiskNode(java.lang.String diskNode)

      The device node of the local disk as assigned by the virtualization environment.
      パラメータ:
        `diskNode` - The device node of the local disk as assigned by the virtualization environment.

    - #### withDiskNode

          public Disk withDiskNode(java.lang.String diskNode)

      The device node of the local disk as assigned by the virtualization environment.

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

      パラメータ:
        `diskNode` - The device node of the local disk as assigned by the virtualization environment.

    - #### getDiskSizeInBytes

          public java.lang.Long getDiskSizeInBytes()

      The local disk size in bytes.
      戻り値:
        The local disk size in bytes.

    - #### setDiskSizeInBytes

          public void setDiskSizeInBytes(java.lang.Long diskSizeInBytes)

      The local disk size in bytes.
      パラメータ:
        `diskSizeInBytes` - The local disk size in bytes.

    - #### withDiskSizeInBytes

          public Disk withDiskSizeInBytes(java.lang.Long diskSizeInBytes)

      The local disk size in bytes.

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

      パラメータ:
        `diskSizeInBytes` - The local disk size in bytes.

    - #### getDiskAllocationType

          public java.lang.String getDiskAllocationType()

      One of the DiskAllocationType enumeration values that identifies how the local disk is used.

      Constraints:
      Allowed Values: AVAILABLE, CACHE STORAGE, STORED iSCSI VOLUME, UPLOAD BUFFER, WORKING STORAGE

      戻り値:
        One of the DiskAllocationType enumeration values that identifies how the local disk is used.
      関連項目:
        `DiskAllocationType`

    - #### setDiskAllocationType

          public void setDiskAllocationType(java.lang.String diskAllocationType)

      One of the DiskAllocationType enumeration values that identifies how the local disk is used.

      Constraints:
      Allowed Values: AVAILABLE, CACHE STORAGE, STORED iSCSI VOLUME, UPLOAD BUFFER, WORKING STORAGE

      パラメータ:
        `diskAllocationType` - One of the DiskAllocationType enumeration values that identifies how the local disk is used.
      関連項目:
        `DiskAllocationType`

    - #### withDiskAllocationType

          public Disk withDiskAllocationType(java.lang.String diskAllocationType)

      One of the DiskAllocationType enumeration values that identifies how the local disk is used.

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

      Constraints:
      Allowed Values: AVAILABLE, CACHE STORAGE, STORED iSCSI VOLUME, UPLOAD BUFFER, WORKING STORAGE

      パラメータ:
        `diskAllocationType` - One of the DiskAllocationType enumeration values that identifies how the local disk is used.
      関連項目:
        `DiskAllocationType`

    - #### setDiskAllocationType

          public void setDiskAllocationType(DiskAllocationType diskAllocationType)

      One of the DiskAllocationType enumeration values that identifies how the local disk is used.

      Constraints:
      Allowed Values: AVAILABLE, CACHE STORAGE, STORED iSCSI VOLUME, UPLOAD BUFFER, WORKING STORAGE

      パラメータ:
        `diskAllocationType` - One of the DiskAllocationType enumeration values that identifies how the local disk is used.
      関連項目:
        `DiskAllocationType`

    - #### withDiskAllocationType

          public Disk withDiskAllocationType(DiskAllocationType diskAllocationType)

      One of the DiskAllocationType enumeration values that identifies how the local disk is used.

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

      Constraints:
      Allowed Values: AVAILABLE, CACHE STORAGE, STORED iSCSI VOLUME, UPLOAD BUFFER, WORKING STORAGE

      パラメータ:
        `diskAllocationType` - One of the DiskAllocationType enumeration values that identifies how the local disk is used.
      関連項目:
        `DiskAllocationType`

    - #### getDiskAllocationResource

          public java.lang.String getDiskAllocationResource()

      The iSCSI Qualified Name (IQN) that is defined for the disk. This field is not included in the response if the local disk is not defined as an iSCSI target. The format of this field is targetIqn::LUNNumber::region-volumeId.
      戻り値:
        The iSCSI Qualified Name (IQN) that is defined for the disk. This field is not included in the response if the local disk is not defined as an iSCSI target. The format of this field is targetIqn::LUNNumber::region-volumeId.

    - #### setDiskAllocationResource

          public void setDiskAllocationResource(java.lang.String diskAllocationResource)

      The iSCSI Qualified Name (IQN) that is defined for the disk. This field is not included in the response if the local disk is not defined as an iSCSI target. The format of this field is targetIqn::LUNNumber::region-volumeId.
      パラメータ:
        `diskAllocationResource` - The iSCSI Qualified Name (IQN) that is defined for the disk. This field is not included in the response if the local disk is not defined as an iSCSI target. The format of this field is targetIqn::LUNNumber::region-volumeId.

    - #### withDiskAllocationResource

          public Disk withDiskAllocationResource(java.lang.String diskAllocationResource)

      The iSCSI Qualified Name (IQN) that is defined for the disk. This field is not included in the response if the local disk is not defined as an iSCSI target. The format of this field is targetIqn::LUNNumber::region-volumeId.

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

      パラメータ:
        `diskAllocationResource` - The iSCSI Qualified Name (IQN) that is defined for the disk. This field is not included in the response if the local disk is not defined as an iSCSI target. The format of this field is targetIqn::LUNNumber::region-volumeId.

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