public static class OsPatchPackageSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
OsPatchPackageSummary |
build() |
OsPatchPackageSummary.Builder |
copy(OsPatchPackageSummary model) |
OsPatchPackageSummary.Builder |
packageName(String packageName)
The package’s name.
|
OsPatchPackageSummary.Builder |
relatedCVEs(List<String> relatedCVEs)
Related CVEs of the package update.
|
OsPatchPackageSummary.Builder |
targetVersion(String targetVersion)
The target version of the package.
|
OsPatchPackageSummary.Builder |
updateType(OsPatchPackageSummary.UpdateType updateType)
The action that current package will be executed on the cluster.
|
public OsPatchPackageSummary.Builder packageName(String packageName)
The package’s name.
packageName
- the value to setpublic OsPatchPackageSummary.Builder targetVersion(String targetVersion)
The target version of the package.
targetVersion
- the value to setpublic OsPatchPackageSummary.Builder updateType(OsPatchPackageSummary.UpdateType updateType)
The action that current package will be executed on the cluster.
updateType
- the value to setpublic OsPatchPackageSummary.Builder relatedCVEs(List<String> relatedCVEs)
Related CVEs of the package update.
relatedCVEs
- the value to setpublic OsPatchPackageSummary build()
public OsPatchPackageSummary.Builder copy(OsPatchPackageSummary model)
Copyright © 2016–2024. All rights reserved.