Class Compliance
- java.lang.Object
-
- com.amazonaws.services.config.model.Compliance
-
- All Implemented Interfaces:
Serializable
,Cloneable
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.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Compliance()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Compliance
clone()
boolean
equals(Object obj)
ComplianceContributorCount
getComplianceContributorCount()
The number of AWS resources or AWS Config rules that cause a result ofNON_COMPLIANT
, up to a maximum number.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 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.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 ofNON_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.
-
-
-
Method Detail
-
setComplianceType
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 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:
ComplianceType
-
getComplianceType
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.
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:
ComplianceType
-
withComplianceType
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.
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:
ComplianceType
-
setComplianceType
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.
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:
ComplianceType
-
withComplianceType
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.
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:
ComplianceType
-
setComplianceContributorCount
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 number.- Parameters:
complianceContributorCount
- The number of AWS resources or AWS Config rules that cause a result ofNON_COMPLIANT
, up to a maximum number.
-
getComplianceContributorCount
public ComplianceContributorCount 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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public Compliance clone()
-
-