@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Compliance extends Object implements Serializable, Cloneable, StructuredPojo
Indicates whether an AWS resource or AWS 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 AWS resources or AWS Config rules that cause a result of
NON_COMPLIANT, up to a
maximum number. |
String |
getComplianceType()
Indicates whether an AWS resource or AWS 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 AWS resources or AWS Config rules that cause a result of
NON_COMPLIANT, up to a
maximum number. |
void |
setComplianceType(ComplianceType complianceType)
Indicates whether an AWS resource or AWS Config rule is compliant.
|
void |
setComplianceType(String complianceType)
Indicates whether an AWS resource or AWS Config rule is compliant.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Compliance |
withComplianceContributorCount(ComplianceContributorCount complianceContributorCount)
The number of AWS resources or AWS Config rules that cause a result of
NON_COMPLIANT, up to a
maximum number. |
Compliance |
withComplianceType(ComplianceType complianceType)
Indicates whether an AWS resource or AWS Config rule is compliant.
|
Compliance |
withComplianceType(String complianceType)
Indicates whether an AWS resource or AWS Config rule is compliant.
|
public void setComplianceType(String complianceType)
Indicates whether an AWS resource or AWS Config rule is compliant.
A resource is compliant if it complies with all of the AWS Config rules that evaluate it, and it 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, and it is noncompliant if any of these resources do not comply.
AWS Config returns the INSUFFICIENT_DATA value when no evaluation results are available for the AWS
resource or Config rule.
For the Compliance data type, AWS Config supports only COMPLIANT,
NON_COMPLIANT, and INSUFFICIENT_DATA values. AWS Config does not support the
NOT_APPLICABLE value for the Compliance data type.
complianceType - Indicates whether an AWS resource or AWS Config rule is compliant.
A resource is compliant if it complies with all of the AWS Config rules that evaluate it, and it 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, and it is noncompliant if any of these resources do not comply.
AWS Config returns the INSUFFICIENT_DATA value when no evaluation results are available for
the AWS resource or Config rule.
For the Compliance data type, AWS Config supports only COMPLIANT,
NON_COMPLIANT, and INSUFFICIENT_DATA values. AWS Config does not support the
NOT_APPLICABLE value for the Compliance data type.
ComplianceTypepublic String getComplianceType()
Indicates whether an AWS resource or AWS Config rule is compliant.
A resource is compliant if it complies with all of the AWS Config rules that evaluate it, and it 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, and it is noncompliant if any of these resources do not comply.
AWS Config returns the INSUFFICIENT_DATA value when no evaluation results are available for the AWS
resource or Config rule.
For the Compliance data type, AWS Config supports only COMPLIANT,
NON_COMPLIANT, and INSUFFICIENT_DATA values. AWS Config does not support the
NOT_APPLICABLE value for the Compliance data type.
A resource is compliant if it complies with all of the AWS Config rules that evaluate it, and it 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, and it is noncompliant if any of these resources do not comply.
AWS Config returns the INSUFFICIENT_DATA value when no evaluation results are available for
the AWS resource or Config rule.
For the Compliance data type, AWS Config supports only COMPLIANT,
NON_COMPLIANT, and INSUFFICIENT_DATA values. AWS Config does not support the
NOT_APPLICABLE value for the Compliance data type.
ComplianceTypepublic Compliance withComplianceType(String complianceType)
Indicates whether an AWS resource or AWS Config rule is compliant.
A resource is compliant if it complies with all of the AWS Config rules that evaluate it, and it 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, and it is noncompliant if any of these resources do not comply.
AWS Config returns the INSUFFICIENT_DATA value when no evaluation results are available for the AWS
resource or Config rule.
For the Compliance data type, AWS Config supports only COMPLIANT,
NON_COMPLIANT, and INSUFFICIENT_DATA values. AWS Config does not support the
NOT_APPLICABLE value for the Compliance data type.
complianceType - Indicates whether an AWS resource or AWS Config rule is compliant.
A resource is compliant if it complies with all of the AWS Config rules that evaluate it, and it 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, and it is noncompliant if any of these resources do not comply.
AWS Config returns the INSUFFICIENT_DATA value when no evaluation results are available for
the AWS resource or Config rule.
For the Compliance data type, AWS Config supports only COMPLIANT,
NON_COMPLIANT, and INSUFFICIENT_DATA values. AWS Config does not support the
NOT_APPLICABLE value for the Compliance data type.
ComplianceTypepublic void setComplianceType(ComplianceType complianceType)
Indicates whether an AWS resource or AWS Config rule is compliant.
A resource is compliant if it complies with all of the AWS Config rules that evaluate it, and it 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, and it is noncompliant if any of these resources do not comply.
AWS Config returns the INSUFFICIENT_DATA value when no evaluation results are available for the AWS
resource or Config rule.
For the Compliance data type, AWS Config supports only COMPLIANT,
NON_COMPLIANT, and INSUFFICIENT_DATA values. AWS Config does not support the
NOT_APPLICABLE value for the Compliance data type.
complianceType - Indicates whether an AWS resource or AWS Config rule is compliant.
A resource is compliant if it complies with all of the AWS Config rules that evaluate it, and it 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, and it is noncompliant if any of these resources do not comply.
AWS Config returns the INSUFFICIENT_DATA value when no evaluation results are available for
the AWS resource or Config rule.
For the Compliance data type, AWS Config supports only COMPLIANT,
NON_COMPLIANT, and INSUFFICIENT_DATA values. AWS Config does not support the
NOT_APPLICABLE value for the Compliance data type.
ComplianceTypepublic Compliance withComplianceType(ComplianceType complianceType)
Indicates whether an AWS resource or AWS Config rule is compliant.
A resource is compliant if it complies with all of the AWS Config rules that evaluate it, and it 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, and it is noncompliant if any of these resources do not comply.
AWS Config returns the INSUFFICIENT_DATA value when no evaluation results are available for the AWS
resource or Config rule.
For the Compliance data type, AWS Config supports only COMPLIANT,
NON_COMPLIANT, and INSUFFICIENT_DATA values. AWS Config does not support the
NOT_APPLICABLE value for the Compliance data type.
complianceType - Indicates whether an AWS resource or AWS Config rule is compliant.
A resource is compliant if it complies with all of the AWS Config rules that evaluate it, and it 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, and it is noncompliant if any of these resources do not comply.
AWS Config returns the INSUFFICIENT_DATA value when no evaluation results are available for
the AWS resource or Config rule.
For the Compliance data type, AWS Config supports only COMPLIANT,
NON_COMPLIANT, and INSUFFICIENT_DATA values. AWS Config does not support the
NOT_APPLICABLE value for the Compliance data type.
ComplianceTypepublic void setComplianceContributorCount(ComplianceContributorCount complianceContributorCount)
The number of AWS resources or AWS Config rules that cause a result of NON_COMPLIANT, up to a
maximum number.
complianceContributorCount - The number of AWS resources or AWS Config rules that cause a result of NON_COMPLIANT, up to a
maximum number.public ComplianceContributorCount getComplianceContributorCount()
The number of AWS resources or AWS 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 AWS resources or AWS Config rules that cause a result of NON_COMPLIANT, up to a
maximum number.
complianceContributorCount - The number of AWS resources or AWS 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.