Class DiskExclusionProperties
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.DiskExclusionProperties
The DiskExclusionProperties model.
-
Constructor Summary
ConstructorDescriptionCreates an instance of DiskExclusionProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the diskLunList property: List of Disks' Logical Unit Numbers (LUN) to be used for VM Protection.Get the isInclusionList property: Flag to indicate whether DiskLunList is to be included/ excluded from backup.void
validate()
Validates the instance.withDiskLunList
(List<Integer> diskLunList) Set the diskLunList property: List of Disks' Logical Unit Numbers (LUN) to be used for VM Protection.withIsInclusionList
(Boolean isInclusionList) Set the isInclusionList property: Flag to indicate whether DiskLunList is to be included/ excluded from backup.
-
Constructor Details
-
DiskExclusionProperties
public DiskExclusionProperties()Creates an instance of DiskExclusionProperties class.
-
-
Method Details
-
diskLunList
Get the diskLunList property: List of Disks' Logical Unit Numbers (LUN) to be used for VM Protection.- Returns:
- the diskLunList value.
-
withDiskLunList
Set the diskLunList property: List of Disks' Logical Unit Numbers (LUN) to be used for VM Protection.- Parameters:
diskLunList
- the diskLunList value to set.- Returns:
- the DiskExclusionProperties object itself.
-
isInclusionList
Get the isInclusionList property: Flag to indicate whether DiskLunList is to be included/ excluded from backup.- Returns:
- the isInclusionList value.
-
withIsInclusionList
Set the isInclusionList property: Flag to indicate whether DiskLunList is to be included/ excluded from backup.- Parameters:
isInclusionList
- the isInclusionList value to set.- Returns:
- the DiskExclusionProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-