TriggerBackupRequest Class
- java.
lang. Object - com.
azure. resourcemanager. dataprotection. models. TriggerBackupRequest
- com.
Implements
public final class TriggerBackupRequest
implements JsonSerializable<TriggerBackupRequest>
Trigger backup request.
Constructor Summary
| Constructor | Description |
|---|---|
| TriggerBackupRequest() |
Creates an instance of Trigger |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Ad |
backupRuleOptions()
Get the backup |
|
static
Trigger |
fromJson(JsonReader jsonReader)
Reads an instance of Trigger |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Trigger |
withBackupRuleOptions(AdHocBackupRuleOptions backupRuleOptions)
Set the backup |
Methods inherited from java.lang.Object
Constructor Details
TriggerBackupRequest
public TriggerBackupRequest()
Creates an instance of TriggerBackupRequest class.
Method Details
backupRuleOptions
public AdHocBackupRuleOptions backupRuleOptions()
Get the backupRuleOptions property: Name for the Rule of the Policy which needs to be applied for this backup.
Returns:
fromJson
public static TriggerBackupRequest fromJson(JsonReader jsonReader)
Reads an instance of TriggerBackupRequest from the JsonReader.
Parameters:
Returns:
Throws:
toJson
withBackupRuleOptions
public TriggerBackupRequest withBackupRuleOptions(AdHocBackupRuleOptions backupRuleOptions)
Set the backupRuleOptions property: Name for the Rule of the Policy which needs to be applied for this backup.
Parameters:
Returns: