Class ImageTemplateWindowsUpdateCustomizer


  • public final class ImageTemplateWindowsUpdateCustomizer
    extends ImageTemplateCustomizer
    Installs Windows Updates. Corresponds to Packer Windows Update Provisioner (https://github.com/rgl/packer-provisioner-windows-update).
    • Constructor Detail

      • ImageTemplateWindowsUpdateCustomizer

        public ImageTemplateWindowsUpdateCustomizer()
    • Method Detail

      • searchCriteria

        public String searchCriteria()
        Get the searchCriteria property: Criteria to search updates. Omit or specify empty string to use the default (search all). Refer to above link for examples and detailed description of this field.
        Returns:
        the searchCriteria value.
      • withSearchCriteria

        public ImageTemplateWindowsUpdateCustomizer withSearchCriteria​(String searchCriteria)
        Set the searchCriteria property: Criteria to search updates. Omit or specify empty string to use the default (search all). Refer to above link for examples and detailed description of this field.
        Parameters:
        searchCriteria - the searchCriteria value to set.
        Returns:
        the ImageTemplateWindowsUpdateCustomizer object itself.
      • filters

        public List<String> filters()
        Get the filters property: Array of filters to select updates to apply. Omit or specify empty array to use the default (no filter). Refer to above link for examples and detailed description of this field.
        Returns:
        the filters value.
      • withFilters

        public ImageTemplateWindowsUpdateCustomizer withFilters​(List<String> filters)
        Set the filters property: Array of filters to select updates to apply. Omit or specify empty array to use the default (no filter). Refer to above link for examples and detailed description of this field.
        Parameters:
        filters - the filters value to set.
        Returns:
        the ImageTemplateWindowsUpdateCustomizer object itself.
      • updateLimit

        public Integer updateLimit()
        Get the updateLimit property: Maximum number of updates to apply at a time. Omit or specify 0 to use the default (1000).
        Returns:
        the updateLimit value.
      • withUpdateLimit

        public ImageTemplateWindowsUpdateCustomizer withUpdateLimit​(Integer updateLimit)
        Set the updateLimit property: Maximum number of updates to apply at a time. Omit or specify 0 to use the default (1000).
        Parameters:
        updateLimit - the updateLimit value to set.
        Returns:
        the ImageTemplateWindowsUpdateCustomizer object itself.