VirtualMachineRestoreCheckpoint Class
- java.
lang. Object - com.
azure. resourcemanager. scvmm. models. VirtualMachineRestoreCheckpoint
- com.
Implements
public final class VirtualMachineRestoreCheckpoint
implements JsonSerializable<VirtualMachineRestoreCheckpoint>
Defines the restore checkpoint action properties.
Constructor Summary
| Constructor | Description |
|---|---|
| VirtualMachineRestoreCheckpoint() |
Creates an instance of Virtual |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
| String |
id()
Get the id property: ID of the checkpoint to be restored to. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Virtual |
withId(String id)
Set the id property: ID of the checkpoint to be restored to. |
Methods inherited from java.lang.Object
Constructor Details
VirtualMachineRestoreCheckpoint
public VirtualMachineRestoreCheckpoint()
Creates an instance of VirtualMachineRestoreCheckpoint class.
Method Details
fromJson
public static VirtualMachineRestoreCheckpoint fromJson(JsonReader jsonReader)
Reads an instance of VirtualMachineRestoreCheckpoint from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: ID of the checkpoint to be restored to.
Returns:
toJson
validate
public void validate()
Validates the instance.
withId
public VirtualMachineRestoreCheckpoint withId(String id)
Set the id property: ID of the checkpoint to be restored to.
Parameters:
Returns: