DataDiskStorageTypeInfo Class

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

public final class DataDiskStorageTypeInfo

Storage information about the data disks present in the custom image.

Constructor Summary

Constructor Description
DataDiskStorageTypeInfo()

Creates an instance of DataDiskStorageTypeInfo class.

Method Summary

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.

Methods inherited from java.lang.Object

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.

storageType

public StorageType storageType()

Get the storageType property: Disk Storage Type.

Returns:

the storageType value.

validate

public void validate()

Validates the instance.

withLun

public DataDiskStorageTypeInfo withLun(String lun)

Set the lun property: Disk Lun.

Parameters:

lun - the lun value to set.

Returns:

the DataDiskStorageTypeInfo object itself.

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.

Applies to