Interface Disk.Builder

    • Method Detail

      • diskId

        Disk.Builder diskId​(String diskId)

        The unique device ID or other distinguishing data that identifies a local disk.

        Parameters:
        diskId - The unique device ID or other distinguishing data that identifies a local disk.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • diskPath

        Disk.Builder diskPath​(String diskPath)

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

        Parameters:
        diskPath - The path of a local disk in the gateway virtual machine (VM).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • diskNode

        Disk.Builder diskNode​(String diskNode)

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

        Parameters:
        diskNode - The device node of a local disk as assigned by the virtualization environment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • diskStatus

        Disk.Builder diskStatus​(String diskStatus)

        A value that represents the status of a local disk.

        Parameters:
        diskStatus - A value that represents the status of a local disk.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • diskSizeInBytes

        Disk.Builder diskSizeInBytes​(Long diskSizeInBytes)

        The local disk size in bytes.

        Parameters:
        diskSizeInBytes - The local disk size in bytes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • diskAllocationType

        Disk.Builder diskAllocationType​(String diskAllocationType)
        Sets the value of the DiskAllocationType property for this object.
        Parameters:
        diskAllocationType - The new value for the DiskAllocationType property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • diskAllocationResource

        Disk.Builder diskAllocationResource​(String diskAllocationResource)

        The iSCSI qualified name (IQN) that is defined for a 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.

        Parameters:
        diskAllocationResource - The iSCSI qualified name (IQN) that is defined for a 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:
        Returns a reference to this object so that method calls can be chained together.
      • diskAttributeList

        Disk.Builder diskAttributeList​(Collection<String> diskAttributeList)
        Sets the value of the DiskAttributeList property for this object.
        Parameters:
        diskAttributeList - The new value for the DiskAttributeList property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • diskAttributeList

        Disk.Builder diskAttributeList​(String... diskAttributeList)
        Sets the value of the DiskAttributeList property for this object.
        Parameters:
        diskAttributeList - The new value for the DiskAttributeList property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.