/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.config.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class PutEvaluationsRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** ** 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. *
*/ private com.amazonaws.internal.SdkInternalList* An encrypted token that associates an evaluation with an Config rule. Identifies the rule and the event that * triggered the evaluation. *
*/ private String resultToken; /** *
* 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.
*
* 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. *
* * @return 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. */ public java.util.List* 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. *
* * @param 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. */ public void setEvaluations(java.util.Collection* 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. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setEvaluations(java.util.Collection)} or {@link #withEvaluations(java.util.Collection)} if you want to * override the existing values. *
* * @param 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. * @return Returns a reference to this object so that method calls can be chained together. */ public PutEvaluationsRequest withEvaluations(Evaluation... evaluations) { if (this.evaluations == null) { setEvaluations(new com.amazonaws.internal.SdkInternalList* 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. *
* * @param 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. * @return Returns a reference to this object so that method calls can be chained together. */ public PutEvaluationsRequest withEvaluations(java.util.Collection* An encrypted token that associates an evaluation with an Config rule. Identifies the rule and the event that * triggered the evaluation. *
* * @param resultToken * An encrypted token that associates an evaluation with an Config rule. Identifies the rule and the event * that triggered the evaluation. */ public void setResultToken(String resultToken) { this.resultToken = resultToken; } /** ** An encrypted token that associates an evaluation with an Config rule. Identifies the rule and the event that * triggered the evaluation. *
* * @return An encrypted token that associates an evaluation with an Config rule. Identifies the rule and the event * that triggered the evaluation. */ public String getResultToken() { return this.resultToken; } /** ** An encrypted token that associates an evaluation with an Config rule. Identifies the rule and the event that * triggered the evaluation. *
* * @param resultToken * An encrypted token that associates an evaluation with an Config rule. Identifies the rule and the event * that triggered the evaluation. * @return Returns a reference to this object so that method calls can be chained together. */ public PutEvaluationsRequest withResultToken(String resultToken) { setResultToken(resultToken); return this; } /** *
* 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.
*
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.
*
* 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.
*
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.
*
* 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.
*
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.
*
* 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.
*
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.
*