Class AwsSsmComplianceSummary
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<AwsSsmComplianceSummary.Builder,
AwsSsmComplianceSummary>
Provides the details about the compliance status for a patch.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
final String
The type of resource for which the compliance was determined.final Integer
For the patches that are compliant, the number that have a severity ofCRITICAL
.final Integer
For the patches that are compliant, the number that have a severity ofHIGH
.final Integer
For the patches that are compliant, the number that have a severity ofINFORMATIONAL
.final Integer
For the patches that are compliant, the number that have a severity ofLOW
.final Integer
For the patches that are compliant, the number that have a severity ofMEDIUM
.final Integer
For the patches that are compliant, the number that have a severity ofUNSPECIFIED
.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final String
The type of execution that was used determine compliance.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final Integer
For the patch items that are noncompliant, the number of items that have a severity ofCRITICAL
.final Integer
For the patches that are noncompliant, the number that have a severity ofHIGH
.final Integer
For the patches that are noncompliant, the number that have a severity ofINFORMATIONAL
.final Integer
For the patches that are noncompliant, the number that have a severity ofLOW
.final Integer
For the patches that are noncompliant, the number that have a severity ofMEDIUM
.final Integer
For the patches that are noncompliant, the number that have a severity ofUNSPECIFIED
.final String
The highest severity for the patches.final String
The identifier of the patch baseline.final String
The identifier of the patch group for which compliance was determined.static Class
<? extends AwsSsmComplianceSummary.Builder> final String
status()
The current patch compliance status.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
status
The current patch compliance status. Valid values are as follows:
-
COMPLIANT
-
NON_COMPLIANT
-
UNSPECIFIED_DATA
- Returns:
- The current patch compliance status. Valid values are as follows:
-
COMPLIANT
-
NON_COMPLIANT
-
UNSPECIFIED_DATA
-
-
-
compliantCriticalCount
For the patches that are compliant, the number that have a severity of
CRITICAL
.- Returns:
- For the patches that are compliant, the number that have a severity of
CRITICAL
.
-
compliantHighCount
For the patches that are compliant, the number that have a severity of
HIGH
.- Returns:
- For the patches that are compliant, the number that have a severity of
HIGH
.
-
compliantMediumCount
For the patches that are compliant, the number that have a severity of
MEDIUM
.- Returns:
- For the patches that are compliant, the number that have a severity of
MEDIUM
.
-
executionType
The type of execution that was used determine compliance.
- Returns:
- The type of execution that was used determine compliance.
-
nonCompliantCriticalCount
For the patch items that are noncompliant, the number of items that have a severity of
CRITICAL
.- Returns:
- For the patch items that are noncompliant, the number of items that have a severity of
CRITICAL
.
-
compliantInformationalCount
For the patches that are compliant, the number that have a severity of
INFORMATIONAL
.- Returns:
- For the patches that are compliant, the number that have a severity of
INFORMATIONAL
.
-
nonCompliantInformationalCount
For the patches that are noncompliant, the number that have a severity of
INFORMATIONAL
.- Returns:
- For the patches that are noncompliant, the number that have a severity of
INFORMATIONAL
.
-
compliantUnspecifiedCount
For the patches that are compliant, the number that have a severity of
UNSPECIFIED
.- Returns:
- For the patches that are compliant, the number that have a severity of
UNSPECIFIED
.
-
nonCompliantLowCount
For the patches that are noncompliant, the number that have a severity of
LOW
.- Returns:
- For the patches that are noncompliant, the number that have a severity of
LOW
.
-
nonCompliantHighCount
For the patches that are noncompliant, the number that have a severity of
HIGH
.- Returns:
- For the patches that are noncompliant, the number that have a severity of
HIGH
.
-
compliantLowCount
For the patches that are compliant, the number that have a severity of
LOW
.- Returns:
- For the patches that are compliant, the number that have a severity of
LOW
.
-
complianceType
The type of resource for which the compliance was determined. For
AwsSsmPatchCompliance
,ComplianceType
isPatch
.- Returns:
- The type of resource for which the compliance was determined. For
AwsSsmPatchCompliance
,ComplianceType
isPatch
.
-
patchBaselineId
The identifier of the patch baseline. The patch baseline lists the patches that are approved for installation.
- Returns:
- The identifier of the patch baseline. The patch baseline lists the patches that are approved for installation.
-
overallSeverity
The highest severity for the patches. Valid values are as follows:
-
CRITICAL
-
HIGH
-
MEDIUM
-
LOW
-
INFORMATIONAL
-
UNSPECIFIED
- Returns:
- The highest severity for the patches. Valid values are as follows:
-
CRITICAL
-
HIGH
-
MEDIUM
-
LOW
-
INFORMATIONAL
-
UNSPECIFIED
-
-
-
nonCompliantMediumCount
For the patches that are noncompliant, the number that have a severity of
MEDIUM
.- Returns:
- For the patches that are noncompliant, the number that have a severity of
MEDIUM
.
-
nonCompliantUnspecifiedCount
For the patches that are noncompliant, the number that have a severity of
UNSPECIFIED
.- Returns:
- For the patches that are noncompliant, the number that have a severity of
UNSPECIFIED
.
-
patchGroup
The identifier of the patch group for which compliance was determined. A patch group uses tags to group EC2 instances that should have the same patch compliance.
- Returns:
- The identifier of the patch group for which compliance was determined. A patch group uses tags to group EC2 instances that should have the same patch compliance.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<AwsSsmComplianceSummary.Builder,
AwsSsmComplianceSummary> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
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. -
getValueForField
-
sdkFields
-