Class AutomaticOSUpgradeProperties


  • public final class AutomaticOSUpgradeProperties
    extends Object
    Describes automatic OS upgrade properties on the image.
    • Constructor Detail

      • AutomaticOSUpgradeProperties

        public AutomaticOSUpgradeProperties()
    • 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.