@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ComplianceByConfigRule extends Object implements Serializable, Cloneable, StructuredPojo
Indicates whether an Config rule is compliant. A rule is compliant if all of the resources that the rule evaluated comply with it. A rule 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 Config rule is compliant.
|
String |
getConfigRuleName()
The name of the Config rule.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCompliance(Compliance compliance)
Indicates whether the Config rule is compliant.
|
void |
setConfigRuleName(String configRuleName)
The name of the Config rule.
|
String |
toString()
Returns a string representation of this object.
|
ComplianceByConfigRule |
withCompliance(Compliance compliance)
Indicates whether the Config rule is compliant.
|
ComplianceByConfigRule |
withConfigRuleName(String configRuleName)
The name of the Config rule.
|
public void setConfigRuleName(String configRuleName)
The name of the Config rule.
configRuleName
- The name of the Config rule.public String getConfigRuleName()
The name of the Config rule.
public ComplianceByConfigRule withConfigRuleName(String configRuleName)
The name of the Config rule.
configRuleName
- The name of the Config rule.public void setCompliance(Compliance compliance)
Indicates whether the Config rule is compliant.
compliance
- Indicates whether the Config rule is compliant.public Compliance getCompliance()
Indicates whether the Config rule is compliant.
public ComplianceByConfigRule withCompliance(Compliance compliance)
Indicates whether the Config rule is compliant.
compliance
- Indicates whether the Config rule is compliant.public String toString()
toString
in class Object
Object.toString()
public ComplianceByConfigRule clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.