Class TriggerBackupRequest
- java.lang.Object
-
- com.azure.resourcemanager.dataprotection.models.TriggerBackupRequest
-
public final class TriggerBackupRequest extends Object
TriggerBackupRequest Trigger backup request.
-
-
Constructor Summary
Constructors Constructor Description TriggerBackupRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdHocBackupRuleOptions
backupRuleOptions()
Get the backupRuleOptions property: AdHocBackupRuleOptions Name for the Rule of the Policy which needs to be applied for this backup.void
validate()
Validates the instance.TriggerBackupRequest
withBackupRuleOptions(AdHocBackupRuleOptions backupRuleOptions)
Set the backupRuleOptions property: AdHocBackupRuleOptions Name for the Rule of the Policy which needs to be applied for this backup.
-
-
-
Method Detail
-
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.
-
-