@Generated(value="software.amazon.awssdk:codegen") public final class EvaluateCodeRequest extends AppSyncRequest implements ToCopyableBuilder<EvaluateCodeRequest.Builder,EvaluateCodeRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
EvaluateCodeRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static EvaluateCodeRequest.Builder |
builder() |
String |
code()
The code definition to be evaluated.
|
String |
context()
The map that holds all of the contextual information for your resolver invocation.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
function()
The function within the code to be evaluated.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
AppSyncRuntime |
runtime()
The runtime to be used when evaluating the code.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends EvaluateCodeRequest.Builder> |
serializableBuilderClass() |
EvaluateCodeRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final AppSyncRuntime runtime()
The runtime to be used when evaluating the code. Currently, only the APPSYNC_JS runtime is
supported.
APPSYNC_JS runtime is
supported.public final String code()
The code definition to be evaluated. Note that code and runtime are both required for
this action. The runtime value must be APPSYNC_JS.
code and runtime are both
required for this action. The runtime value must be APPSYNC_JS.public final String context()
The map that holds all of the contextual information for your resolver invocation. A context is
required for this action.
context
is required for this action.public final String function()
The function within the code to be evaluated. If provided, the valid values are request and
response.
request and
response.public EvaluateCodeRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EvaluateCodeRequest.Builder,EvaluateCodeRequest>toBuilder in class AppSyncRequestpublic static EvaluateCodeRequest.Builder builder()
public static Class<? extends EvaluateCodeRequest.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.