Class WindowsUpdate.Builder
- java.lang.Object
-
- com.oracle.bmc.osmanagementhub.model.WindowsUpdate.Builder
-
- Enclosing class:
- WindowsUpdate
public static class WindowsUpdate.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WindowsUpdatebuild()WindowsUpdate.Buildercopy(WindowsUpdate model)WindowsUpdate.Builderdescription(String description)Description of the update.WindowsUpdate.Builderinstallable(WindowsUpdate.Installable installable)Indicates whether the update can be installed using the service.WindowsUpdate.BuilderinstallationRequirements(List<InstallationRequirements> installationRequirements)List of requirements for installing the update on the managed instance.WindowsUpdate.BuilderisRebootRequiredForInstallation(Boolean isRebootRequiredForInstallation)Indicates whether a reboot is required to complete the installation of this update.WindowsUpdate.BuilderkbArticleIds(List<String> kbArticleIds)List of the Microsoft Knowledge Base Article Ids related to this Windows Update.WindowsUpdate.Buildername(String name)Name of the Windows update.WindowsUpdate.BuildersizeInBytes(Long sizeInBytes)size of the package in bytesWindowsUpdate.BuilderupdateId(String updateId)Unique identifier for the Windows update.WindowsUpdate.BuilderupdateType(ClassificationTypes updateType)The type of Windows update.
-
-
-
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
-
updateType
public WindowsUpdate.Builder updateType(ClassificationTypes updateType)
The type of Windows update.- Parameters:
updateType- 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
-
installable
public WindowsUpdate.Builder installable(WindowsUpdate.Installable installable)
Indicates whether the update can be installed using the service.- Parameters:
installable- 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
-
build
public WindowsUpdate build()
-
copy
public WindowsUpdate.Builder copy(WindowsUpdate model)
-
-