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()
boolean
The 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.int
hashCode()
void
setComplianceContributorCount
(ComplianceContributorCount complianceContributorCount) The number of AWS resources or AWS Config rules that cause a result ofNON_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.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_DATA
value when no evaluation results are available for the AWS resource or Config rule.For the
Compliance
data type, AWS Config supports onlyCOMPLIANT
,NON_COMPLIANT
, andINSUFFICIENT_DATA
values. AWS Config does not support theNOT_APPLICABLE
value for theCompliance
data 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_DATA
value when no evaluation results are available for the AWS resource or Config rule.For the
Compliance
data type, AWS Config supports onlyCOMPLIANT
,NON_COMPLIANT
, andINSUFFICIENT_DATA
values. AWS Config does not support theNOT_APPLICABLE
value for theCompliance
data 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_DATA
value when no evaluation results are available for the AWS resource or Config rule.For the
Compliance
data type, AWS Config supports onlyCOMPLIANT
,NON_COMPLIANT
, andINSUFFICIENT_DATA
values. AWS Config does not support theNOT_APPLICABLE
value for theCompliance
data 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_DATA
value when no evaluation results are available for the AWS resource or Config rule.For the
Compliance
data type, AWS Config supports onlyCOMPLIANT
,NON_COMPLIANT
, andINSUFFICIENT_DATA
values. AWS Config does not support theNOT_APPLICABLE
value for theCompliance
data 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_DATA
value when no evaluation results are available for the AWS resource or Config rule.For the
Compliance
data type, AWS Config supports onlyCOMPLIANT
,NON_COMPLIANT
, andINSUFFICIENT_DATA
values. AWS Config does not support theNOT_APPLICABLE
value for theCompliance
data 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_DATA
value when no evaluation results are available for the AWS resource or Config rule.For the
Compliance
data type, AWS Config supports onlyCOMPLIANT
,NON_COMPLIANT
, andINSUFFICIENT_DATA
values. AWS Config does not support theNOT_APPLICABLE
value for theCompliance
data 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_DATA
value when no evaluation results are available for the AWS resource or Config rule.For the
Compliance
data type, AWS Config supports onlyCOMPLIANT
,NON_COMPLIANT
, andINSUFFICIENT_DATA
values. AWS Config does not support theNOT_APPLICABLE
value for theCompliance
data 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_DATA
value when no evaluation results are available for the AWS resource or Config rule.For the
Compliance
data type, AWS Config supports onlyCOMPLIANT
,NON_COMPLIANT
, andINSUFFICIENT_DATA
values. AWS Config does not support theNOT_APPLICABLE
value for theCompliance
data 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_DATA
value when no evaluation results are available for the AWS resource or Config rule.For the
Compliance
data type, AWS Config supports onlyCOMPLIANT
,NON_COMPLIANT
, andINSUFFICIENT_DATA
values. AWS Config does not support theNOT_APPLICABLE
value for theCompliance
data 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_DATA
value when no evaluation results are available for the AWS resource or Config rule.For the
Compliance
data type, AWS Config supports onlyCOMPLIANT
,NON_COMPLIANT
, andINSUFFICIENT_DATA
values. AWS Config does not support theNOT_APPLICABLE
value for theCompliance
data 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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-