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 ComplianceSummary
clone()
boolean
equals(Object obj)
Date
getComplianceSummaryTimestamp()
The time that AWS Config created the compliance summary.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.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.int
hashCode()
void
setComplianceSummaryTimestamp(Date complianceSummaryTimestamp)
The time that AWS Config created the compliance summary.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.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.String
toString()
Returns a string representation of this object; useful for testing and debugging.ComplianceSummary
withComplianceSummaryTimestamp(Date complianceSummaryTimestamp)
The time that AWS Config created the compliance summary.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.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.
-
-
-
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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ComplianceSummary clone()
-
-