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