Class DataDisk


  • public class DataDisk
    extends Object
    Data Disk settings which will be used by the data disks associated to Compute Nodes in the pool.
    • Constructor Detail

      • DataDisk

        public DataDisk()
    • Method Detail

      • lun

        public int lun()
        Get the lun value.
        Returns:
        the lun value
      • withLun

        public DataDisk withLun​(int lun)
        Set the lun value.
        Parameters:
        lun - the lun value to set
        Returns:
        the DataDisk object itself.
      • caching

        public CachingType caching()
        Get the caching value.
        Returns:
        the caching value
      • withCaching

        public DataDisk withCaching​(CachingType caching)
        Set the caching value.
        Parameters:
        caching - the caching value to set
        Returns:
        the DataDisk object itself.
      • diskSizeGB

        public int diskSizeGB()
        Get the diskSizeGB value.
        Returns:
        the diskSizeGB value
      • withDiskSizeGB

        public DataDisk withDiskSizeGB​(int diskSizeGB)
        Set the diskSizeGB value.
        Parameters:
        diskSizeGB - the diskSizeGB value to set
        Returns:
        the DataDisk object itself.
      • storageAccountType

        public StorageAccountType storageAccountType()
        Get the storageAccountType value.
        Returns:
        the storageAccountType value
      • withStorageAccountType

        public DataDisk withStorageAccountType​(StorageAccountType storageAccountType)
        Set the storageAccountType value.
        Parameters:
        storageAccountType - the storageAccountType value to set
        Returns:
        the DataDisk object itself.