@Generated(value="software.amazon.awssdk:codegen") public final class PutEvaluationsRequest extends ConfigRequest implements ToCopyableBuilder<PutEvaluationsRequest.Builder,PutEvaluationsRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
PutEvaluationsRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static PutEvaluationsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
List<Evaluation> |
evaluations()
The assessments that the AWS Lambda function performs.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
resultToken()
An encrypted token that associates an evaluation with an AWS Config rule.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PutEvaluationsRequest.Builder> |
serializableBuilderClass() |
Boolean |
testMode()
Use this parameter to specify a test run for
PutEvaluations . |
PutEvaluationsRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public List<Evaluation> evaluations()
The assessments that the AWS Lambda function performs. Each evaluation identifies an AWS resource and indicates whether it complies with the AWS Config rule that invokes the AWS Lambda function.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String resultToken()
An encrypted token that associates an evaluation with an AWS Config rule. Identifies the rule and the event that triggered the evaluation.
public Boolean testMode()
Use this parameter to specify a test run for PutEvaluations
. You can verify whether your AWS Lambda
function will deliver evaluation results to AWS Config. No updates occur to your existing evaluations, and
evaluation results are not sent to AWS 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 AWS
Lambda function will deliver evaluation results to AWS Config. No updates occur to your existing
evaluations, and evaluation results are not sent to AWS Config.
When TestMode
is true
, PutEvaluations
doesn't require a valid
value for the ResultToken
parameter, but the value cannot be null.
public PutEvaluationsRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<PutEvaluationsRequest.Builder,PutEvaluationsRequest>
toBuilder
in class ConfigRequest
public static PutEvaluationsRequest.Builder builder()
public static Class<? extends PutEvaluationsRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.