Class SaveImageBody
java.lang.Object
com.azure.resourcemanager.labservices.models.SaveImageBody
Body for the save image POST.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the labVirtualMachineId property: The ID of the lab virtual machine you want to save an image from.name()
Get the name property: The name for the image we create.void
validate()
Validates the instance.withLabVirtualMachineId
(String labVirtualMachineId) Set the labVirtualMachineId property: The ID of the lab virtual machine you want to save an image from.Set the name property: The name for the image we create.
-
Constructor Details
-
SaveImageBody
public SaveImageBody()
-
-
Method Details
-
name
Get the name property: The name for the image we create.- Returns:
- the name value.
-
withName
Set the name property: The name for the image we create.- Parameters:
name
- the name value to set.- Returns:
- the SaveImageBody object itself.
-
labVirtualMachineId
Get the labVirtualMachineId property: The ID of the lab virtual machine you want to save an image from.- Returns:
- the labVirtualMachineId value.
-
withLabVirtualMachineId
Set the labVirtualMachineId property: The ID of the lab virtual machine you want to save an image from.- Parameters:
labVirtualMachineId
- the labVirtualMachineId value to set.- Returns:
- the SaveImageBody object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-