@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Compliance extends Object implements Serializable, Cloneable, StructuredPojo
Indicates whether an Amazon Web Services resource or Config rule is compliant and provides the number of contributors that affect the compliance.
| Constructor and Description |
|---|
Compliance() |
| Modifier and Type | Method and Description |
|---|---|
Compliance |
clone() |
boolean |
equals(Object obj) |
ComplianceContributorCount |
getComplianceContributorCount()
The number of Amazon Web Services resources or Config rules that cause a result of
NON_COMPLIANT, up
to a maximum number. |
String |
getComplianceType()
Indicates whether an Amazon Web Services resource or Config rule is compliant.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setComplianceContributorCount(ComplianceContributorCount complianceContributorCount)
The number of Amazon Web Services resources or Config rules that cause a result of
NON_COMPLIANT, up
to a maximum number. |
void |
setComplianceType(ComplianceType complianceType)
Indicates whether an Amazon Web Services resource or Config rule is compliant.
|
void |
setComplianceType(String complianceType)
Indicates whether an Amazon Web Services resource or Config rule is compliant.
|
String |
toString()
Returns a string representation of this object.
|
Compliance |
withComplianceContributorCount(ComplianceContributorCount complianceContributorCount)
The number of Amazon Web Services resources or Config rules that cause a result of
NON_COMPLIANT, up
to a maximum number. |
Compliance |
withComplianceType(ComplianceType complianceType)
Indicates whether an Amazon Web Services resource or Config rule is compliant.
|
Compliance |
withComplianceType(String complianceType)
Indicates whether an Amazon Web Services resource or Config rule is compliant.
|
public void setComplianceType(String complianceType)
Indicates whether an Amazon Web Services resource or Config rule is compliant.
A resource is compliant if it complies with all of the Config rules that evaluate it. A resource is noncompliant if it does not comply with one or more of these rules.
A rule is compliant if all of the resources that the rule evaluates comply with it. A rule is noncompliant if any of these resources do not comply.
Config returns the INSUFFICIENT_DATA value when no evaluation results are available for the Amazon
Web Services resource or Config rule.
For the Compliance data type, Config supports only COMPLIANT,
NON_COMPLIANT, and INSUFFICIENT_DATA values. Config does not support the
NOT_APPLICABLE value for the Compliance data type.
complianceType - Indicates whether an Amazon Web Services resource or Config rule is compliant.
A resource is compliant if it complies with all of the Config rules that evaluate it. A resource is noncompliant if it does not comply with one or more of these rules.
A rule is compliant if all of the resources that the rule evaluates comply with it. A rule is noncompliant if any of these resources do not comply.
Config returns the INSUFFICIENT_DATA value when no evaluation results are available for the
Amazon Web Services resource or Config rule.
For the Compliance data type, Config supports only COMPLIANT,
NON_COMPLIANT, and INSUFFICIENT_DATA values. Config does not support the
NOT_APPLICABLE value for the Compliance data type.
ComplianceTypepublic String getComplianceType()
Indicates whether an Amazon Web Services resource or Config rule is compliant.
A resource is compliant if it complies with all of the Config rules that evaluate it. A resource is noncompliant if it does not comply with one or more of these rules.
A rule is compliant if all of the resources that the rule evaluates comply with it. A rule is noncompliant if any of these resources do not comply.
Config returns the INSUFFICIENT_DATA value when no evaluation results are available for the Amazon
Web Services resource or Config rule.
For the Compliance data type, Config supports only COMPLIANT,
NON_COMPLIANT, and INSUFFICIENT_DATA values. Config does not support the
NOT_APPLICABLE value for the Compliance data type.
A resource is compliant if it complies with all of the Config rules that evaluate it. A resource is noncompliant if it does not comply with one or more of these rules.
A rule is compliant if all of the resources that the rule evaluates comply with it. A rule is noncompliant if any of these resources do not comply.
Config returns the INSUFFICIENT_DATA value when no evaluation results are available for the
Amazon Web Services resource or Config rule.
For the Compliance data type, Config supports only COMPLIANT,
NON_COMPLIANT, and INSUFFICIENT_DATA values. Config does not support the
NOT_APPLICABLE value for the Compliance data type.
ComplianceTypepublic Compliance withComplianceType(String complianceType)
Indicates whether an Amazon Web Services resource or Config rule is compliant.
A resource is compliant if it complies with all of the Config rules that evaluate it. A resource is noncompliant if it does not comply with one or more of these rules.
A rule is compliant if all of the resources that the rule evaluates comply with it. A rule is noncompliant if any of these resources do not comply.
Config returns the INSUFFICIENT_DATA value when no evaluation results are available for the Amazon
Web Services resource or Config rule.
For the Compliance data type, Config supports only COMPLIANT,
NON_COMPLIANT, and INSUFFICIENT_DATA values. Config does not support the
NOT_APPLICABLE value for the Compliance data type.
complianceType - Indicates whether an Amazon Web Services resource or Config rule is compliant.
A resource is compliant if it complies with all of the Config rules that evaluate it. A resource is noncompliant if it does not comply with one or more of these rules.
A rule is compliant if all of the resources that the rule evaluates comply with it. A rule is noncompliant if any of these resources do not comply.
Config returns the INSUFFICIENT_DATA value when no evaluation results are available for the
Amazon Web Services resource or Config rule.
For the Compliance data type, Config supports only COMPLIANT,
NON_COMPLIANT, and INSUFFICIENT_DATA values. Config does not support the
NOT_APPLICABLE value for the Compliance data type.
ComplianceTypepublic void setComplianceType(ComplianceType complianceType)
Indicates whether an Amazon Web Services resource or Config rule is compliant.
A resource is compliant if it complies with all of the Config rules that evaluate it. A resource is noncompliant if it does not comply with one or more of these rules.
A rule is compliant if all of the resources that the rule evaluates comply with it. A rule is noncompliant if any of these resources do not comply.
Config returns the INSUFFICIENT_DATA value when no evaluation results are available for the Amazon
Web Services resource or Config rule.
For the Compliance data type, Config supports only COMPLIANT,
NON_COMPLIANT, and INSUFFICIENT_DATA values. Config does not support the
NOT_APPLICABLE value for the Compliance data type.
complianceType - Indicates whether an Amazon Web Services resource or Config rule is compliant.
A resource is compliant if it complies with all of the Config rules that evaluate it. A resource is noncompliant if it does not comply with one or more of these rules.
A rule is compliant if all of the resources that the rule evaluates comply with it. A rule is noncompliant if any of these resources do not comply.
Config returns the INSUFFICIENT_DATA value when no evaluation results are available for the
Amazon Web Services resource or Config rule.
For the Compliance data type, Config supports only COMPLIANT,
NON_COMPLIANT, and INSUFFICIENT_DATA values. Config does not support the
NOT_APPLICABLE value for the Compliance data type.
ComplianceTypepublic Compliance withComplianceType(ComplianceType complianceType)
Indicates whether an Amazon Web Services resource or Config rule is compliant.
A resource is compliant if it complies with all of the Config rules that evaluate it. A resource is noncompliant if it does not comply with one or more of these rules.
A rule is compliant if all of the resources that the rule evaluates comply with it. A rule is noncompliant if any of these resources do not comply.
Config returns the INSUFFICIENT_DATA value when no evaluation results are available for the Amazon
Web Services resource or Config rule.
For the Compliance data type, Config supports only COMPLIANT,
NON_COMPLIANT, and INSUFFICIENT_DATA values. Config does not support the
NOT_APPLICABLE value for the Compliance data type.
complianceType - Indicates whether an Amazon Web Services resource or Config rule is compliant.
A resource is compliant if it complies with all of the Config rules that evaluate it. A resource is noncompliant if it does not comply with one or more of these rules.
A rule is compliant if all of the resources that the rule evaluates comply with it. A rule is noncompliant if any of these resources do not comply.
Config returns the INSUFFICIENT_DATA value when no evaluation results are available for the
Amazon Web Services resource or Config rule.
For the Compliance data type, Config supports only COMPLIANT,
NON_COMPLIANT, and INSUFFICIENT_DATA values. Config does not support the
NOT_APPLICABLE value for the Compliance data type.
ComplianceTypepublic void setComplianceContributorCount(ComplianceContributorCount complianceContributorCount)
The number of Amazon Web Services resources or Config rules that cause a result of NON_COMPLIANT, up
to a maximum number.
complianceContributorCount - The number of Amazon Web Services resources or Config rules that cause a result of
NON_COMPLIANT, up to a maximum number.public ComplianceContributorCount getComplianceContributorCount()
The number of Amazon Web Services resources or Config rules that cause a result of NON_COMPLIANT, up
to a maximum number.
NON_COMPLIANT, up to a maximum number.public Compliance withComplianceContributorCount(ComplianceContributorCount complianceContributorCount)
The number of Amazon Web Services resources or Config rules that cause a result of NON_COMPLIANT, up
to a maximum number.
complianceContributorCount - The number of Amazon Web Services resources or Config rules that cause a result of
NON_COMPLIANT, up to a maximum number.public String toString()
toString in class ObjectObject.toString()public Compliance clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.