@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConformancePackRuleCompliance extends Object implements Serializable, Cloneable, StructuredPojo
Compliance information of one or more AWS Config rules within a conformance pack. You can filter using AWS Config rule names and compliance types.
Constructor and Description |
---|
ConformancePackRuleCompliance() |
Modifier and Type | Method and Description |
---|---|
ConformancePackRuleCompliance |
clone() |
boolean |
equals(Object obj) |
String |
getComplianceType()
Compliance of the AWS Config rule
|
String |
getConfigRuleName()
Name of the config rule.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setComplianceType(String complianceType)
Compliance of the AWS Config rule
|
void |
setConfigRuleName(String configRuleName)
Name of the config rule.
|
String |
toString()
Returns a string representation of this object.
|
ConformancePackRuleCompliance |
withComplianceType(ConformancePackComplianceType complianceType)
Compliance of the AWS Config rule
|
ConformancePackRuleCompliance |
withComplianceType(String complianceType)
Compliance of the AWS Config rule
|
ConformancePackRuleCompliance |
withConfigRuleName(String configRuleName)
Name of the config rule.
|
public void setConfigRuleName(String configRuleName)
Name of the config rule.
configRuleName
- Name of the config rule.public String getConfigRuleName()
Name of the config rule.
public ConformancePackRuleCompliance withConfigRuleName(String configRuleName)
Name of the config rule.
configRuleName
- Name of the config rule.public void setComplianceType(String complianceType)
Compliance of the AWS Config rule
The allowed values are COMPLIANT
and NON_COMPLIANT
.
complianceType
- Compliance of the AWS Config rule
The allowed values are COMPLIANT
and NON_COMPLIANT
.
ConformancePackComplianceType
public String getComplianceType()
Compliance of the AWS Config rule
The allowed values are COMPLIANT
and NON_COMPLIANT
.
The allowed values are COMPLIANT
and NON_COMPLIANT
.
ConformancePackComplianceType
public ConformancePackRuleCompliance withComplianceType(String complianceType)
Compliance of the AWS Config rule
The allowed values are COMPLIANT
and NON_COMPLIANT
.
complianceType
- Compliance of the AWS Config rule
The allowed values are COMPLIANT
and NON_COMPLIANT
.
ConformancePackComplianceType
public ConformancePackRuleCompliance withComplianceType(ConformancePackComplianceType complianceType)
Compliance of the AWS Config rule
The allowed values are COMPLIANT
and NON_COMPLIANT
.
complianceType
- Compliance of the AWS Config rule
The allowed values are COMPLIANT
and NON_COMPLIANT
.
ConformancePackComplianceType
public String toString()
toString
in class Object
Object.toString()
public ConformancePackRuleCompliance clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.