@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) |
boolean |
equalsBySdkFields(Object obj) |
List<Evaluation> |
evaluations()
The assessments that the Lambda function performs.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasEvaluations()
For responses, this returns true if the service returned a value for the Evaluations property.
|
int |
hashCode() |
String |
resultToken()
An encrypted token that associates an evaluation with an 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() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasEvaluations()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasEvaluations() method.
public final String resultToken()
An encrypted token that associates an evaluation with an Config rule. Identifies the rule and the event that triggered the evaluation.
public final 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 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.
public PutEvaluationsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PutEvaluationsRequest.Builder,PutEvaluationsRequest>toBuilder in class ConfigRequestpublic static PutEvaluationsRequest.Builder builder()
public static Class<? extends PutEvaluationsRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.