Class WindowsUpdate.Builder
- java.lang.Object
-
- com.oracle.bmc.osmanagement.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 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 instancesWindowsUpdate.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 bytesWindowsUpdate.Builder
updateType(UpdateTypes updateType)
The purpose of this update.
-
-
-
Method Detail
-
displayName
public WindowsUpdate.Builder displayName(String displayName)
Windows Update name.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
name
public 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
- Parameters:
name
- the value to set- Returns:
- this builder
-
description
public WindowsUpdate.Builder description(String description)
Information about the Windows Update.- Parameters:
description
- the value to set- Returns:
- this builder
-
updateType
public WindowsUpdate.Builder updateType(UpdateTypes updateType)
The purpose of this 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
-
isEligibleForInstallation
public WindowsUpdate.Builder isEligibleForInstallation(IsEligibleForInstallation isEligibleForInstallation)
Indicates whether the update can be installed using OSMS.- Parameters:
isEligibleForInstallation
- the value to set- Returns:
- this builder
-
installationRequirements
public WindowsUpdate.Builder installationRequirements(List<WindowsUpdate.InstallationRequirements> installationRequirements)
List of requirements forinstalling on a managed instances- Parameters:
installationRequirements
- the value to set- Returns:
- this builder
-
isRebootRequiredForInstallation
public WindowsUpdate.Builder isRebootRequiredForInstallation(Boolean isRebootRequiredForInstallation)
Indicates whether a reboot may be required to complete 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)
-
-