@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ComplianceByConfigRule extends Object implements Serializable, Cloneable, StructuredPojo
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.