Interface PutEvaluationsRequest.Builder

    • Method Detail

      • evaluations

        PutEvaluationsRequest.Builder evaluations​(Collection<Evaluation> evaluations)

        The assessments that the Lambda function performs. Each evaluation identifies an Amazon Web Services resource and indicates whether it complies with the Config rule that invokes the Lambda function.

        Parameters:
        evaluations - The assessments that the Lambda function performs. Each evaluation identifies an Amazon Web Services resource and indicates whether it complies with the Config rule that invokes the Lambda function.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • evaluations

        PutEvaluationsRequest.Builder evaluations​(Evaluation... evaluations)

        The assessments that the Lambda function performs. Each evaluation identifies an Amazon Web Services resource and indicates whether it complies with the Config rule that invokes the Lambda function.

        Parameters:
        evaluations - The assessments that the Lambda function performs. Each evaluation identifies an Amazon Web Services resource and indicates whether it complies with the Config rule that invokes the Lambda function.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • evaluations

        PutEvaluationsRequest.Builder evaluations​(Consumer<Evaluation.Builder>... evaluations)

        The assessments that the Lambda function performs. Each evaluation identifies an Amazon Web Services resource and indicates whether it complies with the Config rule that invokes the Lambda function.

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #evaluations(List).

        Parameters:
        evaluations - a consumer that will call methods on Evaluation.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #evaluations(java.util.Collection)
      • resultToken

        PutEvaluationsRequest.Builder resultToken​(String resultToken)

        An encrypted token that associates an evaluation with an Config rule. Identifies the rule and the event that triggered the evaluation.

        Parameters:
        resultToken - An encrypted token that associates an evaluation with an Config rule. Identifies the rule and the event that triggered the evaluation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • testMode

        PutEvaluationsRequest.Builder testMode​(Boolean testMode)

        Use this parameter to specify a test run for PutEvaluations. You can verify whether your Lambda function will deliver evaluation results to Config. No updates occur to your existing evaluations, and evaluation results are not sent to Config.

        When TestMode is true, PutEvaluations doesn't require a valid value for the ResultToken parameter, but the value cannot be null.

        Parameters:
        testMode - Use this parameter to specify a test run for PutEvaluations. You can verify whether your Lambda function will deliver evaluation results to Config. No updates occur to your existing evaluations, and evaluation results are not sent to Config.

        When TestMode is true, PutEvaluations doesn't require a valid value for the ResultToken parameter, but the value cannot be null.

        Returns:
        Returns a reference to this object so that method calls can be chained together.