Class AttachDiskRequest

    • Method Detail

      • diskName

        public final String diskName()

        The unique Lightsail disk name (my-disk).

        Returns:
        The unique Lightsail disk name (my-disk).
      • instanceName

        public final String instanceName()

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

        Returns:
        The name of the Lightsail instance where you want to utilize the storage disk.
      • diskPath

        public final String diskPath()

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

        Returns:
        The disk path to expose to the instance (/dev/xvdf).
      • autoMounting

        public final 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.

        Returns:
        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.

      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object