public class Compliance extends Object implements Serializable, Cloneable
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 of 25. |
String |
getComplianceType()
Indicates whether an AWS resource or AWS Config rule is compliant.
|
int |
hashCode() |
void |
setComplianceContributorCount(ComplianceContributorCount complianceContributorCount)
The number of AWS resources or AWS Config rules that cause a result of
NON_COMPLIANT , up to a maximum of 25. |
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 of 25. |
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.
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.
ComplianceType
public 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.
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.
ComplianceType
public 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.
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.
ComplianceType
public 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.
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.
ComplianceType
public 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.
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.
ComplianceType
public void setComplianceContributorCount(ComplianceContributorCount complianceContributorCount)
The number of AWS resources or AWS Config rules that cause a result of
NON_COMPLIANT
, up to a maximum of 25.
complianceContributorCount
- The number of AWS resources or AWS Config rules that cause a
result of NON_COMPLIANT
, up to a maximum of 25.public ComplianceContributorCount getComplianceContributorCount()
The number of AWS resources or AWS Config rules that cause a result of
NON_COMPLIANT
, up to a maximum of 25.
NON_COMPLIANT
, up to a maximum of 25.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 of 25.
complianceContributorCount
- The number of AWS resources or AWS Config rules that cause a
result of NON_COMPLIANT
, up to a maximum of 25.public String toString()
toString
in class Object
Object.toString()
public Compliance clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.