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 EvaluationResult
clone()
boolean
equals(Object obj)
String
getAnnotation()
Supplementary information about how the evaluation determined the compliance.String
getComplianceType()
Indicates whether the AWS resource complies with the AWS Config rule that evaluated it.Date
getConfigRuleInvokedTime()
The time when the AWS Config rule evaluated the AWS resource.EvaluationResultIdentifier
getEvaluationResultIdentifier()
Uniquely identifies the evaluation result.Date
getResultRecordedTime()
The time when AWS Config recorded the evaluation result.String
getResultToken()
An encrypted token that associates an evaluation with an AWS Config rule.int
hashCode()
void
setAnnotation(String annotation)
Supplementary information about how the evaluation determined the compliance.void
setComplianceType(ComplianceType complianceType)
Indicates whether the AWS resource complies with the AWS Config rule that evaluated it.void
setComplianceType(String complianceType)
Indicates whether the AWS resource complies with the AWS Config rule that evaluated it.void
setConfigRuleInvokedTime(Date configRuleInvokedTime)
The time when the AWS Config rule evaluated the AWS resource.void
setEvaluationResultIdentifier(EvaluationResultIdentifier evaluationResultIdentifier)
Uniquely identifies the evaluation result.void
setResultRecordedTime(Date resultRecordedTime)
The time when AWS Config recorded the evaluation result.void
setResultToken(String resultToken)
An encrypted token that associates an evaluation with an AWS Config rule.String
toString()
Returns a string representation of this object; useful for testing and debugging.EvaluationResult
withAnnotation(String annotation)
Supplementary information about how the evaluation determined the compliance.EvaluationResult
withComplianceType(ComplianceType complianceType)
Indicates whether the AWS resource complies with the AWS Config rule that evaluated it.EvaluationResult
withComplianceType(String complianceType)
Indicates whether the AWS resource complies with the AWS Config rule that evaluated it.EvaluationResult
withConfigRuleInvokedTime(Date configRuleInvokedTime)
The time when the AWS Config rule evaluated the AWS resource.EvaluationResult
withEvaluationResultIdentifier(EvaluationResultIdentifier evaluationResultIdentifier)
Uniquely identifies the evaluation result.EvaluationResult
withResultRecordedTime(Date resultRecordedTime)
The time when AWS Config recorded the evaluation result.EvaluationResult
withResultToken(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
EvaluationResult
data type, AWS Config supports only theCOMPLIANT
,NON_COMPLIANT
, andNOT_APPLICABLE
values. AWS Config does not support theINSUFFICIENT_DATA
value for theEvaluationResult
data type.- Parameters:
complianceType
- Indicates whether the AWS resource complies with the AWS Config rule that evaluated it.For the
EvaluationResult
data type, AWS Config supports only theCOMPLIANT
,NON_COMPLIANT
, andNOT_APPLICABLE
values. AWS Config does not support theINSUFFICIENT_DATA
value for theEvaluationResult
data type.- See Also:
ComplianceType
-
getComplianceType
public String getComplianceType()
Indicates whether the AWS resource complies with the AWS Config rule that evaluated it.
For the
EvaluationResult
data type, AWS Config supports only theCOMPLIANT
,NON_COMPLIANT
, andNOT_APPLICABLE
values. AWS Config does not support theINSUFFICIENT_DATA
value for theEvaluationResult
data type.- Returns:
- Indicates whether the AWS resource complies with the AWS Config
rule that evaluated it.
For the
EvaluationResult
data type, AWS Config supports only theCOMPLIANT
,NON_COMPLIANT
, andNOT_APPLICABLE
values. AWS Config does not support theINSUFFICIENT_DATA
value for theEvaluationResult
data 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
EvaluationResult
data type, AWS Config supports only theCOMPLIANT
,NON_COMPLIANT
, andNOT_APPLICABLE
values. AWS Config does not support theINSUFFICIENT_DATA
value for theEvaluationResult
data type.- Parameters:
complianceType
- Indicates whether the AWS resource complies with the AWS Config rule that evaluated it.For the
EvaluationResult
data type, AWS Config supports only theCOMPLIANT
,NON_COMPLIANT
, andNOT_APPLICABLE
values. AWS Config does not support theINSUFFICIENT_DATA
value for theEvaluationResult
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 the AWS resource complies with the AWS Config rule that evaluated it.
For the
EvaluationResult
data type, AWS Config supports only theCOMPLIANT
,NON_COMPLIANT
, andNOT_APPLICABLE
values. AWS Config does not support theINSUFFICIENT_DATA
value for theEvaluationResult
data type.- Parameters:
complianceType
- Indicates whether the AWS resource complies with the AWS Config rule that evaluated it.For the
EvaluationResult
data type, AWS Config supports only theCOMPLIANT
,NON_COMPLIANT
, andNOT_APPLICABLE
values. AWS Config does not support theINSUFFICIENT_DATA
value for theEvaluationResult
data 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
EvaluationResult
data type, AWS Config supports only theCOMPLIANT
,NON_COMPLIANT
, andNOT_APPLICABLE
values. AWS Config does not support theINSUFFICIENT_DATA
value for theEvaluationResult
data type.- Parameters:
complianceType
- Indicates whether the AWS resource complies with the AWS Config rule that evaluated it.For the
EvaluationResult
data type, AWS Config supports only theCOMPLIANT
,NON_COMPLIANT
, andNOT_APPLICABLE
values. AWS Config does not support theINSUFFICIENT_DATA
value for theEvaluationResult
data 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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public EvaluationResult clone()
-
-