Class ImageUpdate
- java.lang.Object
-
- com.azure.resourcemanager.labservices.models.ImageUpdate
-
public final class ImageUpdate extends Object
Lab services virtual machine image for updates.
-
-
Constructor Summary
Constructors Constructor Description ImageUpdate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EnableState
enabledState()
Get the enabledState property: Is the image enabled.void
validate()
Validates the instance.ImageUpdate
withEnabledState(EnableState enabledState)
Set the enabledState property: Is the image enabled.
-
-
-
Method Detail
-
enabledState
public EnableState enabledState()
Get the enabledState property: Is the image enabled.- Returns:
- the enabledState value.
-
withEnabledState
public ImageUpdate withEnabledState(EnableState enabledState)
Set the enabledState property: Is the image enabled.- Parameters:
enabledState
- the enabledState value to set.- Returns:
- the ImageUpdate object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-