Class AggregateConformancePackCompliance
- java.lang.Object
-
- software.amazon.awssdk.services.config.model.AggregateConformancePackCompliance
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AggregateConformancePackCompliance.Builder,AggregateConformancePackCompliance>
@Generated("software.amazon.awssdk:codegen") public final class AggregateConformancePackCompliance extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AggregateConformancePackCompliance.Builder,AggregateConformancePackCompliance>
Provides the number of compliant and noncompliant rules within a conformance pack. Also provides the compliance status of the conformance pack and the total rule count which includes compliant rules, noncompliant rules, and rules that cannot be evaluated due to insufficient data.
A conformance pack is compliant if all of the rules in a conformance packs are compliant. It is noncompliant if any of the rules are not compliant. The compliance status of a conformance pack is INSUFFICIENT_DATA only if all rules within a conformance pack cannot be evaluated due to insufficient data. If some of the rules in a conformance pack are compliant but the compliance status of other rules in that same conformance pack is INSUFFICIENT_DATA, the conformance pack shows compliant.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAggregateConformancePackCompliance.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AggregateConformancePackCompliance.Builderbuilder()ConformancePackComplianceTypecomplianceType()The compliance status of the conformance pack.StringcomplianceTypeAsString()The compliance status of the conformance pack.IntegercompliantRuleCount()The number of compliant Config Rules.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegernonCompliantRuleCount()The number of noncompliant Config Rules.List<SdkField<?>>sdkFields()static Class<? extends AggregateConformancePackCompliance.Builder>serializableBuilderClass()AggregateConformancePackCompliance.BuildertoBuilder()StringtoString()Returns a string representation of this object.IntegertotalRuleCount()Total number of compliant rules, noncompliant rules, and the rules that do not have any applicable resources to evaluate upon resulting in insufficient data.-
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
-
complianceType
public final ConformancePackComplianceType complianceType()
The compliance status of the conformance pack.
If the service returns an enum value that is not available in the current SDK version,
complianceTypewill returnConformancePackComplianceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcomplianceTypeAsString().- Returns:
- The compliance status of the conformance pack.
- See Also:
ConformancePackComplianceType
-
complianceTypeAsString
public final String complianceTypeAsString()
The compliance status of the conformance pack.
If the service returns an enum value that is not available in the current SDK version,
complianceTypewill returnConformancePackComplianceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcomplianceTypeAsString().- Returns:
- The compliance status of the conformance pack.
- See Also:
ConformancePackComplianceType
-
compliantRuleCount
public final Integer compliantRuleCount()
The number of compliant Config Rules.
- Returns:
- The number of compliant Config Rules.
-
nonCompliantRuleCount
public final Integer nonCompliantRuleCount()
The number of noncompliant Config Rules.
- Returns:
- The number of noncompliant Config Rules.
-
totalRuleCount
public final Integer totalRuleCount()
Total number of compliant rules, noncompliant rules, and the rules that do not have any applicable resources to evaluate upon resulting in insufficient data.
- Returns:
- Total number of compliant rules, noncompliant rules, and the rules that do not have any applicable resources to evaluate upon resulting in insufficient data.
-
toBuilder
public AggregateConformancePackCompliance.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AggregateConformancePackCompliance.Builder,AggregateConformancePackCompliance>
-
builder
public static AggregateConformancePackCompliance.Builder builder()
-
serializableBuilderClass
public static Class<? extends AggregateConformancePackCompliance.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.
-
-