Class Compliance
- All Implemented Interfaces:
Serializable, Cloneable
Indicates whether an AWS resource or AWS Config rule is compliant and provides the number of contributors that affect the compliance.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe number of AWS resources or AWS Config rules that cause a result ofNON_COMPLIANT, up to a maximum number.Indicates whether an AWS resource or AWS Config rule is compliant.inthashCode()voidsetComplianceContributorCount(ComplianceContributorCount complianceContributorCount) The number of AWS resources or AWS Config rules that cause a result ofNON_COMPLIANT, up to a maximum number.voidsetComplianceType(ComplianceType complianceType) Indicates whether an AWS resource or AWS Config rule is compliant.voidsetComplianceType(String complianceType) Indicates whether an AWS resource or AWS Config rule is compliant.toString()Returns a string representation of this object; useful for testing and debugging.withComplianceContributorCount(ComplianceContributorCount complianceContributorCount) The number of AWS resources or AWS Config rules that cause a result ofNON_COMPLIANT, up to a maximum number.withComplianceType(ComplianceType complianceType) Indicates whether an AWS resource or AWS Config rule is compliant.withComplianceType(String complianceType) Indicates whether an AWS resource or AWS Config rule is compliant.
-
Constructor Details
-
Compliance
public Compliance()
-
-
Method Details
-
setComplianceType
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_DATAvalue when no evaluation results are available for the AWS resource or Config rule.For the
Compliancedata type, AWS Config supports onlyCOMPLIANT,NON_COMPLIANT, andINSUFFICIENT_DATAvalues. AWS Config does not support theNOT_APPLICABLEvalue for theCompliancedata type.- Parameters:
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_DATAvalue when no evaluation results are available for the AWS resource or Config rule.For the
Compliancedata type, AWS Config supports onlyCOMPLIANT,NON_COMPLIANT, andINSUFFICIENT_DATAvalues. AWS Config does not support theNOT_APPLICABLEvalue for theCompliancedata type.- See Also:
-
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_DATAvalue when no evaluation results are available for the AWS resource or Config rule.For the
Compliancedata type, AWS Config supports onlyCOMPLIANT,NON_COMPLIANT, andINSUFFICIENT_DATAvalues. AWS Config does not support theNOT_APPLICABLEvalue for theCompliancedata type.- Returns:
- 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_DATAvalue when no evaluation results are available for the AWS resource or Config rule.For the
Compliancedata type, AWS Config supports onlyCOMPLIANT,NON_COMPLIANT, andINSUFFICIENT_DATAvalues. AWS Config does not support theNOT_APPLICABLEvalue for theCompliancedata type. - See Also:
-
withComplianceType
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_DATAvalue when no evaluation results are available for the AWS resource or Config rule.For the
Compliancedata type, AWS Config supports onlyCOMPLIANT,NON_COMPLIANT, andINSUFFICIENT_DATAvalues. AWS Config does not support theNOT_APPLICABLEvalue for theCompliancedata type.- Parameters:
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_DATAvalue when no evaluation results are available for the AWS resource or Config rule.For the
Compliancedata type, AWS Config supports onlyCOMPLIANT,NON_COMPLIANT, andINSUFFICIENT_DATAvalues. AWS Config does not support theNOT_APPLICABLEvalue for theCompliancedata type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setComplianceType
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_DATAvalue when no evaluation results are available for the AWS resource or Config rule.For the
Compliancedata type, AWS Config supports onlyCOMPLIANT,NON_COMPLIANT, andINSUFFICIENT_DATAvalues. AWS Config does not support theNOT_APPLICABLEvalue for theCompliancedata type.- Parameters:
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_DATAvalue when no evaluation results are available for the AWS resource or Config rule.For the
Compliancedata type, AWS Config supports onlyCOMPLIANT,NON_COMPLIANT, andINSUFFICIENT_DATAvalues. AWS Config does not support theNOT_APPLICABLEvalue for theCompliancedata type.- See Also:
-
withComplianceType
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_DATAvalue when no evaluation results are available for the AWS resource or Config rule.For the
Compliancedata type, AWS Config supports onlyCOMPLIANT,NON_COMPLIANT, andINSUFFICIENT_DATAvalues. AWS Config does not support theNOT_APPLICABLEvalue for theCompliancedata type.- Parameters:
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_DATAvalue when no evaluation results are available for the AWS resource or Config rule.For the
Compliancedata type, AWS Config supports onlyCOMPLIANT,NON_COMPLIANT, andINSUFFICIENT_DATAvalues. AWS Config does not support theNOT_APPLICABLEvalue for theCompliancedata type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setComplianceContributorCount
The number of AWS resources or AWS Config rules that cause a result of
NON_COMPLIANT, up to a maximum number.- Parameters:
complianceContributorCount- The number of AWS resources or AWS Config rules that cause a result ofNON_COMPLIANT, up to a maximum number.
-
getComplianceContributorCount
The number of AWS resources or AWS Config rules that cause a result of
NON_COMPLIANT, up to a maximum number.- Returns:
- The number of AWS resources or AWS Config rules that cause a
result of
NON_COMPLIANT, up to a maximum number.
-
withComplianceContributorCount
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.- Parameters:
complianceContributorCount- The number of AWS resources or AWS Config rules that cause a result ofNON_COMPLIANT, up to a maximum number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-