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:
  • Method Details

    • 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, ComplianceType is Patch.

      Returns:
      The type of resource for which the compliance was determined. For AwsSsmPatchCompliance, ComplianceType is Patch.
    • 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()
      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 interface ToCopyableBuilder<AwsSsmComplianceSummary.Builder,AwsSsmComplianceSummary>
      Returns:
      a builder for type T
    • builder

      public static AwsSsmComplianceSummary.Builder builder()
    • serializableBuilderClass

      public static Class<? extends AwsSsmComplianceSummary.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      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 an 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.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.