Class ImageUpdateProperties
- java.lang.Object
-
- com.azure.resourcemanager.labservices.fluent.models.ImageUpdateProperties
-
- Direct Known Subclasses:
ImageProperties
public class ImageUpdateProperties extends Object
Properties of an image resource update.
-
-
Constructor Summary
Constructors Constructor Description ImageUpdateProperties()
-
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.ImageUpdateProperties
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 ImageUpdateProperties withEnabledState(EnableState enabledState)
Set the enabledState property: Is the image enabled.- Parameters:
enabledState
- the enabledState value to set.- Returns:
- the ImageUpdateProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-