Class DataDiskStorageTypeInfo
java.lang.Object
com.azure.resourcemanager.devtestlabs.models.DataDiskStorageTypeInfo
Storage information about the data disks present in the custom image.
-
Constructor Summary
ConstructorDescriptionCreates an instance of DataDiskStorageTypeInfo class. -
Method Summary
Modifier and TypeMethodDescriptionlun()
Get the lun property: Disk Lun.Get the storageType property: Disk Storage Type.void
validate()
Validates the instance.Set the lun property: Disk Lun.withStorageType
(StorageType storageType) Set the storageType property: Disk Storage Type.
-
Constructor Details
-
DataDiskStorageTypeInfo
public DataDiskStorageTypeInfo()Creates an instance of DataDiskStorageTypeInfo class.
-
-
Method Details
-
lun
Get the lun property: Disk Lun.- Returns:
- the lun value.
-
withLun
Set the lun property: Disk Lun.- Parameters:
lun
- the lun value to set.- Returns:
- the DataDiskStorageTypeInfo object itself.
-
storageType
Get the storageType property: Disk Storage Type.- Returns:
- the storageType value.
-
withStorageType
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.
-