@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EvaluationResult extends Object implements Serializable, Cloneable, StructuredPojo
The details of an AWS Config evaluation. Provides the AWS resource that was evaluated, the compliance of the resource, related timestamps, and supplementary information.
Constructor and Description |
---|
EvaluationResult() |
Modifier and Type | Method and 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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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.
|
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(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 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(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(Date resultRecordedTime)
The time when AWS Config recorded the evaluation result.
resultRecordedTime
- The time when AWS Config recorded the evaluation result.public Date getResultRecordedTime()
The time when AWS Config recorded the evaluation result.
public EvaluationResult withResultRecordedTime(Date resultRecordedTime)
The time when AWS Config recorded the evaluation result.
resultRecordedTime
- The time when AWS Config recorded the evaluation result.public void setConfigRuleInvokedTime(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 Date getConfigRuleInvokedTime()
The time when the AWS Config rule evaluated the AWS resource.
public EvaluationResult withConfigRuleInvokedTime(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(String annotation)
Supplementary information about how the evaluation determined the compliance.
annotation
- Supplementary information about how the evaluation determined the compliance.public String getAnnotation()
Supplementary information about how the evaluation determined the compliance.
public EvaluationResult withAnnotation(String annotation)
Supplementary information about how the evaluation determined the compliance.
annotation
- Supplementary information about how the evaluation determined the compliance.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.
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 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(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 String toString()
toString
in class Object
Object.toString()
public EvaluationResult clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.