Interface AttachDiskRequest.Builder

    • Method Detail

      • diskName

        AttachDiskRequest.Builder diskName​(String diskName)

        The unique Lightsail disk name (my-disk).

        Parameters:
        diskName - The unique Lightsail disk name (my-disk).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instanceName

        AttachDiskRequest.Builder instanceName​(String instanceName)

        The name of the Lightsail instance where you want to utilize the storage disk.

        Parameters:
        instanceName - The name of the Lightsail instance where you want to utilize the storage disk.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • diskPath

        AttachDiskRequest.Builder diskPath​(String diskPath)

        The disk path to expose to the instance (/dev/xvdf).

        Parameters:
        diskPath - The disk path to expose to the instance (/dev/xvdf).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • autoMounting

        AttachDiskRequest.Builder autoMounting​(Boolean autoMounting)

        A Boolean value used to determine the automatic mounting of a storage volume to a virtual computer. The default value is False.

        This value only applies to Lightsail for Research resources.

        Parameters:
        autoMounting - A Boolean value used to determine the automatic mounting of a storage volume to a virtual computer. The default value is False.

        This value only applies to Lightsail for Research resources.

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