Class DiskExclusionProperties
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.DiskExclusionProperties
-
public final class DiskExclusionProperties extends Object
The DiskExclusionProperties model.
-
-
Constructor Summary
Constructors Constructor Description DiskExclusionProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Integer>
diskLunList()
Get the diskLunList property: List of Disks' Logical Unit Numbers (LUN) to be used for VM Protection.Boolean
isInclusionList()
Get the isInclusionList property: Flag to indicate whether DiskLunList is to be included/ excluded from backup.void
validate()
Validates the instance.DiskExclusionProperties
withDiskLunList(List<Integer> diskLunList)
Set the diskLunList property: List of Disks' Logical Unit Numbers (LUN) to be used for VM Protection.DiskExclusionProperties
withIsInclusionList(Boolean isInclusionList)
Set the isInclusionList property: Flag to indicate whether DiskLunList is to be included/ excluded from backup.
-
-
-
Method Detail
-
diskLunList
public List<Integer> diskLunList()
Get the diskLunList property: List of Disks' Logical Unit Numbers (LUN) to be used for VM Protection.- Returns:
- the diskLunList value.
-
withDiskLunList
public DiskExclusionProperties withDiskLunList(List<Integer> diskLunList)
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
public Boolean isInclusionList()
Get the isInclusionList property: Flag to indicate whether DiskLunList is to be included/ excluded from backup.- Returns:
- the isInclusionList value.
-
withIsInclusionList
public DiskExclusionProperties withIsInclusionList(Boolean isInclusionList)
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.
-
-