Class WindowsUpdate.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • name

        public WindowsUpdate.Builder name​(String name)
        Name of the Windows update.
        Parameters:
        name - the value to set
        Returns:
        this builder
      • updateId

        public WindowsUpdate.Builder updateId​(String updateId)
        Unique identifier for the Windows update.

        Note that this is not an OCID, but is a unique identifier assigned by Microsoft. Example: ‘6981d463-cd91-4a26-b7c4-ea4ded9183ed’

        Parameters:
        updateId - the value to set
        Returns:
        this builder
      • description

        public WindowsUpdate.Builder description​(String description)
        Description of the update.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • sizeInBytes

        public WindowsUpdate.Builder sizeInBytes​(Long sizeInBytes)
        size of the package in bytes
        Parameters:
        sizeInBytes - the value to set
        Returns:
        this builder
      • installationRequirements

        public WindowsUpdate.Builder installationRequirements​(List<InstallationRequirements> installationRequirements)
        List of requirements for installing the update on the managed instance.
        Parameters:
        installationRequirements - the value to set
        Returns:
        this builder
      • isRebootRequiredForInstallation

        public WindowsUpdate.Builder isRebootRequiredForInstallation​(Boolean isRebootRequiredForInstallation)
        Indicates whether a reboot is required to complete the installation of this update.
        Parameters:
        isRebootRequiredForInstallation - the value to set
        Returns:
        this builder
      • kbArticleIds

        public WindowsUpdate.Builder kbArticleIds​(List<String> kbArticleIds)
        List of the Microsoft Knowledge Base Article Ids related to this Windows Update.
        Parameters:
        kbArticleIds - the value to set
        Returns:
        this builder