Class TriggerBackupRequest
java.lang.Object
com.azure.resourcemanager.dataprotection.models.TriggerBackupRequest
TriggerBackupRequest
Trigger backup request.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the backupRuleOptions property: AdHocBackupRuleOptionsvoid
validate()
Validates the instance.withBackupRuleOptions
(AdHocBackupRuleOptions backupRuleOptions) Set the backupRuleOptions property: AdHocBackupRuleOptions
-
Constructor Details
-
TriggerBackupRequest
public TriggerBackupRequest()Creates an instance of TriggerBackupRequest class.
-
-
Method Details
-
backupRuleOptions
Get the backupRuleOptions property: AdHocBackupRuleOptionsName for the Rule of the Policy which needs to be applied for this backup.
- Returns:
- the backupRuleOptions value.
-
withBackupRuleOptions
Set the backupRuleOptions property: AdHocBackupRuleOptionsName 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.
-