Class WindowsUpdate.Builder
- java.lang.Object
- 
- com.oracle.bmc.osmanagementhub.model.WindowsUpdate.Builder
 
- 
- Enclosing class:
- WindowsUpdate
 
 public static class WindowsUpdate.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll 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- 
namepublic WindowsUpdate.Builder name(String name) Name of the Windows update.- Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
updateIdpublic 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
 
 - 
descriptionpublic WindowsUpdate.Builder description(String description) Description of the update.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
updateTypepublic WindowsUpdate.Builder updateType(ClassificationTypes updateType) The type of Windows update.- Parameters:
- updateType- the value to set
- Returns:
- this builder
 
 - 
sizeInBytespublic WindowsUpdate.Builder sizeInBytes(Long sizeInBytes) size of the package in bytes- Parameters:
- sizeInBytes- the value to set
- Returns:
- this builder
 
 - 
installablepublic 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
 
 - 
installationRequirementspublic 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
 
 - 
isRebootRequiredForInstallationpublic 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
 
 - 
kbArticleIdspublic 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
 
 - 
buildpublic WindowsUpdate build() 
 - 
copypublic WindowsUpdate.Builder copy(WindowsUpdate model) 
 
- 
 
-