VirtualMachineDeleteCheckpoint Class

  • java.lang.Object
    • com.azure.resourcemanager.scvmm.models.VirtualMachineDeleteCheckpoint

Implements

public final class VirtualMachineDeleteCheckpoint
implements JsonSerializable<VirtualMachineDeleteCheckpoint>

Defines the delete checkpoint action properties.

Constructor Summary

Constructor Description
VirtualMachineDeleteCheckpoint()

Creates an instance of VirtualMachineDeleteCheckpoint class.

Method Summary

Modifier and Type Method and Description
static VirtualMachineDeleteCheckpoint fromJson(JsonReader jsonReader)

Reads an instance of VirtualMachineDeleteCheckpoint from the JsonReader.

String id()

Get the id property: ID of the checkpoint to be deleted.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

VirtualMachineDeleteCheckpoint withId(String id)

Set the id property: ID of the checkpoint to be deleted.

Methods inherited from java.lang.Object

Constructor Details

VirtualMachineDeleteCheckpoint

public VirtualMachineDeleteCheckpoint()

Creates an instance of VirtualMachineDeleteCheckpoint class.

Method Details

fromJson

public static VirtualMachineDeleteCheckpoint fromJson(JsonReader jsonReader)

Reads an instance of VirtualMachineDeleteCheckpoint from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of VirtualMachineDeleteCheckpoint if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the VirtualMachineDeleteCheckpoint.

id

public String id()

Get the id property: ID of the checkpoint to be deleted.

Returns:

the id value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withId

public VirtualMachineDeleteCheckpoint withId(String id)

Set the id property: ID of the checkpoint to be deleted.

Parameters:

id - the id value to set.

Returns:

the VirtualMachineDeleteCheckpoint object itself.

Applies to