Class DiskInformation
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.DiskInformation
-
public final class DiskInformation extends Object
Disk information.
-
-
Constructor Summary
Constructors Constructor Description DiskInformation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
lun()
Get the lun property: The lun property.String
name()
Get the name property: The name property.void
validate()
Validates the instance.DiskInformation
withLun(Integer lun)
Set the lun property: The lun property.DiskInformation
withName(String name)
Set the name property: The name property.
-
-
-
Method Detail
-
lun
public Integer lun()
Get the lun property: The lun property.- Returns:
- the lun value.
-
withLun
public DiskInformation withLun(Integer lun)
Set the lun property: The lun property.- Parameters:
lun
- the lun value to set.- Returns:
- the DiskInformation object itself.
-
name
public String name()
Get the name property: The name property.- Returns:
- the name value.
-
withName
public DiskInformation withName(String name)
Set the name property: The name property.- Parameters:
name
- the name value to set.- Returns:
- the DiskInformation object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-