Interface PutEvaluationsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConfigRequest.Builder,CopyableBuilder<PutEvaluationsRequest.Builder,,PutEvaluationsRequest> SdkBuilder<PutEvaluationsRequest.Builder,,PutEvaluationsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
PutEvaluationsRequest
-
Method Summary
Modifier and TypeMethodDescriptionevaluations(Collection<Evaluation> evaluations) The assessments that the Lambda function performs.evaluations(Consumer<Evaluation.Builder>... evaluations) The assessments that the Lambda function performs.evaluations(Evaluation... evaluations) The assessments that the Lambda function performs.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resultToken(String resultToken) An encrypted token that associates an evaluation with an Config rule.Use this parameter to specify a test run forPutEvaluations.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.config.model.ConfigRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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
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 theEvaluation.Builderavoiding the need to create one manually viaEvaluation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toevaluations(List<Evaluation>).- Parameters:
evaluations- a consumer that will call methods onEvaluation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
TestModeistrue,PutEvaluationsdoesn't require a valid value for theResultTokenparameter, but the value cannot be null.- Parameters:
testMode- Use this parameter to specify a test run forPutEvaluations. 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
TestModeistrue,PutEvaluationsdoesn't require a valid value for theResultTokenparameter, 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
PutEvaluationsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-