Class PatchComplianceData
- java.lang.Object
-
- software.amazon.awssdk.services.ssm.model.PatchComplianceData
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<PatchComplianceData.Builder,PatchComplianceData>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
PatchComplianceData.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PatchComplianceData.Builder
builder()
String
classification()
The classification of the patch, such asSecurityUpdates
,Updates
, andCriticalUpdates
.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 asCritical
,Important
, andModerate
.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.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
title
public final String title()
The title of the patch.
- Returns:
- The title of the patch.
-
kbId
public final String kbId()
The operating system-specific ID of the patch.
- Returns:
- The operating system-specific ID of the patch.
-
classification
public final String classification()
The classification of the patch, such as
SecurityUpdates
,Updates
, andCriticalUpdates
.- Returns:
- The classification of the patch, such as
SecurityUpdates
,Updates
, andCriticalUpdates
.
-
severity
public final String severity()
The severity of the patch such as
Critical
,Important
, andModerate
.- Returns:
- The severity of the patch such as
Critical
,Important
, andModerate
.
-
state
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 returnPatchComplianceDataState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstateAsString()
.- Returns:
- 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.
- See Also:
PatchComplianceDataState
-
stateAsString
public 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 returnPatchComplianceDataState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstateAsString()
.- Returns:
- 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.
- See Also:
PatchComplianceDataState
-
installedTime
public final Instant installedTime()
The date/time the patch was installed on the managed node. Not all operating systems provide this level of information.
- Returns:
- The date/time the patch was installed on the managed node. Not all operating systems provide this level of information.
-
cveIds
public final String cveIds()
The IDs of one or more Common Vulnerabilities and Exposure (CVE) issues that are resolved by the patch.
Currently, CVE ID values are reported only for patches with a status of
Missing
orFailed
.- Returns:
- The IDs of one or more Common Vulnerabilities and Exposure (CVE) issues that are resolved by the
patch.
Currently, CVE ID values are reported only for patches with a status of
Missing
orFailed
.
-
toBuilder
public PatchComplianceData.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<PatchComplianceData.Builder,PatchComplianceData>
-
builder
public static PatchComplianceData.Builder builder()
-
serializableBuilderClass
public static Class<? extends PatchComplianceData.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-