@Generated(value="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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AggregateConformancePackCompliance.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AggregateConformancePackCompliance.Builder |
builder() |
ConformancePackComplianceType |
complianceType()
The compliance status of the conformance pack.
|
String |
complianceTypeAsString()
The compliance status of the conformance pack.
|
Integer |
compliantRuleCount()
The number of compliant Config Rules.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
nonCompliantRuleCount()
The number of noncompliant Config Rules.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AggregateConformancePackCompliance.Builder> |
serializableBuilderClass() |
AggregateConformancePackCompliance.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
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.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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, complianceType
will return ConformancePackComplianceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service
is available from complianceTypeAsString().
ConformancePackComplianceTypepublic 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, complianceType
will return ConformancePackComplianceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service
is available from complianceTypeAsString().
ConformancePackComplianceTypepublic final Integer compliantRuleCount()
The number of compliant Config Rules.
public final Integer nonCompliantRuleCount()
The number of noncompliant Config Rules.
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.
public AggregateConformancePackCompliance.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AggregateConformancePackCompliance.Builder,AggregateConformancePackCompliance>public static AggregateConformancePackCompliance.Builder builder()
public static Class<? extends AggregateConformancePackCompliance.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.