Class DiskExclusionProperties

java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.DiskExclusionProperties

public final class DiskExclusionProperties extends Object
The DiskExclusionProperties model.
  • Constructor Details

    • DiskExclusionProperties

      public DiskExclusionProperties()
      Creates an instance of DiskExclusionProperties class.
  • Method Details

    • 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.