@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Patch extends Object implements Serializable, Cloneable, StructuredPojo
Represents metadata about a patch.
Constructor and Description |
---|
Patch() |
Modifier and Type | Method and Description |
---|---|
Patch |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAdvisoryIds()
The Advisory ID of the patch.
|
String |
getArch()
The architecture of the patch.
|
List<String> |
getBugzillaIds()
The Bugzilla ID of the patch.
|
String |
getClassification()
The classification of the patch.
|
String |
getContentUrl()
The URL where more information can be obtained about the patch.
|
List<String> |
getCVEIds()
The Common Vulnerabilities and Exposures (CVE) ID of the patch.
|
String |
getDescription()
The description of the patch.
|
Integer |
getEpoch()
The epoch of the patch.
|
String |
getId()
The ID of the patch.
|
String |
getKbNumber()
The Microsoft Knowledge Base ID of the patch.
|
String |
getLanguage()
The language of the patch if it's language-specific.
|
String |
getMsrcNumber()
The ID of the Microsoft Security Response Center (MSRC) bulletin the patch is related to.
|
String |
getMsrcSeverity()
The severity of the patch, such as
Critical , Important , or Moderate . |
String |
getName()
The name of the patch.
|
String |
getProduct()
The specific product the patch is applicable for.
|
String |
getProductFamily()
The product family the patch is applicable for.
|
String |
getRelease()
The particular release of a patch.
|
Date |
getReleaseDate()
The date the patch was released.
|
String |
getRepository()
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. |
String |
getSeverity()
The severity level of the patch.
|
String |
getTitle()
The title of the patch.
|
String |
getVendor()
The name of the vendor providing the patch.
|
String |
getVersion()
The version number of the patch.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAdvisoryIds(Collection<String> advisoryIds)
The Advisory ID of the patch.
|
void |
setArch(String arch)
The architecture of the patch.
|
void |
setBugzillaIds(Collection<String> bugzillaIds)
The Bugzilla ID of the patch.
|
void |
setClassification(String classification)
The classification of the patch.
|
void |
setContentUrl(String contentUrl)
The URL where more information can be obtained about the patch.
|
void |
setCVEIds(Collection<String> cVEIds)
The Common Vulnerabilities and Exposures (CVE) ID of the patch.
|
void |
setDescription(String description)
The description of the patch.
|
void |
setEpoch(Integer epoch)
The epoch of the patch.
|
void |
setId(String id)
The ID of the patch.
|
void |
setKbNumber(String kbNumber)
The Microsoft Knowledge Base ID of the patch.
|
void |
setLanguage(String language)
The language of the patch if it's language-specific.
|
void |
setMsrcNumber(String msrcNumber)
The ID of the Microsoft Security Response Center (MSRC) bulletin the patch is related to.
|
void |
setMsrcSeverity(String msrcSeverity)
The severity of the patch, such as
Critical , Important , or Moderate . |
void |
setName(String name)
The name of the patch.
|
void |
setProduct(String product)
The specific product the patch is applicable for.
|
void |
setProductFamily(String productFamily)
The product family the patch is applicable for.
|
void |
setRelease(String release)
The particular release of a patch.
|
void |
setReleaseDate(Date releaseDate)
The date the patch was released.
|
void |
setRepository(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. |
void |
setSeverity(String severity)
The severity level of the patch.
|
void |
setTitle(String title)
The title of the patch.
|
void |
setVendor(String vendor)
The name of the vendor providing the patch.
|
void |
setVersion(String version)
The version number of the patch.
|
String |
toString()
Returns a string representation of this object.
|
Patch |
withAdvisoryIds(Collection<String> advisoryIds)
The Advisory ID of the patch.
|
Patch |
withAdvisoryIds(String... advisoryIds)
The Advisory ID of the patch.
|
Patch |
withArch(String arch)
The architecture of the patch.
|
Patch |
withBugzillaIds(Collection<String> bugzillaIds)
The Bugzilla ID of the patch.
|
Patch |
withBugzillaIds(String... bugzillaIds)
The Bugzilla ID of the patch.
|
Patch |
withClassification(String classification)
The classification of the patch.
|
Patch |
withContentUrl(String contentUrl)
The URL where more information can be obtained about the patch.
|
Patch |
withCVEIds(Collection<String> cVEIds)
The Common Vulnerabilities and Exposures (CVE) ID of the patch.
|
Patch |
withCVEIds(String... cVEIds)
The Common Vulnerabilities and Exposures (CVE) ID of the patch.
|
Patch |
withDescription(String description)
The description of the patch.
|
Patch |
withEpoch(Integer epoch)
The epoch of the patch.
|
Patch |
withId(String id)
The ID of the patch.
|
Patch |
withKbNumber(String kbNumber)
The Microsoft Knowledge Base ID of the patch.
|
Patch |
withLanguage(String language)
The language of the patch if it's language-specific.
|
Patch |
withMsrcNumber(String msrcNumber)
The ID of the Microsoft Security Response Center (MSRC) bulletin the patch is related to.
|
Patch |
withMsrcSeverity(String msrcSeverity)
The severity of the patch, such as
Critical , Important , or Moderate . |
Patch |
withName(String name)
The name of the patch.
|
Patch |
withProduct(String product)
The specific product the patch is applicable for.
|
Patch |
withProductFamily(String productFamily)
The product family the patch is applicable for.
|
Patch |
withRelease(String release)
The particular release of a patch.
|
Patch |
withReleaseDate(Date releaseDate)
The date the patch was released.
|
Patch |
withRepository(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 |
withSeverity(String severity)
The severity level of the patch.
|
Patch |
withTitle(String title)
The title of the patch.
|
Patch |
withVendor(String vendor)
The name of the vendor providing the patch.
|
Patch |
withVersion(String version)
The version number of the patch.
|
public void setId(String id)
The ID of the patch. Applies to Windows patches only.
This ID isn't the same as the Microsoft Knowledge Base ID.
id
- The ID of the patch. Applies to Windows patches only. This ID isn't the same as the Microsoft Knowledge Base ID.
public String getId()
The ID of the patch. Applies to Windows patches only.
This ID isn't the same as the Microsoft Knowledge Base ID.
This ID isn't the same as the Microsoft Knowledge Base ID.
public Patch withId(String id)
The ID of the patch. Applies to Windows patches only.
This ID isn't the same as the Microsoft Knowledge Base ID.
id
- The ID of the patch. Applies to Windows patches only. This ID isn't the same as the Microsoft Knowledge Base ID.
public void setReleaseDate(Date releaseDate)
The date the patch was released.
releaseDate
- The date the patch was released.public Date getReleaseDate()
The date the patch was released.
public Patch withReleaseDate(Date releaseDate)
The date the patch was released.
releaseDate
- The date the patch was released.public void setTitle(String title)
The title of the patch.
title
- The title of the patch.public String getTitle()
The title of the patch.
public Patch withTitle(String title)
The title of the patch.
title
- The title of the patch.public void setDescription(String description)
The description of the patch.
description
- The description of the patch.public String getDescription()
The description of the patch.
public Patch withDescription(String description)
The description of the patch.
description
- The description of the patch.public void setContentUrl(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.public String getContentUrl()
The URL where more information can be obtained about the patch.
public Patch withContentUrl(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.public void setVendor(String vendor)
The name of the vendor providing the patch.
vendor
- The name of the vendor providing the patch.public String getVendor()
The name of the vendor providing the patch.
public Patch withVendor(String vendor)
The name of the vendor providing the patch.
vendor
- The name of the vendor providing the patch.public void setProductFamily(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
.public String getProductFamily()
The product family the patch is applicable for. For example, Windows
or Amazon Linux 2
.
Windows
or
Amazon Linux 2
.public Patch withProductFamily(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
.public void setProduct(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
.public String getProduct()
The specific product the patch is applicable for. For example, WindowsServer2016
or
AmazonLinux2018.03
.
WindowsServer2016
or
AmazonLinux2018.03
.public Patch withProduct(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
.public void setClassification(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
.public String getClassification()
The classification of the patch. For example, SecurityUpdates
, Updates
, or
CriticalUpdates
.
SecurityUpdates
, Updates
, or
CriticalUpdates
.public Patch withClassification(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
.public void setMsrcSeverity(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.public String getMsrcSeverity()
The severity of the patch, such as Critical
, Important
, or Moderate
.
Applies to Windows patches only.
Critical
, Important
, or
Moderate
. Applies to Windows patches only.public Patch withMsrcSeverity(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.public void setKbNumber(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.public String getKbNumber()
The Microsoft Knowledge Base ID of the patch. Applies to Windows patches only.
public Patch withKbNumber(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.public void setMsrcNumber(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.public String getMsrcNumber()
The ID of the Microsoft Security Response Center (MSRC) bulletin the patch is related to. For example,
MS14-045
. Applies to Windows patches only.
MS14-045
. Applies to Windows patches only.public Patch withMsrcNumber(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.public void setLanguage(String language)
The language of the patch if it's language-specific.
language
- The language of the patch if it's language-specific.public String getLanguage()
The language of the patch if it's language-specific.
public Patch withLanguage(String language)
The language of the patch if it's language-specific.
language
- The language of the patch if it's language-specific.public List<String> getAdvisoryIds()
The Advisory ID of the patch. For example, RHSA-2020:3779
. Applies to Linux-based managed nodes
only.
RHSA-2020:3779
. Applies to Linux-based managed
nodes only.public void setAdvisoryIds(Collection<String> advisoryIds)
The Advisory ID of the patch. For example, RHSA-2020:3779
. Applies to Linux-based managed nodes
only.
advisoryIds
- The Advisory ID of the patch. For example, RHSA-2020:3779
. Applies to Linux-based managed
nodes only.public Patch withAdvisoryIds(String... advisoryIds)
The Advisory ID of the patch. For example, RHSA-2020:3779
. Applies to Linux-based managed nodes
only.
NOTE: This method appends the values to the existing list (if any). Use
setAdvisoryIds(java.util.Collection)
or withAdvisoryIds(java.util.Collection)
if you want to
override the existing values.
advisoryIds
- The Advisory ID of the patch. For example, RHSA-2020:3779
. Applies to Linux-based managed
nodes only.public Patch withAdvisoryIds(Collection<String> advisoryIds)
The Advisory ID of the patch. For example, RHSA-2020:3779
. Applies to Linux-based managed nodes
only.
advisoryIds
- The Advisory ID of the patch. For example, RHSA-2020:3779
. Applies to Linux-based managed
nodes only.public List<String> getBugzillaIds()
The Bugzilla ID of the patch. For example, 1600646
. Applies to Linux-based managed nodes only.
1600646
. Applies to Linux-based managed nodes
only.public void setBugzillaIds(Collection<String> bugzillaIds)
The Bugzilla ID of the patch. For example, 1600646
. Applies to Linux-based managed nodes only.
bugzillaIds
- The Bugzilla ID of the patch. For example, 1600646
. Applies to Linux-based managed nodes
only.public Patch withBugzillaIds(String... bugzillaIds)
The Bugzilla ID of the patch. For example, 1600646
. Applies to Linux-based managed nodes only.
NOTE: This method appends the values to the existing list (if any). Use
setBugzillaIds(java.util.Collection)
or withBugzillaIds(java.util.Collection)
if you want to
override the existing values.
bugzillaIds
- The Bugzilla ID of the patch. For example, 1600646
. Applies to Linux-based managed nodes
only.public Patch withBugzillaIds(Collection<String> bugzillaIds)
The Bugzilla ID of the patch. For example, 1600646
. Applies to Linux-based managed nodes only.
bugzillaIds
- The Bugzilla ID of the patch. For example, 1600646
. Applies to Linux-based managed nodes
only.public List<String> getCVEIds()
The Common Vulnerabilities and Exposures (CVE) ID of the patch. For example, CVE-2011-3192
. Applies
to Linux-based managed nodes only.
CVE-2011-3192
.
Applies to Linux-based managed nodes only.public void setCVEIds(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.
cVEIds
- The Common Vulnerabilities and Exposures (CVE) ID of the patch. For example, CVE-2011-3192
.
Applies to Linux-based managed nodes only.public Patch withCVEIds(String... cVEIds)
The Common Vulnerabilities and Exposures (CVE) ID of the patch. For example, CVE-2011-3192
. Applies
to Linux-based managed nodes only.
NOTE: This method appends the values to the existing list (if any). Use
setCVEIds(java.util.Collection)
or withCVEIds(java.util.Collection)
if you want to override the
existing values.
cVEIds
- The Common Vulnerabilities and Exposures (CVE) ID of the patch. For example, CVE-2011-3192
.
Applies to Linux-based managed nodes only.public Patch withCVEIds(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.
cVEIds
- The Common Vulnerabilities and Exposures (CVE) ID of the patch. For example, CVE-2011-3192
.
Applies to Linux-based managed nodes only.public void setName(String name)
The name of the patch. Applies to Linux-based managed nodes only.
name
- The name of the patch. Applies to Linux-based managed nodes only.public String getName()
The name of the patch. Applies to Linux-based managed nodes only.
public Patch withName(String name)
The name of the patch. Applies to Linux-based managed nodes only.
name
- The name of the patch. Applies to Linux-based managed nodes only.public void setEpoch(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 managed nodes 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 managed nodes only.public Integer getEpoch()
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 managed nodes only.
pkg-example-EE-20180914-2.2.amzn1.noarch
, the epoch
value is 20180914-2
. Applies to Linux-based managed nodes only.public Patch withEpoch(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 managed nodes 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 managed nodes only.public void setVersion(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.
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.public String getVersion()
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.
example-pkg-1.710.10-2.7.abcd.x86_64
, the
version number is indicated by -1
. Applies to Linux-based managed nodes only.public Patch withVersion(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.
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.public void setRelease(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 managed nodes 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 managed nodes only.public String getRelease()
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 managed nodes only.
pkg-example-EE-20180914-2.2.amzn1.noarch
,
the release is 2.amaz1
. Applies to Linux-based managed nodes only.public Patch withRelease(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 managed nodes 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 managed nodes only.public void setArch(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 managed nodes 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 managed nodes only.public String getArch()
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 managed nodes only.
example-pkg-0.710.10-2.7.abcd.x86_64
, the
architecture is indicated by x86_64
. Applies to Linux-based managed nodes only.public Patch withArch(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 managed nodes 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 managed nodes only.public void setSeverity(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
.public String getSeverity()
The severity level of the patch. For example, CRITICAL
or MODERATE
.
CRITICAL
or MODERATE
.public Patch withSeverity(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
.public void setRepository(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 managed
nodes 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 managed nodes only.public String getRepository()
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 managed
nodes only.
trusty-security
for Ubuntu Server 14.04 LTE and focal-security
for Ubuntu Server 20.04 LTE. Applies to
Linux-based managed nodes only.public Patch withRepository(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 managed
nodes 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 managed nodes only.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2023. All rights reserved.