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:
  • Constructor Details

    • EvaluationResult

      public EvaluationResult()
  • Method Details

    • 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 the COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE values. AWS Config does not support the INSUFFICIENT_DATA value for the EvaluationResult 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 the COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE values. AWS Config does not support the INSUFFICIENT_DATA value for the EvaluationResult data type.

      See Also:
    • 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 the COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE values. AWS Config does not support the INSUFFICIENT_DATA value for the EvaluationResult 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 the COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE values. AWS Config does not support the INSUFFICIENT_DATA value for the EvaluationResult data type.

      See Also:
    • 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 the COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE values. AWS Config does not support the INSUFFICIENT_DATA value for the EvaluationResult 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 the COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE values. AWS Config does not support the INSUFFICIENT_DATA value for the EvaluationResult data type.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE values. AWS Config does not support the INSUFFICIENT_DATA value for the EvaluationResult 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 the COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE values. AWS Config does not support the INSUFFICIENT_DATA value for the EvaluationResult data type.

      See Also:
    • 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 the COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE values. AWS Config does not support the INSUFFICIENT_DATA value for the EvaluationResult 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 the COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE values. AWS Config does not support the INSUFFICIENT_DATA value for the EvaluationResult data type.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public EvaluationResult clone()
      Overrides:
      clone in class Object