Class EvaluationResult
- All Implemented Interfaces:
Serializable,Cloneable
The details of an AWS Config evaluation. Provides the AWS resource that was evaluated, the compliance of the resource, related timestamps, and supplementary information.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanSupplementary information about how the evaluation determined the compliance.Indicates whether the AWS resource complies with the AWS Config rule that evaluated it.The time when the AWS Config rule evaluated the AWS resource.Uniquely identifies the evaluation result.The time when AWS Config recorded the evaluation result.An encrypted token that associates an evaluation with an AWS Config rule.inthashCode()voidsetAnnotation(String annotation) Supplementary information about how the evaluation determined the compliance.voidsetComplianceType(ComplianceType complianceType) Indicates whether the AWS resource complies with the AWS Config rule that evaluated it.voidsetComplianceType(String complianceType) Indicates whether the AWS resource complies with the AWS Config rule that evaluated it.voidsetConfigRuleInvokedTime(Date configRuleInvokedTime) The time when the AWS Config rule evaluated the AWS resource.voidsetEvaluationResultIdentifier(EvaluationResultIdentifier evaluationResultIdentifier) Uniquely identifies the evaluation result.voidsetResultRecordedTime(Date resultRecordedTime) The time when AWS Config recorded the evaluation result.voidsetResultToken(String resultToken) An encrypted token that associates an evaluation with an AWS Config rule.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.withComplianceType(ComplianceType complianceType) Indicates whether the AWS resource complies with the AWS Config rule that evaluated it.withComplianceType(String complianceType) Indicates whether the AWS resource complies with the AWS Config rule that evaluated it.withConfigRuleInvokedTime(Date configRuleInvokedTime) The time when the AWS Config rule evaluated the AWS resource.withEvaluationResultIdentifier(EvaluationResultIdentifier evaluationResultIdentifier) Uniquely identifies the evaluation result.withResultRecordedTime(Date resultRecordedTime) The time when AWS Config recorded the evaluation result.withResultToken(String resultToken) An encrypted token that associates an evaluation with an AWS Config rule.
-
Constructor Details
-
EvaluationResult
public EvaluationResult()
-
-
Method Details
-
setEvaluationResultIdentifier
Uniquely identifies the evaluation result.
- Parameters:
evaluationResultIdentifier- Uniquely identifies the evaluation result.
-
getEvaluationResultIdentifier
Uniquely identifies the evaluation result.
- Returns:
- Uniquely identifies the evaluation result.
-
withEvaluationResultIdentifier
public EvaluationResult withEvaluationResultIdentifier(EvaluationResultIdentifier evaluationResultIdentifier) Uniquely identifies the evaluation result.
- Parameters:
evaluationResultIdentifier- Uniquely identifies the evaluation result.- 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 evaluated it.
For the
EvaluationResultdata type, AWS Config supports only theCOMPLIANT,NON_COMPLIANT, andNOT_APPLICABLEvalues. AWS Config does not support theINSUFFICIENT_DATAvalue for theEvaluationResultdata type.- Parameters:
complianceType- Indicates whether the AWS resource complies with the AWS Config rule that evaluated it.For the
EvaluationResultdata type, AWS Config supports only theCOMPLIANT,NON_COMPLIANT, andNOT_APPLICABLEvalues. AWS Config does not support theINSUFFICIENT_DATAvalue for theEvaluationResultdata type.- See Also:
-
getComplianceType
Indicates whether the AWS resource complies with the AWS Config rule that evaluated it.
For the
EvaluationResultdata type, AWS Config supports only theCOMPLIANT,NON_COMPLIANT, andNOT_APPLICABLEvalues. AWS Config does not support theINSUFFICIENT_DATAvalue for theEvaluationResultdata type.- Returns:
- Indicates whether the AWS resource complies with the AWS Config
rule that evaluated it.
For the
EvaluationResultdata type, AWS Config supports only theCOMPLIANT,NON_COMPLIANT, andNOT_APPLICABLEvalues. AWS Config does not support theINSUFFICIENT_DATAvalue for theEvaluationResultdata type. - See Also:
-
withComplianceType
Indicates whether the AWS resource complies with the AWS Config rule that evaluated it.
For the
EvaluationResultdata type, AWS Config supports only theCOMPLIANT,NON_COMPLIANT, andNOT_APPLICABLEvalues. AWS Config does not support theINSUFFICIENT_DATAvalue for theEvaluationResultdata type.- Parameters:
complianceType- Indicates whether the AWS resource complies with the AWS Config rule that evaluated it.For the
EvaluationResultdata type, AWS Config supports only theCOMPLIANT,NON_COMPLIANT, andNOT_APPLICABLEvalues. AWS Config does not support theINSUFFICIENT_DATAvalue for theEvaluationResultdata type.- 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 evaluated it.
For the
EvaluationResultdata type, AWS Config supports only theCOMPLIANT,NON_COMPLIANT, andNOT_APPLICABLEvalues. AWS Config does not support theINSUFFICIENT_DATAvalue for theEvaluationResultdata type.- Parameters:
complianceType- Indicates whether the AWS resource complies with the AWS Config rule that evaluated it.For the
EvaluationResultdata type, AWS Config supports only theCOMPLIANT,NON_COMPLIANT, andNOT_APPLICABLEvalues. AWS Config does not support theINSUFFICIENT_DATAvalue for theEvaluationResultdata type.- See Also:
-
withComplianceType
Indicates whether the AWS resource complies with the AWS Config rule that evaluated it.
For the
EvaluationResultdata type, AWS Config supports only theCOMPLIANT,NON_COMPLIANT, andNOT_APPLICABLEvalues. AWS Config does not support theINSUFFICIENT_DATAvalue for theEvaluationResultdata type.- Parameters:
complianceType- Indicates whether the AWS resource complies with the AWS Config rule that evaluated it.For the
EvaluationResultdata type, AWS Config supports only theCOMPLIANT,NON_COMPLIANT, andNOT_APPLICABLEvalues. AWS Config does not support theINSUFFICIENT_DATAvalue for theEvaluationResultdata type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setResultRecordedTime
The time when AWS Config recorded the evaluation result.
- Parameters:
resultRecordedTime- The time when AWS Config recorded the evaluation result.
-
getResultRecordedTime
The time when AWS Config recorded the evaluation result.
- Returns:
- The time when AWS Config recorded the evaluation result.
-
withResultRecordedTime
The time when AWS Config recorded the evaluation result.
- Parameters:
resultRecordedTime- The time when AWS Config recorded the evaluation result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setConfigRuleInvokedTime
The time when the AWS Config rule evaluated the AWS resource.
- Parameters:
configRuleInvokedTime- The time when the AWS Config rule evaluated the AWS resource.
-
getConfigRuleInvokedTime
The time when the AWS Config rule evaluated the AWS resource.
- Returns:
- The time when the AWS Config rule evaluated the AWS resource.
-
withConfigRuleInvokedTime
The time when the AWS Config rule evaluated the AWS resource.
- Parameters:
configRuleInvokedTime- The time when the AWS Config rule evaluated the AWS resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
setResultToken
An encrypted token that associates an evaluation with an AWS Config rule. The token identifies the rule, the AWS resource being evaluated, and the event that triggered the evaluation.
- Parameters:
resultToken- An encrypted token that associates an evaluation with an AWS Config rule. The token identifies the rule, the AWS resource being evaluated, and the event that triggered the evaluation.
-
getResultToken
An encrypted token that associates an evaluation with an AWS Config rule. The token identifies the rule, the AWS resource being evaluated, and the event that triggered the evaluation.
- Returns:
- An encrypted token that associates an evaluation with an AWS Config rule. The token identifies the rule, the AWS resource being evaluated, and the event that triggered the evaluation.
-
withResultToken
An encrypted token that associates an evaluation with an AWS Config rule. The token identifies the rule, the AWS resource being evaluated, and the event that triggered the evaluation.
- Parameters:
resultToken- An encrypted token that associates an evaluation with an AWS Config rule. The token identifies the rule, the AWS resource being evaluated, and the event 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
-