public static interface Patch.Builder extends SdkPojo, CopyableBuilder<Patch.Builder,Patch>
Modifier and Type | Method and Description |
---|---|
Patch.Builder |
advisoryIds(Collection<String> advisoryIds)
The Advisory ID of the patch.
|
Patch.Builder |
advisoryIds(String... advisoryIds)
The Advisory ID of the patch.
|
Patch.Builder |
arch(String arch)
The architecture of the patch.
|
Patch.Builder |
bugzillaIds(Collection<String> bugzillaIds)
The Bugzilla ID of the patch.
|
Patch.Builder |
bugzillaIds(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(Collection<String> cveIds)
The Common Vulnerabilities and Exposures (CVE) ID of the patch.
|
Patch.Builder |
cveIds(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 as
Critical , Important , or Moderate . |
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 as
trusty-security for
Ubuntu Server 14.04 LTE and focal-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.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
Patch.Builder id(String id)
The ID of the patch. Applies to Windows patches only.
This ID is not the same as the Microsoft Knowledge Base ID.
id
- The ID of the patch. Applies to Windows patches only. This ID is not the same as the Microsoft Knowledge Base ID.
Patch.Builder releaseDate(Instant releaseDate)
The date the patch was released.
releaseDate
- The date the patch was released.Patch.Builder title(String title)
The title of the patch.
title
- The title of the patch.Patch.Builder description(String description)
The description of the patch.
description
- The description of the patch.Patch.Builder contentUrl(String contentUrl)
The URL where more information can be obtained about the patch.
contentUrl
- The URL where more information can be obtained about the patch.Patch.Builder vendor(String vendor)
The name of the vendor providing the patch.
vendor
- The name of the vendor providing the patch.Patch.Builder productFamily(String productFamily)
The product family the patch is applicable for. For example, Windows
or
Amazon Linux 2
.
productFamily
- The product family the patch is applicable for. For example, Windows
or
Amazon Linux 2
.Patch.Builder product(String product)
The specific product the patch is applicable for. For example, WindowsServer2016
or
AmazonLinux2018.03
.
product
- The specific product the patch is applicable for. For example, WindowsServer2016
or
AmazonLinux2018.03
.Patch.Builder classification(String classification)
The classification of the patch. For example, SecurityUpdates
, Updates
, or
CriticalUpdates
.
classification
- The classification of the patch. For example, SecurityUpdates
, Updates
, or
CriticalUpdates
.Patch.Builder msrcSeverity(String msrcSeverity)
The severity of the patch, such as Critical
, Important
, or Moderate
.
Applies to Windows patches only.
msrcSeverity
- The severity of the patch, such as Critical
, Important
, or
Moderate
. Applies to Windows patches only.Patch.Builder kbNumber(String kbNumber)
The Microsoft Knowledge Base ID of the patch. Applies to Windows patches only.
kbNumber
- The Microsoft Knowledge Base ID of the patch. Applies to Windows patches only.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.
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.Patch.Builder language(String language)
The language of the patch if it's language-specific.
language
- The language of the patch if it's language-specific.Patch.Builder advisoryIds(Collection<String> advisoryIds)
The Advisory ID of the patch. For example, RHSA-2020:3779
. Applies to Linux-based instances
only.
advisoryIds
- The Advisory ID of the patch. For example, RHSA-2020:3779
. Applies to Linux-based
instances only.Patch.Builder advisoryIds(String... advisoryIds)
The Advisory ID of the patch. For example, RHSA-2020:3779
. Applies to Linux-based instances
only.
advisoryIds
- The Advisory ID of the patch. For example, RHSA-2020:3779
. Applies to Linux-based
instances only.Patch.Builder bugzillaIds(Collection<String> bugzillaIds)
The Bugzilla ID of the patch. For example, 1600646
. Applies to Linux-based instances only.
bugzillaIds
- The Bugzilla ID of the patch. For example, 1600646
. Applies to Linux-based instances
only.Patch.Builder bugzillaIds(String... bugzillaIds)
The Bugzilla ID of the patch. For example, 1600646
. Applies to Linux-based instances only.
bugzillaIds
- The Bugzilla ID of the patch. For example, 1600646
. Applies to Linux-based instances
only.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 instances only.
cveIds
- The Common Vulnerabilities and Exposures (CVE) ID of the patch. For example,
CVE-2011-3192
. Applies to Linux-based instances only.Patch.Builder cveIds(String... cveIds)
The Common Vulnerabilities and Exposures (CVE) ID of the patch. For example, CVE-2011-3192
.
Applies to Linux-based instances only.
cveIds
- The Common Vulnerabilities and Exposures (CVE) ID of the patch. For example,
CVE-2011-3192
. Applies to Linux-based instances only.Patch.Builder name(String name)
The name of the patch. Applies to Linux-based instances only.
name
- The name of the patch. Applies to Linux-based instances only.Patch.Builder epoch(Integer epoch)
The epoch of the patch. For example in pkg-example-EE-20180914-2.2.amzn1.noarch
, the epoch value
is 20180914-2
. Applies to Linux-based instances only.
epoch
- The epoch of the patch. For example in pkg-example-EE-20180914-2.2.amzn1.noarch
, the
epoch value is 20180914-2
. Applies to Linux-based instances only.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 instances only.
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 instances only.Patch.Builder release(String release)
The particular release of a patch. For example, in pkg-example-EE-20180914-2.2.amzn1.noarch
, the
release is 2.amaz1
. Applies to Linux-based instances only.
release
- The particular release of a patch. For example, in
pkg-example-EE-20180914-2.2.amzn1.noarch
, the release is 2.amaz1
. Applies to
Linux-based instances only.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 by x86_64
. Applies to Linux-based instances only.
arch
- The architecture of the patch. For example, in example-pkg-0.710.10-2.7.abcd.x86_64
, the
architecture is indicated by x86_64
. Applies to Linux-based instances only.Patch.Builder severity(String severity)
The severity level of the patch. For example, CRITICAL
or MODERATE
.
severity
- The severity level of the patch. For example, CRITICAL
or MODERATE
.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 and focal-security
for Ubuntu Server 20.04 LTE. Applies to Linux-based
instances only.
repository
- The source patch repository for the operating system and version, such as trusty-security
for Ubuntu Server 14.04 LTE and focal-security
for Ubuntu Server 20.04 LTE. Applies to
Linux-based instances only.Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.