@Generated(value="software.amazon.awssdk:codegen") public class PatchComplianceData extends Object implements StructuredPojo, 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).
|
boolean |
equals(Object obj) |
<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.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
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 (INSTALLED, INSTALLED_OTHER, MISSING, NOT_APPLICABLE or FAILED).
|
String |
stateAsString()
The state of the patch on the instance (INSTALLED, INSTALLED_OTHER, MISSING, NOT_APPLICABLE 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() |
copypublic String title()
The title of the patch.
public String kbId()
The operating system-specific ID of the patch.
public String classification()
The classification of the patch (for example, SecurityUpdates, Updates, CriticalUpdates).
public String severity()
The severity of the patch (for example, Critical, Important, Moderate).
public PatchComplianceDataState state()
The state of the patch on the instance (INSTALLED, INSTALLED_OTHER, MISSING, NOT_APPLICABLE or FAILED).
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().
PatchComplianceDataStatepublic String stateAsString()
The state of the patch on the instance (INSTALLED, INSTALLED_OTHER, MISSING, NOT_APPLICABLE or FAILED).
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().
PatchComplianceDataStatepublic Instant installedTime()
The date/time the patch was installed on the instance. Note that not all operating systems provide this level of information.
public PatchComplianceData.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<PatchComplianceData.Builder,PatchComplianceData>public static PatchComplianceData.Builder builder()
public static Class<? extends PatchComplianceData.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.