Interface Patch.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<Patch.Builder,Patch>
,SdkBuilder<Patch.Builder,Patch>
,SdkPojo
- Enclosing class:
- Patch
public static interface Patch.Builder extends SdkPojo, CopyableBuilder<Patch.Builder,Patch>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Patch.Builder
advisoryIds(String... advisoryIds)
The Advisory ID of the patch.Patch.Builder
advisoryIds(Collection<String> advisoryIds)
The Advisory ID of the patch.Patch.Builder
arch(String arch)
The architecture of the patch.Patch.Builder
bugzillaIds(String... bugzillaIds)
The Bugzilla ID of the patch.Patch.Builder
bugzillaIds(Collection<String> bugzillaIds)
The Bugzilla ID of the patch.Patch.Builder
classification(String classification)
The classification of the patch.Patch.Builder
contentUrl(String contentUrl)
The URL where more information can be obtained about the patch.Patch.Builder
cveIds(String... cveIds)
The Common Vulnerabilities and Exposures (CVE) ID of the patch.Patch.Builder
cveIds(Collection<String> cveIds)
The Common Vulnerabilities and Exposures (CVE) ID of the patch.Patch.Builder
description(String description)
The description of the patch.Patch.Builder
epoch(Integer epoch)
The epoch of the patch.Patch.Builder
id(String id)
The ID of the patch.Patch.Builder
kbNumber(String kbNumber)
The Microsoft Knowledge Base ID of the patch.Patch.Builder
language(String language)
The language of the patch if it's language-specific.Patch.Builder
msrcNumber(String msrcNumber)
The ID of the Microsoft Security Response Center (MSRC) bulletin the patch is related to.Patch.Builder
msrcSeverity(String msrcSeverity)
The severity of the patch, such asCritical
,Important
, orModerate
.Patch.Builder
name(String name)
The name of the patch.Patch.Builder
product(String product)
The specific product the patch is applicable for.Patch.Builder
productFamily(String productFamily)
The product family the patch is applicable for.Patch.Builder
release(String release)
The particular release of a patch.Patch.Builder
releaseDate(Instant releaseDate)
The date the patch was released.Patch.Builder
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.Patch.Builder
severity(String severity)
The severity level of the patch.Patch.Builder
title(String title)
The title of the patch.Patch.Builder
vendor(String vendor)
The name of the vendor providing the patch.Patch.Builder
version(String version)
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 Detail
-
id
Patch.Builder id(String 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
Patch.Builder releaseDate(Instant 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
Patch.Builder title(String 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
Patch.Builder description(String 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
Patch.Builder contentUrl(String 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
Patch.Builder vendor(String 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
Patch.Builder productFamily(String 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
Patch.Builder product(String 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
Patch.Builder classification(String 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
Patch.Builder msrcSeverity(String 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
Patch.Builder kbNumber(String 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
Patch.Builder msrcNumber(String 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
Patch.Builder language(String 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
Patch.Builder advisoryIds(Collection<String> 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
Patch.Builder advisoryIds(String... 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
Patch.Builder bugzillaIds(Collection<String> 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
Patch.Builder bugzillaIds(String... 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
Patch.Builder cveIds(Collection<String> 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
Patch.Builder cveIds(String... 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
Patch.Builder name(String 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
Patch.Builder epoch(Integer 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
Patch.Builder version(String 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
Patch.Builder release(String 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
Patch.Builder arch(String 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
Patch.Builder severity(String 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
Patch.Builder repository(String 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.
-
-