Class Evaluation
- All Implemented Interfaces:
Serializable
,Cloneable
Identifies an AWS resource and indicates whether it complies with the AWS Config rule that it was evaluated against.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Supplementary information about how the evaluation determined the compliance.The ID of the AWS resource that was evaluated.The type of AWS resource that was evaluated.Indicates whether the AWS resource complies with the AWS Config rule that it was evaluated against.The time of the event in AWS Config that triggered the evaluation.int
hashCode()
void
setAnnotation
(String annotation) Supplementary information about how the evaluation determined the compliance.void
setComplianceResourceId
(String complianceResourceId) The ID of the AWS resource that was evaluated.void
setComplianceResourceType
(String complianceResourceType) The type of AWS resource that was evaluated.void
setComplianceType
(ComplianceType complianceType) Indicates whether the AWS resource complies with the AWS Config rule that it was evaluated against.void
setComplianceType
(String complianceType) Indicates whether the AWS resource complies with the AWS Config rule that it was evaluated against.void
setOrderingTimestamp
(Date orderingTimestamp) The time of the event in AWS Config that triggered the evaluation.toString()
Returns a string representation of this object; useful for testing and debugging.withAnnotation
(String annotation) Supplementary information about how the evaluation determined the compliance.withComplianceResourceId
(String complianceResourceId) The ID of the AWS resource that was evaluated.withComplianceResourceType
(String complianceResourceType) The type of AWS resource that was evaluated.withComplianceType
(ComplianceType complianceType) Indicates whether the AWS resource complies with the AWS Config rule that it was evaluated against.withComplianceType
(String complianceType) Indicates whether the AWS resource complies with the AWS Config rule that it was evaluated against.withOrderingTimestamp
(Date orderingTimestamp) The time of the event in AWS Config that triggered the evaluation.
-
Constructor Details
-
Evaluation
public Evaluation()
-
-
Method Details
-
setComplianceResourceType
The type of AWS resource that was evaluated.
- Parameters:
complianceResourceType
- The type of AWS resource that was evaluated.
-
getComplianceResourceType
The type of AWS resource that was evaluated.
- Returns:
- The type of AWS resource that was evaluated.
-
withComplianceResourceType
The type of AWS resource that was evaluated.
- Parameters:
complianceResourceType
- The type of AWS resource that was evaluated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setComplianceResourceId
The ID of the AWS resource that was evaluated.
- Parameters:
complianceResourceId
- The ID of the AWS resource that was evaluated.
-
getComplianceResourceId
The ID of the AWS resource that was evaluated.
- Returns:
- The ID of the AWS resource that was evaluated.
-
withComplianceResourceId
The ID of the AWS resource that was evaluated.
- Parameters:
complianceResourceId
- The ID of the AWS resource that was evaluated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setComplianceType
Indicates whether the AWS resource complies with the AWS Config rule that it was evaluated against.
For the
Evaluation
data type, AWS Config supports only theCOMPLIANT
,NON_COMPLIANT
, andNOT_APPLICABLE
values. AWS Config does not support theINSUFFICIENT_DATA
value for this data type.Similarly, AWS Config does not accept
INSUFFICIENT_DATA
as the value forComplianceType
from aPutEvaluations
request. For example, an AWS Lambda function for a custom Config rule cannot pass anINSUFFICIENT_DATA
value to AWS Config.- Parameters:
complianceType
- Indicates whether the AWS resource complies with the AWS Config rule that it was evaluated against.For the
Evaluation
data type, AWS Config supports only theCOMPLIANT
,NON_COMPLIANT
, andNOT_APPLICABLE
values. AWS Config does not support theINSUFFICIENT_DATA
value for this data type.Similarly, AWS Config does not accept
INSUFFICIENT_DATA
as the value forComplianceType
from aPutEvaluations
request. For example, an AWS Lambda function for a custom Config rule cannot pass anINSUFFICIENT_DATA
value to AWS Config.- See Also:
-
getComplianceType
Indicates whether the AWS resource complies with the AWS Config rule that it was evaluated against.
For the
Evaluation
data type, AWS Config supports only theCOMPLIANT
,NON_COMPLIANT
, andNOT_APPLICABLE
values. AWS Config does not support theINSUFFICIENT_DATA
value for this data type.Similarly, AWS Config does not accept
INSUFFICIENT_DATA
as the value forComplianceType
from aPutEvaluations
request. For example, an AWS Lambda function for a custom Config rule cannot pass anINSUFFICIENT_DATA
value to AWS Config.- Returns:
- Indicates whether the AWS resource complies with the AWS Config
rule that it was evaluated against.
For the
Evaluation
data type, AWS Config supports only theCOMPLIANT
,NON_COMPLIANT
, andNOT_APPLICABLE
values. AWS Config does not support theINSUFFICIENT_DATA
value for this data type.Similarly, AWS Config does not accept
INSUFFICIENT_DATA
as the value forComplianceType
from aPutEvaluations
request. For example, an AWS Lambda function for a custom Config rule cannot pass anINSUFFICIENT_DATA
value to AWS Config. - See Also:
-
withComplianceType
Indicates whether the AWS resource complies with the AWS Config rule that it was evaluated against.
For the
Evaluation
data type, AWS Config supports only theCOMPLIANT
,NON_COMPLIANT
, andNOT_APPLICABLE
values. AWS Config does not support theINSUFFICIENT_DATA
value for this data type.Similarly, AWS Config does not accept
INSUFFICIENT_DATA
as the value forComplianceType
from aPutEvaluations
request. For example, an AWS Lambda function for a custom Config rule cannot pass anINSUFFICIENT_DATA
value to AWS Config.- Parameters:
complianceType
- Indicates whether the AWS resource complies with the AWS Config rule that it was evaluated against.For the
Evaluation
data type, AWS Config supports only theCOMPLIANT
,NON_COMPLIANT
, andNOT_APPLICABLE
values. AWS Config does not support theINSUFFICIENT_DATA
value for this data type.Similarly, AWS Config does not accept
INSUFFICIENT_DATA
as the value forComplianceType
from aPutEvaluations
request. For example, an AWS Lambda function for a custom Config rule cannot pass anINSUFFICIENT_DATA
value to AWS Config.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setComplianceType
Indicates whether the AWS resource complies with the AWS Config rule that it was evaluated against.
For the
Evaluation
data type, AWS Config supports only theCOMPLIANT
,NON_COMPLIANT
, andNOT_APPLICABLE
values. AWS Config does not support theINSUFFICIENT_DATA
value for this data type.Similarly, AWS Config does not accept
INSUFFICIENT_DATA
as the value forComplianceType
from aPutEvaluations
request. For example, an AWS Lambda function for a custom Config rule cannot pass anINSUFFICIENT_DATA
value to AWS Config.- Parameters:
complianceType
- Indicates whether the AWS resource complies with the AWS Config rule that it was evaluated against.For the
Evaluation
data type, AWS Config supports only theCOMPLIANT
,NON_COMPLIANT
, andNOT_APPLICABLE
values. AWS Config does not support theINSUFFICIENT_DATA
value for this data type.Similarly, AWS Config does not accept
INSUFFICIENT_DATA
as the value forComplianceType
from aPutEvaluations
request. For example, an AWS Lambda function for a custom Config rule cannot pass anINSUFFICIENT_DATA
value to AWS Config.- See Also:
-
withComplianceType
Indicates whether the AWS resource complies with the AWS Config rule that it was evaluated against.
For the
Evaluation
data type, AWS Config supports only theCOMPLIANT
,NON_COMPLIANT
, andNOT_APPLICABLE
values. AWS Config does not support theINSUFFICIENT_DATA
value for this data type.Similarly, AWS Config does not accept
INSUFFICIENT_DATA
as the value forComplianceType
from aPutEvaluations
request. For example, an AWS Lambda function for a custom Config rule cannot pass anINSUFFICIENT_DATA
value to AWS Config.- Parameters:
complianceType
- Indicates whether the AWS resource complies with the AWS Config rule that it was evaluated against.For the
Evaluation
data type, AWS Config supports only theCOMPLIANT
,NON_COMPLIANT
, andNOT_APPLICABLE
values. AWS Config does not support theINSUFFICIENT_DATA
value for this data type.Similarly, AWS Config does not accept
INSUFFICIENT_DATA
as the value forComplianceType
from aPutEvaluations
request. For example, an AWS Lambda function for a custom Config rule cannot pass anINSUFFICIENT_DATA
value to AWS Config.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setAnnotation
Supplementary information about how the evaluation determined the compliance.
- Parameters:
annotation
- Supplementary information about how the evaluation determined the compliance.
-
getAnnotation
Supplementary information about how the evaluation determined the compliance.
- Returns:
- Supplementary information about how the evaluation determined the compliance.
-
withAnnotation
Supplementary information about how the evaluation determined the compliance.
- Parameters:
annotation
- Supplementary information about how the evaluation determined the compliance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setOrderingTimestamp
The time of the event in AWS Config that triggered the evaluation. For event-based evaluations, the time indicates when AWS Config created the configuration item that triggered the evaluation. For periodic evaluations, the time indicates when AWS Config delivered the configuration snapshot that triggered the evaluation.
- Parameters:
orderingTimestamp
- The time of the event in AWS Config that triggered the evaluation. For event-based evaluations, the time indicates when AWS Config created the configuration item that triggered the evaluation. For periodic evaluations, the time indicates when AWS Config delivered the configuration snapshot that triggered the evaluation.
-
getOrderingTimestamp
The time of the event in AWS Config that triggered the evaluation. For event-based evaluations, the time indicates when AWS Config created the configuration item that triggered the evaluation. For periodic evaluations, the time indicates when AWS Config delivered the configuration snapshot that triggered the evaluation.
- Returns:
- The time of the event in AWS Config that triggered the evaluation. For event-based evaluations, the time indicates when AWS Config created the configuration item that triggered the evaluation. For periodic evaluations, the time indicates when AWS Config delivered the configuration snapshot that triggered the evaluation.
-
withOrderingTimestamp
The time of the event in AWS Config that triggered the evaluation. For event-based evaluations, the time indicates when AWS Config created the configuration item that triggered the evaluation. For periodic evaluations, the time indicates when AWS Config delivered the configuration snapshot that triggered the evaluation.
- Parameters:
orderingTimestamp
- The time of the event in AWS Config that triggered the evaluation. For event-based evaluations, the time indicates when AWS Config created the configuration item that triggered the evaluation. For periodic evaluations, the time indicates when AWS Config delivered the configuration snapshot that triggered the evaluation.- 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
-