Class EvaluationResult
- java.lang.Object
-
- com.amazonaws.services.config.model.EvaluationResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class EvaluationResult extends Object implements 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EvaluationResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EvaluationResultclone()booleanequals(Object obj)StringgetAnnotation()Supplementary information about how the evaluation determined the compliance.StringgetComplianceType()Indicates whether the AWS resource complies with the AWS Config rule that evaluated it.DategetConfigRuleInvokedTime()The time when the AWS Config rule evaluated the AWS resource.EvaluationResultIdentifiergetEvaluationResultIdentifier()Uniquely identifies the evaluation result.DategetResultRecordedTime()The time when AWS Config recorded the evaluation result.StringgetResultToken()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.StringtoString()Returns a string representation of this object; useful for testing and debugging.EvaluationResultwithAnnotation(String annotation)Supplementary information about how the evaluation determined the compliance.EvaluationResultwithComplianceType(ComplianceType complianceType)Indicates whether the AWS resource complies with the AWS Config rule that evaluated it.EvaluationResultwithComplianceType(String complianceType)Indicates whether the AWS resource complies with the AWS Config rule that evaluated it.EvaluationResultwithConfigRuleInvokedTime(Date configRuleInvokedTime)The time when the AWS Config rule evaluated the AWS resource.EvaluationResultwithEvaluationResultIdentifier(EvaluationResultIdentifier evaluationResultIdentifier)Uniquely identifies the evaluation result.EvaluationResultwithResultRecordedTime(Date resultRecordedTime)The time when AWS Config recorded the evaluation result.EvaluationResultwithResultToken(String resultToken)An encrypted token that associates an evaluation with an AWS Config rule.
-
-
-
Method Detail
-
setEvaluationResultIdentifier
public void setEvaluationResultIdentifier(EvaluationResultIdentifier evaluationResultIdentifier)
Uniquely identifies the evaluation result.
- Parameters:
evaluationResultIdentifier- Uniquely identifies the evaluation result.
-
getEvaluationResultIdentifier
public EvaluationResultIdentifier 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
public void setComplianceType(String 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.- 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:
ComplianceType
-
getComplianceType
public String 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:
ComplianceType
-
withComplianceType
public EvaluationResult withComplianceType(String 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.- 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:
ComplianceType
-
setComplianceType
public void setComplianceType(ComplianceType 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.- 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:
ComplianceType
-
withComplianceType
public EvaluationResult withComplianceType(ComplianceType 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.- 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:
ComplianceType
-
setResultRecordedTime
public void setResultRecordedTime(Date resultRecordedTime)
The time when AWS Config recorded the evaluation result.
- Parameters:
resultRecordedTime- The time when AWS Config recorded the evaluation result.
-
getResultRecordedTime
public Date getResultRecordedTime()
The time when AWS Config recorded the evaluation result.
- Returns:
- The time when AWS Config recorded the evaluation result.
-
withResultRecordedTime
public EvaluationResult withResultRecordedTime(Date resultRecordedTime)
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
public void setConfigRuleInvokedTime(Date configRuleInvokedTime)
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
public Date 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
public EvaluationResult withConfigRuleInvokedTime(Date configRuleInvokedTime)
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
public void setAnnotation(String annotation)
Supplementary information about how the evaluation determined the compliance.
- Parameters:
annotation- Supplementary information about how the evaluation determined the compliance.
-
getAnnotation
public String getAnnotation()
Supplementary information about how the evaluation determined the compliance.
- Returns:
- Supplementary information about how the evaluation determined the compliance.
-
withAnnotation
public EvaluationResult withAnnotation(String annotation)
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
public void setResultToken(String 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.
- 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
public String 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
public EvaluationResult withResultToken(String 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.
- 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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public EvaluationResult clone()
-
-