@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 instance as it relates to the patch baseline used to patch the instance.
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 (for example, SecurityUpdates, Updates, 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)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
installedTime()
The date/time the patch was installed on the instance.
|
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 (for example, Critical, Important, Moderate).
|
PatchComplianceDataState |
state()
The state of the patch on the instance, such as INSTALLED or FAILED.
|
String |
stateAsString()
The state of the patch on the instance, such as INSTALLED or FAILED.
|
String |
title()
The title of the patch.
|
PatchComplianceData.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
copy
public 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 (for example, SecurityUpdates, Updates, CriticalUpdates).
public final String severity()
The severity of the patch (for example, Critical, Important, Moderate).
public final PatchComplianceDataState state()
The state of the patch on the instance, such as INSTALLED or FAILED.
For descriptions of each patch state, see About patch compliance in the AWS 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 AWS Systems Manager User Guide.
PatchComplianceDataState
public final String stateAsString()
The state of the patch on the instance, such as INSTALLED or FAILED.
For descriptions of each patch state, see About patch compliance in the AWS 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 AWS Systems Manager User Guide.
PatchComplianceDataState
public final Instant installedTime()
The date/time the patch was installed on the instance. Note that 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()
ToCopyableBuilder
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)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.