Interface EvaluationResult.Builder

  • Method Details

    • 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.
    • evaluationResultIdentifier

      default EvaluationResult.Builder evaluationResultIdentifier(Consumer<EvaluationResultIdentifier.Builder> evaluationResultIdentifier)

      Uniquely identifies the evaluation result.

      This is a convenience method that creates an instance of the EvaluationResultIdentifier.Builder avoiding the need to create one manually via EvaluationResultIdentifier.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to evaluationResultIdentifier(EvaluationResultIdentifier).

      Parameters:
      evaluationResultIdentifier - a consumer that will call methods on EvaluationResultIdentifier.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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:
    • 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.