@Generated(value="software.amazon.awssdk:codegen") public final class PatchComplianceData extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PatchComplianceData.Builder,PatchComplianceData>
Information about the state of a patch on a particular managed node as it relates to the patch baseline used to patch the node.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PatchComplianceData.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PatchComplianceData.Builder |
builder() |
String |
classification()
The classification of the patch, such as
SecurityUpdates, Updates, and
CriticalUpdates. |
String |
cveIds()
The IDs of one or more Common Vulnerabilities and Exposure (CVE) issues that are resolved by the patch.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
installedTime()
The date/time the patch was installed on the managed node.
|
String |
kbId()
The operating system-specific ID of the patch.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PatchComplianceData.Builder> |
serializableBuilderClass() |
String |
severity()
The severity of the patch such as
Critical, Important, and Moderate. |
PatchComplianceDataState |
state()
The state of the patch on the managed node, such as INSTALLED or FAILED.
|
String |
stateAsString()
The state of the patch on the managed node, such as INSTALLED or FAILED.
|
String |
title()
The title of the patch.
|
PatchComplianceData.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String title()
The title of the patch.
public final String kbId()
The operating system-specific ID of the patch.
public final String classification()
The classification of the patch, such as SecurityUpdates, Updates, and
CriticalUpdates.
SecurityUpdates, Updates, and
CriticalUpdates.public final String severity()
The severity of the patch such as Critical, Important, and Moderate.
Critical, Important, and
Moderate.public final PatchComplianceDataState state()
The state of the patch on the managed node, such as INSTALLED or FAILED.
For descriptions of each patch state, see About patch compliance in the Amazon Web Services Systems Manager User Guide.
If the service returns an enum value that is not available in the current SDK version, state will return
PatchComplianceDataState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
For descriptions of each patch state, see About patch compliance in the Amazon Web Services Systems Manager User Guide.
PatchComplianceDataStatepublic final String stateAsString()
The state of the patch on the managed node, such as INSTALLED or FAILED.
For descriptions of each patch state, see About patch compliance in the Amazon Web Services Systems Manager User Guide.
If the service returns an enum value that is not available in the current SDK version, state will return
PatchComplianceDataState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
For descriptions of each patch state, see About patch compliance in the Amazon Web Services Systems Manager User Guide.
PatchComplianceDataStatepublic final Instant installedTime()
The date/time the patch was installed on the managed node. Not all operating systems provide this level of information.
public final String cveIds()
The IDs of one or more Common Vulnerabilities and Exposure (CVE) issues that are resolved by the patch.
public PatchComplianceData.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PatchComplianceData.Builder,PatchComplianceData>public static PatchComplianceData.Builder builder()
public static Class<? extends PatchComplianceData.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.