public static interface EvaluateCodeRequest.Builder extends AppSyncRequest.Builder, SdkPojo, CopyableBuilder<EvaluateCodeRequest.Builder,EvaluateCodeRequest>
| Modifier and Type | Method and Description |
|---|---|
EvaluateCodeRequest.Builder |
code(String code)
The code definition to be evaluated.
|
EvaluateCodeRequest.Builder |
context(String context)
The map that holds all of the contextual information for your resolver invocation.
|
EvaluateCodeRequest.Builder |
function(String function)
The function within the code to be evaluated.
|
EvaluateCodeRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
EvaluateCodeRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
EvaluateCodeRequest.Builder |
runtime(AppSyncRuntime runtime)
The runtime to be used when evaluating the code.
|
default EvaluateCodeRequest.Builder |
runtime(Consumer<AppSyncRuntime.Builder> runtime)
The runtime to be used when evaluating the code.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildEvaluateCodeRequest.Builder runtime(AppSyncRuntime runtime)
The runtime to be used when evaluating the code. Currently, only the APPSYNC_JS runtime is
supported.
runtime - The runtime to be used when evaluating the code. Currently, only the APPSYNC_JS runtime
is supported.default EvaluateCodeRequest.Builder runtime(Consumer<AppSyncRuntime.Builder> runtime)
The runtime to be used when evaluating the code. Currently, only the APPSYNC_JS runtime is
supported.
AppSyncRuntime.Builder avoiding the need
to create one manually via AppSyncRuntime.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to runtime(AppSyncRuntime).
runtime - a consumer that will call methods on AppSyncRuntime.Builderruntime(AppSyncRuntime)EvaluateCodeRequest.Builder code(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 - The code definition to be evaluated. Note that code and runtime are both
required for this action. The runtime value must be APPSYNC_JS.EvaluateCodeRequest.Builder context(String context)
The map that holds all of the contextual information for your resolver invocation. A context is
required for this action.
context - The map that holds all of the contextual information for your resolver invocation. A
context is required for this action.EvaluateCodeRequest.Builder function(String function)
The function within the code to be evaluated. If provided, the valid values are request and
response.
function - The function within the code to be evaluated. If provided, the valid values are request
and response.EvaluateCodeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderEvaluateCodeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.