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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PutEvaluationsRequest.Builderevaluations(Collection<Evaluation> evaluations)The assessments that the Lambda function performs.PutEvaluationsRequest.Builderevaluations(Consumer<Evaluation.Builder>... evaluations)The assessments that the Lambda function performs.PutEvaluationsRequest.Builderevaluations(Evaluation... evaluations)The assessments that the Lambda function performs.PutEvaluationsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)PutEvaluationsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)PutEvaluationsRequest.BuilderresultToken(String resultToken)An encrypted token that associates an evaluation with an Config rule.PutEvaluationsRequest.BuildertestMode(Boolean testMode)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 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 theEvaluation.Builderavoiding the need to create one manually viaEvaluation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#evaluations(List.) - 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:
#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
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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
PutEvaluationsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-