public class ComplianceByConfigRule extends Object implements Serializable, Cloneable
Indicates whether an AWS Config rule is compliant. A rule is compliant if all of the resources that the rule evaluated comply with it, and it is noncompliant if any of these resources do not comply.
Constructor and Description |
---|
ComplianceByConfigRule() |
Modifier and Type | Method and Description |
---|---|
ComplianceByConfigRule |
clone() |
boolean |
equals(Object obj) |
Compliance |
getCompliance()
Indicates whether the AWS Config rule is compliant.
|
String |
getConfigRuleName()
The name of the AWS Config rule.
|
int |
hashCode() |
void |
setCompliance(Compliance compliance)
Indicates whether the AWS Config rule is compliant.
|
void |
setConfigRuleName(String configRuleName)
The name of the AWS Config rule.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ComplianceByConfigRule |
withCompliance(Compliance compliance)
Indicates whether the AWS Config rule is compliant.
|
ComplianceByConfigRule |
withConfigRuleName(String configRuleName)
The name of the AWS Config rule.
|
public void setConfigRuleName(String configRuleName)
The name of the AWS Config rule.
configRuleName
- The name of the AWS Config rule.public String getConfigRuleName()
The name of the AWS Config rule.
public ComplianceByConfigRule withConfigRuleName(String configRuleName)
The name of the AWS Config rule.
configRuleName
- The name of the AWS Config rule.public void setCompliance(Compliance compliance)
Indicates whether the AWS Config rule is compliant.
compliance
- Indicates whether the AWS Config rule is compliant.public Compliance getCompliance()
Indicates whether the AWS Config rule is compliant.
public ComplianceByConfigRule withCompliance(Compliance compliance)
Indicates whether the AWS Config rule is compliant.
compliance
- Indicates whether the AWS Config rule is compliant.public String toString()
toString
in class Object
Object.toString()
public ComplianceByConfigRule clone()
Copyright © 2018. All rights reserved.