Class DataDiskStorageTypeInfo

java.lang.Object
com.azure.resourcemanager.devtestlabs.models.DataDiskStorageTypeInfo

public final class DataDiskStorageTypeInfo extends Object
Storage information about the data disks present in the custom image.
  • Constructor Details

    • DataDiskStorageTypeInfo

      public DataDiskStorageTypeInfo()
      Creates an instance of DataDiskStorageTypeInfo class.
  • Method Details

    • lun

      public String lun()
      Get the lun property: Disk Lun.
      Returns:
      the lun value.
    • withLun

      public DataDiskStorageTypeInfo withLun(String lun)
      Set the lun property: Disk Lun.
      Parameters:
      lun - the lun value to set.
      Returns:
      the DataDiskStorageTypeInfo object itself.
    • storageType

      public StorageType storageType()
      Get the storageType property: Disk Storage Type.
      Returns:
      the storageType value.
    • withStorageType

      public DataDiskStorageTypeInfo withStorageType(StorageType storageType)
      Set the storageType property: Disk Storage Type.
      Parameters:
      storageType - the storageType value to set.
      Returns:
      the DataDiskStorageTypeInfo object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.