Class BackupProfile
java.lang.Object
com.azure.resourcemanager.workloads.models.BackupProfile
Backup profile.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the backupEnabled property: Whether to enable Azure backup for the workload.void
validate()
Validates the instance.Get the vaultResourceId property: Backup vault resource Id.withBackupEnabled
(EnableBackup backupEnabled) Set the backupEnabled property: Whether to enable Azure backup for the workload.
-
Constructor Details
-
BackupProfile
public BackupProfile()
-
-
Method Details
-
backupEnabled
Get the backupEnabled property: Whether to enable Azure backup for the workload.- Returns:
- the backupEnabled value.
-
withBackupEnabled
Set the backupEnabled property: Whether to enable Azure backup for the workload.- Parameters:
backupEnabled
- the backupEnabled value to set.- Returns:
- the BackupProfile object itself.
-
vaultResourceId
Get the vaultResourceId property: Backup vault resource Id.- Returns:
- the vaultResourceId value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-