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)
Information about the Windows Update.
|
WindowsUpdate.Builder |
displayName(String displayName)
Windows Update name.
|
WindowsUpdate.Builder |
installationRequirements(List<WindowsUpdate.InstallationRequirements> installationRequirements)
List of requirements forinstalling on a managed instances
|
WindowsUpdate.Builder |
isEligibleForInstallation(IsEligibleForInstallation isEligibleForInstallation)
Indicates whether the update can be installed using OSMS.
|
WindowsUpdate.Builder |
isRebootRequiredForInstallation(Boolean isRebootRequiredForInstallation)
Indicates whether a reboot may be required to complete 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)
Unique identifier for the Windows update.
|
WindowsUpdate.Builder |
sizeInBytes(Long sizeInBytes)
size of the package in bytes
|
WindowsUpdate.Builder |
updateType(UpdateTypes updateType)
The purpose of this update.
|
public WindowsUpdate.Builder displayName(String displayName)
Windows Update name.
displayName
- the value to setpublic WindowsUpdate.Builder name(String name)
Unique identifier for the Windows update. NOTE - This is not an OCID, but is a unique
identifier assigned by Microsoft. Example: 6981d463-cd91-4a26-b7c4-ea4ded9183ed
name
- the value to setpublic WindowsUpdate.Builder description(String description)
Information about the Windows Update.
description
- the value to setpublic WindowsUpdate.Builder updateType(UpdateTypes updateType)
The purpose of this update.
updateType
- the value to setpublic WindowsUpdate.Builder sizeInBytes(Long sizeInBytes)
size of the package in bytes
sizeInBytes
- the value to setpublic WindowsUpdate.Builder isEligibleForInstallation(IsEligibleForInstallation isEligibleForInstallation)
Indicates whether the update can be installed using OSMS.
isEligibleForInstallation
- the value to setpublic WindowsUpdate.Builder installationRequirements(List<WindowsUpdate.InstallationRequirements> installationRequirements)
List of requirements forinstalling on a managed instances
installationRequirements
- the value to setpublic WindowsUpdate.Builder isRebootRequiredForInstallation(Boolean isRebootRequiredForInstallation)
Indicates whether a reboot may be required to complete 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.