Class RecoveryPointDiskConfiguration
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.RecoveryPointDiskConfiguration
Disk configuration.
-
Constructor Summary
ConstructorDescriptionCreates an instance of RecoveryPointDiskConfiguration class. -
Method Summary
Modifier and TypeMethodDescriptionGet the excludedDiskList property: Information of disks excluded from backup.Get the includedDiskList property: Information of disks included in backup.Get the numberOfDisksAttachedToVm property: Number of disks attached to the VM.Get the numberOfDisksIncludedInBackup property: Number of disks included in backup.void
validate()
Validates the instance.withExcludedDiskList
(List<DiskInformation> excludedDiskList) Set the excludedDiskList property: Information of disks excluded from backup.withIncludedDiskList
(List<DiskInformation> includedDiskList) Set the includedDiskList property: Information of disks included in backup.withNumberOfDisksAttachedToVm
(Integer numberOfDisksAttachedToVm) Set the numberOfDisksAttachedToVm property: Number of disks attached to the VM.withNumberOfDisksIncludedInBackup
(Integer numberOfDisksIncludedInBackup) Set the numberOfDisksIncludedInBackup property: Number of disks included in backup.
-
Constructor Details
-
RecoveryPointDiskConfiguration
public RecoveryPointDiskConfiguration()Creates an instance of RecoveryPointDiskConfiguration class.
-
-
Method Details
-
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
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
Get the includedDiskList property: Information of disks included in backup.- Returns:
- the includedDiskList value.
-
withIncludedDiskList
Set the includedDiskList property: Information of disks included in backup.- Parameters:
includedDiskList
- the includedDiskList value to set.- Returns:
- the RecoveryPointDiskConfiguration object itself.
-
excludedDiskList
Get the excludedDiskList property: Information of disks excluded from backup.- Returns:
- the excludedDiskList value.
-
withExcludedDiskList
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.
-