Class VirtualMachineCreateCheckpoint
- java.lang.Object
-
- com.azure.resourcemanager.scvmm.models.VirtualMachineCreateCheckpoint
-
public final class VirtualMachineCreateCheckpoint extends Object
Defines the create checkpoint action properties.
-
-
Constructor Summary
Constructors Constructor Description VirtualMachineCreateCheckpoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
description()
Get the description property: Description of the checkpoint.String
name()
Get the name property: Name of the checkpoint.void
validate()
Validates the instance.VirtualMachineCreateCheckpoint
withDescription(String description)
Set the description property: Description of the checkpoint.VirtualMachineCreateCheckpoint
withName(String name)
Set the name property: Name of the checkpoint.
-
-
-
Method Detail
-
name
public String name()
Get the name property: Name of the checkpoint.- Returns:
- the name value.
-
withName
public VirtualMachineCreateCheckpoint withName(String name)
Set the name property: Name of the checkpoint.- Parameters:
name
- the name value to set.- Returns:
- the VirtualMachineCreateCheckpoint object itself.
-
description
public String description()
Get the description property: Description of the checkpoint.- Returns:
- the description value.
-
withDescription
public VirtualMachineCreateCheckpoint withDescription(String description)
Set the description property: Description of the checkpoint.- Parameters:
description
- the description value to set.- Returns:
- the VirtualMachineCreateCheckpoint object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-