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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.config.model.ConfigRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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.Builder
avoiding the need to create one manually viaEvaluation.builder()
.When the
Consumer
completes,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
TestMode
istrue
,PutEvaluations
doesn't require a valid value for theResultToken
parameter, 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
TestMode
istrue
,PutEvaluations
doesn't require a valid value for theResultToken
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 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-