Interface Patch.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Patch.Builder,
,Patch> SdkBuilder<Patch.Builder,
,Patch> SdkPojo
- Enclosing class:
Patch
-
Method Summary
Modifier and TypeMethodDescriptionadvisoryIds
(String... advisoryIds) The Advisory ID of the patch.advisoryIds
(Collection<String> advisoryIds) The Advisory ID of the patch.The architecture of the patch.bugzillaIds
(String... bugzillaIds) The Bugzilla ID of the patch.bugzillaIds
(Collection<String> bugzillaIds) The Bugzilla ID of the patch.classification
(String classification) The classification of the patch.contentUrl
(String contentUrl) The URL where more information can be obtained about the patch.The Common Vulnerabilities and Exposures (CVE) ID of the patch.cveIds
(Collection<String> cveIds) The Common Vulnerabilities and Exposures (CVE) ID of the patch.description
(String description) The description of the patch.The epoch of the patch.The ID of the patch.The Microsoft Knowledge Base ID of the patch.The language of the patch if it's language-specific.msrcNumber
(String msrcNumber) The ID of the Microsoft Security Response Center (MSRC) bulletin the patch is related to.msrcSeverity
(String msrcSeverity) The severity of the patch, such asCritical
,Important
, orModerate
.The name of the patch.The specific product the patch is applicable for.productFamily
(String productFamily) The product family the patch is applicable for.The particular release of a patch.releaseDate
(Instant releaseDate) The date the patch was released.repository
(String repository) The source patch repository for the operating system and version, such astrusty-security
for Ubuntu Server 14.04 LTE andfocal-security
for Ubuntu Server 20.04 LTE.The severity level of the patch.The title of the patch.The name of the vendor providing the patch.The version number of the patch.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
id
The ID of the patch. Applies to Windows patches only.
This ID isn't the same as the Microsoft Knowledge Base ID.
- Parameters:
id
- The ID of the patch. Applies to Windows patches only.This ID isn't the same as the Microsoft Knowledge Base ID.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
releaseDate
The date the patch was released.
- Parameters:
releaseDate
- The date the patch was released.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
title
The title of the patch.
- Parameters:
title
- The title of the patch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the patch.
- Parameters:
description
- The description of the patch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentUrl
The URL where more information can be obtained about the patch.
- Parameters:
contentUrl
- The URL where more information can be obtained about the patch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vendor
The name of the vendor providing the patch.
- Parameters:
vendor
- The name of the vendor providing the patch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productFamily
The product family the patch is applicable for. For example,
Windows
orAmazon Linux 2
.- Parameters:
productFamily
- The product family the patch is applicable for. For example,Windows
orAmazon Linux 2
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
product
The specific product the patch is applicable for. For example,
WindowsServer2016
orAmazonLinux2018.03
.- Parameters:
product
- The specific product the patch is applicable for. For example,WindowsServer2016
orAmazonLinux2018.03
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
classification
The classification of the patch. For example,
SecurityUpdates
,Updates
, orCriticalUpdates
.- Parameters:
classification
- The classification of the patch. For example,SecurityUpdates
,Updates
, orCriticalUpdates
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
msrcSeverity
The severity of the patch, such as
Critical
,Important
, orModerate
. Applies to Windows patches only.- Parameters:
msrcSeverity
- The severity of the patch, such asCritical
,Important
, orModerate
. Applies to Windows patches only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kbNumber
The Microsoft Knowledge Base ID of the patch. Applies to Windows patches only.
- Parameters:
kbNumber
- The Microsoft Knowledge Base ID of the patch. Applies to Windows patches only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
msrcNumber
The ID of the Microsoft Security Response Center (MSRC) bulletin the patch is related to. For example,
MS14-045
. Applies to Windows patches only.- Parameters:
msrcNumber
- The ID of the Microsoft Security Response Center (MSRC) bulletin the patch is related to. For example,MS14-045
. Applies to Windows patches only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
language
The language of the patch if it's language-specific.
- Parameters:
language
- The language of the patch if it's language-specific.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
advisoryIds
The Advisory ID of the patch. For example,
RHSA-2020:3779
. Applies to Linux-based managed nodes only.- Parameters:
advisoryIds
- The Advisory ID of the patch. For example,RHSA-2020:3779
. Applies to Linux-based managed nodes only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
advisoryIds
The Advisory ID of the patch. For example,
RHSA-2020:3779
. Applies to Linux-based managed nodes only.- Parameters:
advisoryIds
- The Advisory ID of the patch. For example,RHSA-2020:3779
. Applies to Linux-based managed nodes only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bugzillaIds
The Bugzilla ID of the patch. For example,
1600646
. Applies to Linux-based managed nodes only.- Parameters:
bugzillaIds
- The Bugzilla ID of the patch. For example,1600646
. Applies to Linux-based managed nodes only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bugzillaIds
The Bugzilla ID of the patch. For example,
1600646
. Applies to Linux-based managed nodes only.- Parameters:
bugzillaIds
- The Bugzilla ID of the patch. For example,1600646
. Applies to Linux-based managed nodes only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cveIds
The Common Vulnerabilities and Exposures (CVE) ID of the patch. For example,
CVE-2011-3192
. Applies to Linux-based managed nodes only.- Parameters:
cveIds
- The Common Vulnerabilities and Exposures (CVE) ID of the patch. For example,CVE-2011-3192
. Applies to Linux-based managed nodes only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cveIds
The Common Vulnerabilities and Exposures (CVE) ID of the patch. For example,
CVE-2011-3192
. Applies to Linux-based managed nodes only.- Parameters:
cveIds
- The Common Vulnerabilities and Exposures (CVE) ID of the patch. For example,CVE-2011-3192
. Applies to Linux-based managed nodes only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the patch. Applies to Linux-based managed nodes only.
- Parameters:
name
- The name of the patch. Applies to Linux-based managed nodes only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
epoch
The epoch of the patch. For example in
pkg-example-EE-20180914-2.2.amzn1.noarch
, the epoch value is20180914-2
. Applies to Linux-based managed nodes only.- Parameters:
epoch
- The epoch of the patch. For example inpkg-example-EE-20180914-2.2.amzn1.noarch
, the epoch value is20180914-2
. Applies to Linux-based managed nodes only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
The version number of the patch. For example, in
example-pkg-1.710.10-2.7.abcd.x86_64
, the version number is indicated by-1
. Applies to Linux-based managed nodes only.- Parameters:
version
- The version number of the patch. For example, inexample-pkg-1.710.10-2.7.abcd.x86_64
, the version number is indicated by-1
. Applies to Linux-based managed nodes only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
release
The particular release of a patch. For example, in
pkg-example-EE-20180914-2.2.amzn1.noarch
, the release is2.amaz1
. Applies to Linux-based managed nodes only.- Parameters:
release
- The particular release of a patch. For example, inpkg-example-EE-20180914-2.2.amzn1.noarch
, the release is2.amaz1
. Applies to Linux-based managed nodes only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arch
The architecture of the patch. For example, in
example-pkg-0.710.10-2.7.abcd.x86_64
, the architecture is indicated byx86_64
. Applies to Linux-based managed nodes only.- Parameters:
arch
- The architecture of the patch. For example, inexample-pkg-0.710.10-2.7.abcd.x86_64
, the architecture is indicated byx86_64
. Applies to Linux-based managed nodes only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severity
The severity level of the patch. For example,
CRITICAL
orMODERATE
.- Parameters:
severity
- The severity level of the patch. For example,CRITICAL
orMODERATE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repository
The source patch repository for the operating system and version, such as
trusty-security
for Ubuntu Server 14.04 LTE andfocal-security
for Ubuntu Server 20.04 LTE. Applies to Linux-based managed nodes only.- Parameters:
repository
- The source patch repository for the operating system and version, such astrusty-security
for Ubuntu Server 14.04 LTE andfocal-security
for Ubuntu Server 20.04 LTE. Applies to Linux-based managed nodes only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-