@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AggregateConformancePackCompliance extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
AggregateConformancePackCompliance() |
Modifier and Type | Method and Description |
---|---|
AggregateConformancePackCompliance |
clone() |
boolean |
equals(Object obj) |
String |
getComplianceType()
The compliance status of the conformance pack.
|
Integer |
getCompliantRuleCount()
The number of compliant Config Rules.
|
Integer |
getNonCompliantRuleCount()
The number of noncompliant Config Rules.
|
Integer |
getTotalRuleCount()
Total number of compliant rules, noncompliant rules, and the rules that do not have any applicable resources to
evaluate upon resulting in insufficient data.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setComplianceType(String complianceType)
The compliance status of the conformance pack.
|
void |
setCompliantRuleCount(Integer compliantRuleCount)
The number of compliant Config Rules.
|
void |
setNonCompliantRuleCount(Integer nonCompliantRuleCount)
The number of noncompliant Config Rules.
|
void |
setTotalRuleCount(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.
|
String |
toString()
Returns a string representation of this object.
|
AggregateConformancePackCompliance |
withComplianceType(ConformancePackComplianceType complianceType)
The compliance status of the conformance pack.
|
AggregateConformancePackCompliance |
withComplianceType(String complianceType)
The compliance status of the conformance pack.
|
AggregateConformancePackCompliance |
withCompliantRuleCount(Integer compliantRuleCount)
The number of compliant Config Rules.
|
AggregateConformancePackCompliance |
withNonCompliantRuleCount(Integer nonCompliantRuleCount)
The number of noncompliant Config Rules.
|
AggregateConformancePackCompliance |
withTotalRuleCount(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 void setComplianceType(String complianceType)
The compliance status of the conformance pack.
complianceType
- The compliance status of the conformance pack.ConformancePackComplianceType
public String getComplianceType()
The compliance status of the conformance pack.
ConformancePackComplianceType
public AggregateConformancePackCompliance withComplianceType(String complianceType)
The compliance status of the conformance pack.
complianceType
- The compliance status of the conformance pack.ConformancePackComplianceType
public AggregateConformancePackCompliance withComplianceType(ConformancePackComplianceType complianceType)
The compliance status of the conformance pack.
complianceType
- The compliance status of the conformance pack.ConformancePackComplianceType
public void setCompliantRuleCount(Integer compliantRuleCount)
The number of compliant Config Rules.
compliantRuleCount
- The number of compliant Config Rules.public Integer getCompliantRuleCount()
The number of compliant Config Rules.
public AggregateConformancePackCompliance withCompliantRuleCount(Integer compliantRuleCount)
The number of compliant Config Rules.
compliantRuleCount
- The number of compliant Config Rules.public void setNonCompliantRuleCount(Integer nonCompliantRuleCount)
The number of noncompliant Config Rules.
nonCompliantRuleCount
- The number of noncompliant Config Rules.public Integer getNonCompliantRuleCount()
The number of noncompliant Config Rules.
public AggregateConformancePackCompliance withNonCompliantRuleCount(Integer nonCompliantRuleCount)
The number of noncompliant Config Rules.
nonCompliantRuleCount
- The number of noncompliant Config Rules.public void setTotalRuleCount(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.
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 Integer getTotalRuleCount()
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 withTotalRuleCount(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.
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 String toString()
toString
in class Object
Object.toString()
public AggregateConformancePackCompliance clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.