Class ComplianceByConfigRule
java.lang.Object
com.amazonaws.services.config.model.ComplianceByConfigRule
- All Implemented Interfaces:
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.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Indicates whether the AWS Config rule is compliant.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.toString()
Returns a string representation of this object; useful for testing and debugging.withCompliance
(Compliance compliance) Indicates whether the AWS Config rule is compliant.withConfigRuleName
(String configRuleName) The name of the AWS Config rule.
-
Constructor Details
-
ComplianceByConfigRule
public ComplianceByConfigRule()
-
-
Method Details
-
setConfigRuleName
The name of the AWS Config rule.
- Parameters:
configRuleName
- The name of the AWS Config rule.
-
getConfigRuleName
The name of the AWS Config rule.
- Returns:
- The name of the AWS Config rule.
-
withConfigRuleName
The name of the AWS Config rule.
- Parameters:
configRuleName
- The name of the AWS Config rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCompliance
Indicates whether the AWS Config rule is compliant.
- Parameters:
compliance
- Indicates whether the AWS Config rule is compliant.
-
getCompliance
Indicates whether the AWS Config rule is compliant.
- Returns:
- Indicates whether the AWS Config rule is compliant.
-
withCompliance
Indicates whether the AWS Config rule is compliant.
- Parameters:
compliance
- Indicates whether the AWS Config rule is compliant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-