SyncBackupInstanceRequest Class
- java.
lang. Object - com.
azure. resourcemanager. dataprotection. models. SyncBackupInstanceRequest
- com.
Implements
public final class SyncBackupInstanceRequest
implements JsonSerializable<SyncBackupInstanceRequest>
Sync BackupInstance Request.
Constructor Summary
| Constructor | Description |
|---|---|
| SyncBackupInstanceRequest() |
Creates an instance of Sync |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Sync |
fromJson(JsonReader jsonReader)
Reads an instance of Sync |
|
Sync |
syncType()
Get the sync |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Sync |
withSyncType(SyncType syncType)
Set the sync |
Methods inherited from java.lang.Object
Constructor Details
SyncBackupInstanceRequest
public SyncBackupInstanceRequest()
Creates an instance of SyncBackupInstanceRequest class.
Method Details
fromJson
public static SyncBackupInstanceRequest fromJson(JsonReader jsonReader)
Reads an instance of SyncBackupInstanceRequest from the JsonReader.
Parameters:
Returns:
Throws:
syncType
public SyncType syncType()
Get the syncType property: Field indicating sync type e.g. to sync only in case of failure or in all cases.
Returns:
toJson
withSyncType
public SyncBackupInstanceRequest withSyncType(SyncType syncType)
Set the syncType property: Field indicating sync type e.g. to sync only in case of failure or in all cases.
Parameters:
Returns: