Class AwsSsmComplianceSummary
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.AwsSsmComplianceSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AwsSsmComplianceSummary.Builder,AwsSsmComplianceSummary>
@Generated("software.amazon.awssdk:codegen") public final class AwsSsmComplianceSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsSsmComplianceSummary.Builder,AwsSsmComplianceSummary>
Provides the details about the compliance status for a patch.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAwsSsmComplianceSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AwsSsmComplianceSummary.Builderbuilder()StringcomplianceType()The type of resource for which the compliance was determined.IntegercompliantCriticalCount()For the patches that are compliant, the number that have a severity ofCRITICAL.IntegercompliantHighCount()For the patches that are compliant, the number that have a severity ofHIGH.IntegercompliantInformationalCount()For the patches that are compliant, the number that have a severity ofINFORMATIONAL.IntegercompliantLowCount()For the patches that are compliant, the number that have a severity ofLOW.IntegercompliantMediumCount()For the patches that are compliant, the number that have a severity ofMEDIUM.IntegercompliantUnspecifiedCount()For the patches that are compliant, the number that have a severity ofUNSPECIFIED.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringexecutionType()The type of execution that was used determine compliance.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegernonCompliantCriticalCount()For the patch items that are noncompliant, the number of items that have a severity ofCRITICAL.IntegernonCompliantHighCount()For the patches that are noncompliant, the number that have a severity ofHIGH.IntegernonCompliantInformationalCount()For the patches that are noncompliant, the number that have a severity ofINFORMATIONAL.IntegernonCompliantLowCount()For the patches that are noncompliant, the number that have a severity ofLOW.IntegernonCompliantMediumCount()For the patches that are noncompliant, the number that have a severity ofMEDIUM.IntegernonCompliantUnspecifiedCount()For the patches that are noncompliant, the number that have a severity ofUNSPECIFIED.StringoverallSeverity()The highest severity for the patches.StringpatchBaselineId()The identifier of the patch baseline.StringpatchGroup()The identifier of the patch group for which compliance was determined.List<SdkField<?>>sdkFields()static Class<? extends AwsSsmComplianceSummary.Builder>serializableBuilderClass()Stringstatus()The current patch compliance status.AwsSsmComplianceSummary.BuildertoBuilder()StringtoString()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
-
status
public final String 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
public final Integer 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
public final Integer 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
public final Integer 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
public final String executionType()
The type of execution that was used determine compliance.
- Returns:
- The type of execution that was used determine compliance.
-
nonCompliantCriticalCount
public final Integer 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
public final Integer 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
public final Integer 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
public final Integer 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
public final Integer 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
public final Integer 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
public final Integer 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
public final String complianceType()
The type of resource for which the compliance was determined. For
AwsSsmPatchCompliance,ComplianceTypeisPatch.- Returns:
- The type of resource for which the compliance was determined. For
AwsSsmPatchCompliance,ComplianceTypeisPatch.
-
patchBaselineId
public final String 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
public final String 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
public final Integer 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
public final Integer 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
public final String 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
public AwsSsmComplianceSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AwsSsmComplianceSummary.Builder,AwsSsmComplianceSummary>
-
builder
public static AwsSsmComplianceSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends AwsSsmComplianceSummary.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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.
-
-