Interface EvaluationResult.Builder

    • Method Detail

      • evaluationResultIdentifier

        EvaluationResult.Builder evaluationResultIdentifier​(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.
      • complianceType

        EvaluationResult.Builder complianceType​(String complianceType)

        Indicates whether the Amazon Web Services resource complies with the Config rule that evaluated it.

        For the EvaluationResult data type, Config supports only the COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE values. Config does not support the INSUFFICIENT_DATA value for the EvaluationResult data type.

        Parameters:
        complianceType - Indicates whether the Amazon Web Services resource complies with the Config rule that evaluated it.

        For the EvaluationResult data type, Config supports only the COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE values. 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:
        ComplianceType, ComplianceType
      • complianceType

        EvaluationResult.Builder complianceType​(ComplianceType complianceType)

        Indicates whether the Amazon Web Services resource complies with the Config rule that evaluated it.

        For the EvaluationResult data type, Config supports only the COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE values. Config does not support the INSUFFICIENT_DATA value for the EvaluationResult data type.

        Parameters:
        complianceType - Indicates whether the Amazon Web Services resource complies with the Config rule that evaluated it.

        For the EvaluationResult data type, Config supports only the COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE values. 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:
        ComplianceType, ComplianceType
      • resultRecordedTime

        EvaluationResult.Builder resultRecordedTime​(Instant resultRecordedTime)

        The time when Config recorded the evaluation result.

        Parameters:
        resultRecordedTime - The time when Config recorded the evaluation result.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • configRuleInvokedTime

        EvaluationResult.Builder configRuleInvokedTime​(Instant configRuleInvokedTime)

        The time when the Config rule evaluated the Amazon Web Services resource.

        Parameters:
        configRuleInvokedTime - The time when the Config rule evaluated the Amazon Web Services resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • annotation

        EvaluationResult.Builder annotation​(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.
      • resultToken

        EvaluationResult.Builder resultToken​(String resultToken)

        An encrypted token that associates an evaluation with an Config rule. The token identifies the rule, the Amazon Web Services resource being evaluated, and the event that triggered the evaluation.

        Parameters:
        resultToken - An encrypted token that associates an evaluation with an Config rule. The token identifies the rule, the Amazon Web Services 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.