@Generated(value="software.amazon.awssdk:codegen") public final class Patch extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Patch.Builder,Patch>
Represents metadata about a patch.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Patch.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
advisoryIds()
The Advisory ID of the patch.
|
String |
arch()
The architecture of the patch.
|
List<String> |
bugzillaIds()
The Bugzilla ID of the patch.
|
static Patch.Builder |
builder() |
String |
classification()
The classification of the patch.
|
String |
contentUrl()
The URL where more information can be obtained about the patch.
|
List<String> |
cveIds()
The Common Vulnerabilities and Exposures (CVE) ID of the patch.
|
String |
description()
The description of the patch.
|
Integer |
epoch()
The epoch of the patch.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAdvisoryIds()
Returns true if the AdvisoryIds property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
boolean |
hasBugzillaIds()
Returns true if the BugzillaIds property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
boolean |
hasCveIds()
Returns true if the CVEIds property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
int |
hashCode() |
String |
id()
The ID of the patch.
|
String |
kbNumber()
The Microsoft Knowledge Base ID of the patch.
|
String |
language()
The language of the patch if it's language-specific.
|
String |
msrcNumber()
The ID of the Microsoft Security Response Center (MSRC) bulletin the patch is related to.
|
String |
msrcSeverity()
The severity of the patch, such as
Critical, Important, or Moderate. |
String |
name()
The name of the patch.
|
String |
product()
The specific product the patch is applicable for.
|
String |
productFamily()
The product family the patch is applicable for.
|
String |
release()
The particular release of a patch.
|
Instant |
releaseDate()
The date the patch was released.
|
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. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Patch.Builder> |
serializableBuilderClass() |
String |
severity()
The severity level of the patch.
|
String |
title()
The title of the patch.
|
Patch.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
vendor()
The name of the vendor providing the patch.
|
String |
version()
The version number of the patch.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String id()
The ID of the patch. Applies to Windows patches only.
This ID is not the same as the Microsoft Knowledge Base ID.
This ID is not the same as the Microsoft Knowledge Base ID.
public Instant releaseDate()
The date the patch was released.
public String title()
The title of the patch.
public String description()
The description of the patch.
public String contentUrl()
The URL where more information can be obtained about the patch.
public String vendor()
The name of the vendor providing the patch.
public String productFamily()
The product family the patch is applicable for. For example, Windows or Amazon Linux 2.
Windows or
Amazon Linux 2.public String product()
The specific product the patch is applicable for. For example, WindowsServer2016 or
AmazonLinux2018.03.
WindowsServer2016 or
AmazonLinux2018.03.public String classification()
The classification of the patch. For example, SecurityUpdates, Updates, or
CriticalUpdates.
SecurityUpdates, Updates, or
CriticalUpdates.public String msrcSeverity()
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 String kbNumber()
The Microsoft Knowledge Base ID of the patch. Applies to Windows patches only.
public 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.
MS14-045. Applies to Windows patches only.public String language()
The language of the patch if it's language-specific.
public boolean hasAdvisoryIds()
public List<String> advisoryIds()
The Advisory ID of the patch. For example, RHSA-2020:3779. Applies to Linux-based instances only.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAdvisoryIds() to see if a value was sent in this field.
RHSA-2020:3779. Applies to Linux-based instances
only.public boolean hasBugzillaIds()
public List<String> bugzillaIds()
The Bugzilla ID of the patch. For example, 1600646. Applies to Linux-based instances only.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasBugzillaIds() to see if a value was sent in this field.
1600646. Applies to Linux-based instances only.public boolean hasCveIds()
public List<String> cveIds()
The Common Vulnerabilities and Exposures (CVE) ID of the patch. For example, CVE-1999-0067. Applies
to Linux-based instances only.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasCveIds() to see if a value was sent in this field.
CVE-1999-0067.
Applies to Linux-based instances only.public String name()
The name of the patch. Applies to Linux-based instances only.
public 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.
pkg-example-EE-20180914-2.2.amzn1.noarch, the epoch
value is 20180914-2. Applies to Linux-based instances only.public 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.
example-pkg-1.710.10-2.7.abcd.x86_64, the
version number is indicated by -1. Applies to Linux-based instances only.public 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.
pkg-example-EE-20180914-2.2.amzn1.noarch,
the release is 2.amaz1. Applies to Linux-based instances only.public 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.
example-pkg-0.710.10-2.7.abcd.x86_64, the
architecture is indicated by x86_64. Applies to Linux-based instances only.public String severity()
The severity level of the patch. For example, CRITICAL or MODERATE.
CRITICAL or MODERATE.public 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.
trusty-security
for Ubuntu Server 14.04 LTE and focal-security for Ubuntu Server 20.04 LTE. Applies to
Linux-based instances only.public Patch.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Patch.Builder,Patch>public static Patch.Builder builder()
public static Class<? extends Patch.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.