public final class DataDiskStorageTypeInfo extends Object
Constructor and Description |
---|
DataDiskStorageTypeInfo() |
Modifier and Type | Method and Description |
---|---|
String |
lun()
Get the lun property: Disk Lun.
|
StorageType |
storageType()
Get the storageType property: Disk Storage Type.
|
void |
validate()
Validates the instance.
|
DataDiskStorageTypeInfo |
withLun(String lun)
Set the lun property: Disk Lun.
|
DataDiskStorageTypeInfo |
withStorageType(StorageType storageType)
Set the storageType property: Disk Storage Type.
|
public String lun()
public DataDiskStorageTypeInfo withLun(String lun)
lun
- the lun value to set.public StorageType storageType()
public DataDiskStorageTypeInfo withStorageType(StorageType storageType)
storageType
- the storageType value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.