public class ComplianceContributorCount
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The number of AWS resources or AWS Config rules responsible for the current compliance of the item, up to a maximum number.
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
capExceeded
Indicates whether the maximum count is reached.
|
private java.lang.Integer |
cappedCount
The number of AWS resources or AWS Config rules responsible for the
current compliance of the item.
|
Constructor and Description |
---|
ComplianceContributorCount() |
Modifier and Type | Method and Description |
---|---|
ComplianceContributorCount |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getCapExceeded()
Indicates whether the maximum count is reached.
|
java.lang.Integer |
getCappedCount()
The number of AWS resources or AWS Config rules responsible for the
current compliance of the item.
|
int |
hashCode() |
java.lang.Boolean |
isCapExceeded()
Indicates whether the maximum count is reached.
|
void |
setCapExceeded(java.lang.Boolean capExceeded)
Indicates whether the maximum count is reached.
|
void |
setCappedCount(java.lang.Integer cappedCount)
The number of AWS resources or AWS Config rules responsible for the
current compliance of the item.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ComplianceContributorCount |
withCapExceeded(java.lang.Boolean capExceeded)
Indicates whether the maximum count is reached.
|
ComplianceContributorCount |
withCappedCount(java.lang.Integer cappedCount)
The number of AWS resources or AWS Config rules responsible for the
current compliance of the item.
|
private java.lang.Integer cappedCount
The number of AWS resources or AWS Config rules responsible for the current compliance of the item.
private java.lang.Boolean capExceeded
Indicates whether the maximum count is reached.
public void setCappedCount(java.lang.Integer cappedCount)
The number of AWS resources or AWS Config rules responsible for the current compliance of the item.
cappedCount
- The number of AWS resources or AWS Config rules responsible for
the current compliance of the item.public java.lang.Integer getCappedCount()
The number of AWS resources or AWS Config rules responsible for the current compliance of the item.
public ComplianceContributorCount withCappedCount(java.lang.Integer cappedCount)
The number of AWS resources or AWS Config rules responsible for the current compliance of the item.
cappedCount
- The number of AWS resources or AWS Config rules responsible for
the current compliance of the item.public void setCapExceeded(java.lang.Boolean capExceeded)
Indicates whether the maximum count is reached.
capExceeded
- Indicates whether the maximum count is reached.public java.lang.Boolean getCapExceeded()
Indicates whether the maximum count is reached.
public ComplianceContributorCount withCapExceeded(java.lang.Boolean capExceeded)
Indicates whether the maximum count is reached.
capExceeded
- Indicates whether the maximum count is reached.public java.lang.Boolean isCapExceeded()
Indicates whether the maximum count is reached.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ComplianceContributorCount clone()
clone
in class java.lang.Object