public static class OsPatchDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
OsPatchDetails |
build() |
OsPatchDetails.Builder |
copy(OsPatchDetails model) |
OsPatchDetails.Builder |
minBdsVersion(String minBdsVersion)
Minimum BDS version required to install current OS patch.
|
OsPatchDetails.Builder |
minCompatibleOdhVersionMap(Map<String,String> minCompatibleOdhVersionMap)
Map of major ODH version to minimum ODH version required to install current OS patch.
|
OsPatchDetails.Builder |
osPatchVersion(String osPatchVersion)
Version of the os patch.
|
OsPatchDetails.Builder |
patchType(OsPatchDetails.PatchType patchType)
Type of a specific os patch.
|
OsPatchDetails.Builder |
releaseDate(Date releaseDate)
Released date of the OS patch.
|
OsPatchDetails.Builder |
targetPackages(List<OsPatchPackageSummary> targetPackages)
List of summaries of individual target packages.
|
public OsPatchDetails.Builder osPatchVersion(String osPatchVersion)
Version of the os patch.
osPatchVersion
- the value to setpublic OsPatchDetails.Builder minBdsVersion(String minBdsVersion)
Minimum BDS version required to install current OS patch.
minBdsVersion
- the value to setpublic OsPatchDetails.Builder minCompatibleOdhVersionMap(Map<String,String> minCompatibleOdhVersionMap)
Map of major ODH version to minimum ODH version required to install current OS patch. e.g. {ODH0.9: 0.9.1}
minCompatibleOdhVersionMap
- the value to setpublic OsPatchDetails.Builder targetPackages(List<OsPatchPackageSummary> targetPackages)
List of summaries of individual target packages.
targetPackages
- the value to setpublic OsPatchDetails.Builder releaseDate(Date releaseDate)
Released date of the OS patch.
releaseDate
- the value to setpublic OsPatchDetails.Builder patchType(OsPatchDetails.PatchType patchType)
Type of a specific os patch. REGULAR means standard released os patches. CUSTOM means os patches with some customizations. EMERGENT means os patches with some emergency fixes that should be prioritized.
patchType
- the value to setpublic OsPatchDetails build()
public OsPatchDetails.Builder copy(OsPatchDetails model)
Copyright © 2016–2024. All rights reserved.