Interface PutEvaluationsRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, ConfigRequest.Builder, CopyableBuilder<PutEvaluationsRequest.Builder,PutEvaluationsRequest>, SdkBuilder<PutEvaluationsRequest.Builder,PutEvaluationsRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
PutEvaluationsRequest

public static interface PutEvaluationsRequest.Builder extends ConfigRequest.Builder, SdkPojo, CopyableBuilder<PutEvaluationsRequest.Builder,PutEvaluationsRequest>
  • Method Details

    • 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

      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<Evaluation>).

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

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

      PutEvaluationsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.