public static class WindowsUpdate.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
WindowsUpdate |
build() |
WindowsUpdate.Builder |
copy(WindowsUpdate model) |
WindowsUpdate.Builder |
description(String description)
Description of the update.
|
WindowsUpdate.Builder |
installable(WindowsUpdate.Installable installable)
Indicates whether the update can be installed using the service.
|
WindowsUpdate.Builder |
installationRequirements(List<InstallationRequirements> installationRequirements)
List of requirements for installing the update on the managed instance.
|
WindowsUpdate.Builder |
isRebootRequiredForInstallation(Boolean isRebootRequiredForInstallation)
Indicates whether a reboot is required to complete the installation of this update.
|
WindowsUpdate.Builder |
kbArticleIds(List<String> kbArticleIds)
List of the Microsoft Knowledge Base Article Ids related to this Windows Update.
|
WindowsUpdate.Builder |
name(String name)
Name of the Windows update.
|
WindowsUpdate.Builder |
sizeInBytes(Long sizeInBytes)
size of the package in bytes
|
WindowsUpdate.Builder |
updateId(String updateId)
Unique identifier for the Windows update.
|
WindowsUpdate.Builder |
updateType(ClassificationTypes updateType)
The type of Windows update.
|
public WindowsUpdate.Builder name(String name)
Name of the Windows update.
name
- the value to setpublic 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’
updateId
- the value to setpublic WindowsUpdate.Builder description(String description)
Description of the update.
description
- the value to setpublic WindowsUpdate.Builder updateType(ClassificationTypes updateType)
The type of Windows update.
updateType
- the value to setpublic WindowsUpdate.Builder sizeInBytes(Long sizeInBytes)
size of the package in bytes
sizeInBytes
- the value to setpublic WindowsUpdate.Builder installable(WindowsUpdate.Installable installable)
Indicates whether the update can be installed using the service.
installable
- the value to setpublic WindowsUpdate.Builder installationRequirements(List<InstallationRequirements> installationRequirements)
List of requirements for installing the update on the managed instance.
installationRequirements
- the value to setpublic WindowsUpdate.Builder isRebootRequiredForInstallation(Boolean isRebootRequiredForInstallation)
Indicates whether a reboot is required to complete the installation of this update.
isRebootRequiredForInstallation
- the value to setpublic WindowsUpdate.Builder kbArticleIds(List<String> kbArticleIds)
List of the Microsoft Knowledge Base Article Ids related to this Windows Update.
kbArticleIds
- the value to setpublic WindowsUpdate build()
public WindowsUpdate.Builder copy(WindowsUpdate model)
Copyright © 2016–2024. All rights reserved.