Class TriggerBackupRequest

java.lang.Object
com.azure.resourcemanager.dataprotection.models.TriggerBackupRequest

public final class TriggerBackupRequest extends Object
TriggerBackupRequest

Trigger backup request.

  • Constructor Details

    • TriggerBackupRequest

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

    • backupRuleOptions

      public AdHocBackupRuleOptions backupRuleOptions()
      Get the backupRuleOptions property: AdHocBackupRuleOptions

      Name for the Rule of the Policy which needs to be applied for this backup.

      Returns:
      the backupRuleOptions value.
    • withBackupRuleOptions

      public TriggerBackupRequest withBackupRuleOptions(AdHocBackupRuleOptions backupRuleOptions)
      Set the backupRuleOptions property: AdHocBackupRuleOptions

      Name for the Rule of the Policy which needs to be applied for this backup.

      Parameters:
      backupRuleOptions - the backupRuleOptions value to set.
      Returns:
      the TriggerBackupRequest object itself.
    • validate

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