Class RecoveryPointDiskConfiguration

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

public final class RecoveryPointDiskConfiguration extends Object
Disk configuration.
  • Constructor Details

    • RecoveryPointDiskConfiguration

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

    • numberOfDisksIncludedInBackup

      public Integer numberOfDisksIncludedInBackup()
      Get the numberOfDisksIncludedInBackup property: Number of disks included in backup.
      Returns:
      the numberOfDisksIncludedInBackup value.
    • withNumberOfDisksIncludedInBackup

      public RecoveryPointDiskConfiguration withNumberOfDisksIncludedInBackup(Integer numberOfDisksIncludedInBackup)
      Set the numberOfDisksIncludedInBackup property: Number of disks included in backup.
      Parameters:
      numberOfDisksIncludedInBackup - the numberOfDisksIncludedInBackup value to set.
      Returns:
      the RecoveryPointDiskConfiguration object itself.
    • numberOfDisksAttachedToVm

      public Integer numberOfDisksAttachedToVm()
      Get the numberOfDisksAttachedToVm property: Number of disks attached to the VM.
      Returns:
      the numberOfDisksAttachedToVm value.
    • withNumberOfDisksAttachedToVm

      public RecoveryPointDiskConfiguration withNumberOfDisksAttachedToVm(Integer numberOfDisksAttachedToVm)
      Set the numberOfDisksAttachedToVm property: Number of disks attached to the VM.
      Parameters:
      numberOfDisksAttachedToVm - the numberOfDisksAttachedToVm value to set.
      Returns:
      the RecoveryPointDiskConfiguration object itself.
    • includedDiskList

      public List<DiskInformation> includedDiskList()
      Get the includedDiskList property: Information of disks included in backup.
      Returns:
      the includedDiskList value.
    • withIncludedDiskList

      public RecoveryPointDiskConfiguration withIncludedDiskList(List<DiskInformation> includedDiskList)
      Set the includedDiskList property: Information of disks included in backup.
      Parameters:
      includedDiskList - the includedDiskList value to set.
      Returns:
      the RecoveryPointDiskConfiguration object itself.
    • excludedDiskList

      public List<DiskInformation> excludedDiskList()
      Get the excludedDiskList property: Information of disks excluded from backup.
      Returns:
      the excludedDiskList value.
    • withExcludedDiskList

      public RecoveryPointDiskConfiguration withExcludedDiskList(List<DiskInformation> excludedDiskList)
      Set the excludedDiskList property: Information of disks excluded from backup.
      Parameters:
      excludedDiskList - the excludedDiskList value to set.
      Returns:
      the RecoveryPointDiskConfiguration object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.