public class EvaluationResult
extends java.lang.Object
implements java.io.Serializable, java.lang.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.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
annotation
Supplementary information about how the evaluation determined the
compliance.
|
private java.lang.String |
complianceType
Indicates whether the AWS resource complies with the AWS Config rule that
evaluated it.
|
private java.util.Date |
configRuleInvokedTime
The time when the AWS Config rule evaluated the AWS resource.
|
private EvaluationResultIdentifier |
evaluationResultIdentifier
Uniquely identifies the evaluation result.
|
private java.util.Date |
resultRecordedTime
The time when AWS Config recorded the evaluation result.
|
private java.lang.String |
resultToken
An encrypted token that associates an evaluation with an AWS Config rule.
|
Constructor and Description |
---|
EvaluationResult() |
Modifier and Type | Method and Description |
---|---|
EvaluationResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAnnotation()
Supplementary information about how the evaluation determined the
compliance.
|
java.lang.String |
getComplianceType()
Indicates whether the AWS resource complies with the AWS Config rule that
evaluated it.
|
java.util.Date |
getConfigRuleInvokedTime()
The time when the AWS Config rule evaluated the AWS resource.
|
EvaluationResultIdentifier |
getEvaluationResultIdentifier()
Uniquely identifies the evaluation result.
|
java.util.Date |
getResultRecordedTime()
The time when AWS Config recorded the evaluation result.
|
java.lang.String |
getResultToken()
An encrypted token that associates an evaluation with an AWS Config rule.
|
int |
hashCode() |
void |
setAnnotation(java.lang.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(java.lang.String complianceType)
Indicates whether the AWS resource complies with the AWS Config rule that
evaluated it.
|
void |
setConfigRuleInvokedTime(java.util.Date configRuleInvokedTime)
The time when the AWS Config rule evaluated the AWS resource.
|
void |
setEvaluationResultIdentifier(EvaluationResultIdentifier evaluationResultIdentifier)
Uniquely identifies the evaluation result.
|
void |
setResultRecordedTime(java.util.Date resultRecordedTime)
The time when AWS Config recorded the evaluation result.
|
void |
setResultToken(java.lang.String resultToken)
An encrypted token that associates an evaluation with an AWS Config rule.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EvaluationResult |
withAnnotation(java.lang.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(java.lang.String complianceType)
Indicates whether the AWS resource complies with the AWS Config rule that
evaluated it.
|
EvaluationResult |
withConfigRuleInvokedTime(java.util.Date configRuleInvokedTime)
The time when the AWS Config rule evaluated the AWS resource.
|
EvaluationResult |
withEvaluationResultIdentifier(EvaluationResultIdentifier evaluationResultIdentifier)
Uniquely identifies the evaluation result.
|
EvaluationResult |
withResultRecordedTime(java.util.Date resultRecordedTime)
The time when AWS Config recorded the evaluation result.
|
EvaluationResult |
withResultToken(java.lang.String resultToken)
An encrypted token that associates an evaluation with an AWS Config rule.
|
private EvaluationResultIdentifier evaluationResultIdentifier
Uniquely identifies the evaluation result.
private java.lang.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
the COMPLIANT
, NON_COMPLIANT
, and
NOT_APPLICABLE
values. AWS Config does not support the
INSUFFICIENT_DATA
value for the
EvaluationResult
data type.
private java.util.Date resultRecordedTime
The time when AWS Config recorded the evaluation result.
private java.util.Date configRuleInvokedTime
The time when the AWS Config rule evaluated the AWS resource.
private java.lang.String annotation
Supplementary information about how the evaluation determined the compliance.
private java.lang.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.
public void setEvaluationResultIdentifier(EvaluationResultIdentifier evaluationResultIdentifier)
Uniquely identifies the evaluation result.
evaluationResultIdentifier
- Uniquely identifies the evaluation result.public EvaluationResultIdentifier getEvaluationResultIdentifier()
Uniquely identifies the evaluation result.
public EvaluationResult withEvaluationResultIdentifier(EvaluationResultIdentifier evaluationResultIdentifier)
Uniquely identifies the evaluation result.
evaluationResultIdentifier
- Uniquely identifies the evaluation result.public void setComplianceType(java.lang.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
the COMPLIANT
, NON_COMPLIANT
, and
NOT_APPLICABLE
values. AWS Config does not support the
INSUFFICIENT_DATA
value for the
EvaluationResult
data type.
complianceType
- Indicates whether the AWS resource complies with the AWS Config
rule that evaluated it.
For the EvaluationResult
data type, AWS Config
supports only the COMPLIANT
,
NON_COMPLIANT
, and NOT_APPLICABLE
values. AWS Config does not support the
INSUFFICIENT_DATA
value for the
EvaluationResult
data type.
ComplianceType
public java.lang.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
the COMPLIANT
, NON_COMPLIANT
, and
NOT_APPLICABLE
values. AWS Config does not support the
INSUFFICIENT_DATA
value for the
EvaluationResult
data type.
For the EvaluationResult
data type, AWS Config
supports only the COMPLIANT
,
NON_COMPLIANT
, and NOT_APPLICABLE
values. AWS Config does not support the
INSUFFICIENT_DATA
value for the
EvaluationResult
data type.
ComplianceType
public EvaluationResult withComplianceType(java.lang.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
the COMPLIANT
, NON_COMPLIANT
, and
NOT_APPLICABLE
values. AWS Config does not support the
INSUFFICIENT_DATA
value for the
EvaluationResult
data type.
complianceType
- Indicates whether the AWS resource complies with the AWS Config
rule that evaluated it.
For the EvaluationResult
data type, AWS Config
supports only the COMPLIANT
,
NON_COMPLIANT
, and NOT_APPLICABLE
values. AWS Config does not support the
INSUFFICIENT_DATA
value for the
EvaluationResult
data type.
ComplianceType
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
the COMPLIANT
, NON_COMPLIANT
, and
NOT_APPLICABLE
values. AWS Config does not support the
INSUFFICIENT_DATA
value for the
EvaluationResult
data type.
complianceType
- Indicates whether the AWS resource complies with the AWS Config
rule that evaluated it.
For the EvaluationResult
data type, AWS Config
supports only the COMPLIANT
,
NON_COMPLIANT
, and NOT_APPLICABLE
values. AWS Config does not support the
INSUFFICIENT_DATA
value for the
EvaluationResult
data type.
ComplianceType
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
the COMPLIANT
, NON_COMPLIANT
, and
NOT_APPLICABLE
values. AWS Config does not support the
INSUFFICIENT_DATA
value for the
EvaluationResult
data type.
complianceType
- Indicates whether the AWS resource complies with the AWS Config
rule that evaluated it.
For the EvaluationResult
data type, AWS Config
supports only the COMPLIANT
,
NON_COMPLIANT
, and NOT_APPLICABLE
values. AWS Config does not support the
INSUFFICIENT_DATA
value for the
EvaluationResult
data type.
ComplianceType
public void setResultRecordedTime(java.util.Date resultRecordedTime)
The time when AWS Config recorded the evaluation result.
resultRecordedTime
- The time when AWS Config recorded the evaluation result.public java.util.Date getResultRecordedTime()
The time when AWS Config recorded the evaluation result.
public EvaluationResult withResultRecordedTime(java.util.Date resultRecordedTime)
The time when AWS Config recorded the evaluation result.
resultRecordedTime
- The time when AWS Config recorded the evaluation result.public void setConfigRuleInvokedTime(java.util.Date configRuleInvokedTime)
The time when the AWS Config rule evaluated the AWS resource.
configRuleInvokedTime
- The time when the AWS Config rule evaluated the AWS resource.public java.util.Date getConfigRuleInvokedTime()
The time when the AWS Config rule evaluated the AWS resource.
public EvaluationResult withConfigRuleInvokedTime(java.util.Date configRuleInvokedTime)
The time when the AWS Config rule evaluated the AWS resource.
configRuleInvokedTime
- The time when the AWS Config rule evaluated the AWS resource.public void setAnnotation(java.lang.String annotation)
Supplementary information about how the evaluation determined the compliance.
annotation
- Supplementary information about how the evaluation determined the
compliance.public java.lang.String getAnnotation()
Supplementary information about how the evaluation determined the compliance.
public EvaluationResult withAnnotation(java.lang.String annotation)
Supplementary information about how the evaluation determined the compliance.
annotation
- Supplementary information about how the evaluation determined the
compliance.public void setResultToken(java.lang.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.
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.public java.lang.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.
public EvaluationResult withResultToken(java.lang.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.
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.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public EvaluationResult clone()
clone
in class java.lang.Object