Class AutomaticOSUpgradeProperties
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.AutomaticOSUpgradeProperties
-
public final class AutomaticOSUpgradeProperties extends Object
Describes automatic OS upgrade properties on the image.
-
-
Constructor Summary
Constructors Constructor Description AutomaticOSUpgradeProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanautomaticOSUpgradeSupported()Get the automaticOSUpgradeSupported property: Specifies whether automatic OS upgrade is supported on the image.voidvalidate()Validates the instance.AutomaticOSUpgradePropertieswithAutomaticOSUpgradeSupported(boolean automaticOSUpgradeSupported)Set the automaticOSUpgradeSupported property: Specifies whether automatic OS upgrade is supported on the image.
-
-
-
Method Detail
-
automaticOSUpgradeSupported
public boolean automaticOSUpgradeSupported()
Get the automaticOSUpgradeSupported property: Specifies whether automatic OS upgrade is supported on the image.- Returns:
- the automaticOSUpgradeSupported value.
-
withAutomaticOSUpgradeSupported
public AutomaticOSUpgradeProperties withAutomaticOSUpgradeSupported(boolean automaticOSUpgradeSupported)
Set the automaticOSUpgradeSupported property: Specifies whether automatic OS upgrade is supported on the image.- Parameters:
automaticOSUpgradeSupported- the automaticOSUpgradeSupported value to set.- Returns:
- the AutomaticOSUpgradeProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-