Class BackupProfile

java.lang.Object
com.azure.resourcemanager.workloads.models.BackupProfile

public final class BackupProfile extends Object
Backup profile.
  • Constructor Details

    • BackupProfile

      public BackupProfile()
  • Method Details

    • backupEnabled

      public EnableBackup backupEnabled()
      Get the backupEnabled property: Whether to enable Azure backup for the workload.
      Returns:
      the backupEnabled value.
    • withBackupEnabled

      public BackupProfile withBackupEnabled(EnableBackup backupEnabled)
      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

      public String 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.