Class ComplianceSummary
- java.lang.Object
-
- com.amazonaws.services.config.model.ComplianceSummary
-
- All Implemented Interfaces:
Serializable,Cloneable
public class ComplianceSummary extends Object implements Serializable, Cloneable
The number of AWS Config rules or AWS resources that are compliant and noncompliant, up to a maximum.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ComplianceSummary()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComplianceSummaryclone()booleanequals(Object obj)DategetComplianceSummaryTimestamp()The time that AWS Config created the compliance summary.ComplianceContributorCountgetCompliantResourceCount()The number of AWS Config rules or AWS resources that are compliant, up to a maximum of 25 for rules and 100 for resources.ComplianceContributorCountgetNonCompliantResourceCount()The number of AWS Config rules or AWS resources that are noncompliant, up to a maximum of 25 for rules and 100 for resources.inthashCode()voidsetComplianceSummaryTimestamp(Date complianceSummaryTimestamp)The time that AWS Config created the compliance summary.voidsetCompliantResourceCount(ComplianceContributorCount compliantResourceCount)The number of AWS Config rules or AWS resources that are compliant, up to a maximum of 25 for rules and 100 for resources.voidsetNonCompliantResourceCount(ComplianceContributorCount nonCompliantResourceCount)The number of AWS Config rules or AWS resources that are noncompliant, up to a maximum of 25 for rules and 100 for resources.StringtoString()Returns a string representation of this object; useful for testing and debugging.ComplianceSummarywithComplianceSummaryTimestamp(Date complianceSummaryTimestamp)The time that AWS Config created the compliance summary.ComplianceSummarywithCompliantResourceCount(ComplianceContributorCount compliantResourceCount)The number of AWS Config rules or AWS resources that are compliant, up to a maximum of 25 for rules and 100 for resources.ComplianceSummarywithNonCompliantResourceCount(ComplianceContributorCount nonCompliantResourceCount)The number of AWS Config rules or AWS resources that are noncompliant, up to a maximum of 25 for rules and 100 for resources.
-
-
-
Method Detail
-
setCompliantResourceCount
public void setCompliantResourceCount(ComplianceContributorCount compliantResourceCount)
The number of AWS Config rules or AWS resources that are compliant, up to a maximum of 25 for rules and 100 for resources.
- Parameters:
compliantResourceCount- The number of AWS Config rules or AWS resources that are compliant, up to a maximum of 25 for rules and 100 for resources.
-
getCompliantResourceCount
public ComplianceContributorCount getCompliantResourceCount()
The number of AWS Config rules or AWS resources that are compliant, up to a maximum of 25 for rules and 100 for resources.
- Returns:
- The number of AWS Config rules or AWS resources that are compliant, up to a maximum of 25 for rules and 100 for resources.
-
withCompliantResourceCount
public ComplianceSummary withCompliantResourceCount(ComplianceContributorCount compliantResourceCount)
The number of AWS Config rules or AWS resources that are compliant, up to a maximum of 25 for rules and 100 for resources.
- Parameters:
compliantResourceCount- The number of AWS Config rules or AWS resources that are compliant, up to a maximum of 25 for rules and 100 for resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNonCompliantResourceCount
public void setNonCompliantResourceCount(ComplianceContributorCount nonCompliantResourceCount)
The number of AWS Config rules or AWS resources that are noncompliant, up to a maximum of 25 for rules and 100 for resources.
- Parameters:
nonCompliantResourceCount- The number of AWS Config rules or AWS resources that are noncompliant, up to a maximum of 25 for rules and 100 for resources.
-
getNonCompliantResourceCount
public ComplianceContributorCount getNonCompliantResourceCount()
The number of AWS Config rules or AWS resources that are noncompliant, up to a maximum of 25 for rules and 100 for resources.
- Returns:
- The number of AWS Config rules or AWS resources that are noncompliant, up to a maximum of 25 for rules and 100 for resources.
-
withNonCompliantResourceCount
public ComplianceSummary withNonCompliantResourceCount(ComplianceContributorCount nonCompliantResourceCount)
The number of AWS Config rules or AWS resources that are noncompliant, up to a maximum of 25 for rules and 100 for resources.
- Parameters:
nonCompliantResourceCount- The number of AWS Config rules or AWS resources that are noncompliant, up to a maximum of 25 for rules and 100 for resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setComplianceSummaryTimestamp
public void setComplianceSummaryTimestamp(Date complianceSummaryTimestamp)
The time that AWS Config created the compliance summary.
- Parameters:
complianceSummaryTimestamp- The time that AWS Config created the compliance summary.
-
getComplianceSummaryTimestamp
public Date getComplianceSummaryTimestamp()
The time that AWS Config created the compliance summary.
- Returns:
- The time that AWS Config created the compliance summary.
-
withComplianceSummaryTimestamp
public ComplianceSummary withComplianceSummaryTimestamp(Date complianceSummaryTimestamp)
The time that AWS Config created the compliance summary.
- Parameters:
complianceSummaryTimestamp- The time that AWS Config created the compliance summary.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ComplianceSummary clone()
-
-