public static interface FunctionConfiguration.Builder extends SdkPojo, CopyableBuilder<FunctionConfiguration.Builder,FunctionConfiguration>
| Modifier and Type | Method and Description |
|---|---|
FunctionConfiguration.Builder |
code(String code)
The
function code that contains the request and response functions. |
FunctionConfiguration.Builder |
dataSourceName(String dataSourceName)
The name of the
DataSource. |
FunctionConfiguration.Builder |
description(String description)
The
Function description. |
FunctionConfiguration.Builder |
functionArn(String functionArn)
The Amazon Resource Name (ARN) of the
Function object. |
FunctionConfiguration.Builder |
functionId(String functionId)
A unique ID representing the
Function object. |
FunctionConfiguration.Builder |
functionVersion(String functionVersion)
The version of the request mapping template.
|
FunctionConfiguration.Builder |
maxBatchSize(Integer maxBatchSize)
The maximum batching size for a resolver.
|
FunctionConfiguration.Builder |
name(String name)
The name of the
Function object. |
FunctionConfiguration.Builder |
requestMappingTemplate(String requestMappingTemplate)
The
Function request mapping template. |
FunctionConfiguration.Builder |
responseMappingTemplate(String responseMappingTemplate)
The
Function response mapping template. |
FunctionConfiguration.Builder |
runtime(AppSyncRuntime runtime)
Sets the value of the Runtime property for this object.
|
default FunctionConfiguration.Builder |
runtime(Consumer<AppSyncRuntime.Builder> runtime)
Sets the value of the Runtime property for this object.
|
default FunctionConfiguration.Builder |
syncConfig(Consumer<SyncConfig.Builder> syncConfig)
Sets the value of the SyncConfig property for this object.
|
FunctionConfiguration.Builder |
syncConfig(SyncConfig syncConfig)
Sets the value of the SyncConfig property for this object.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildFunctionConfiguration.Builder functionId(String functionId)
A unique ID representing the Function object.
functionId - A unique ID representing the Function object.FunctionConfiguration.Builder functionArn(String functionArn)
The Amazon Resource Name (ARN) of the Function object.
functionArn - The Amazon Resource Name (ARN) of the Function object.FunctionConfiguration.Builder name(String name)
The name of the Function object.
name - The name of the Function object.FunctionConfiguration.Builder description(String description)
The Function description.
description - The Function description.FunctionConfiguration.Builder dataSourceName(String dataSourceName)
The name of the DataSource.
dataSourceName - The name of the DataSource.FunctionConfiguration.Builder requestMappingTemplate(String requestMappingTemplate)
The Function request mapping template. Functions support only the 2018-05-29 version of the
request mapping template.
requestMappingTemplate - The Function request mapping template. Functions support only the 2018-05-29 version of
the request mapping template.FunctionConfiguration.Builder responseMappingTemplate(String responseMappingTemplate)
The Function response mapping template.
responseMappingTemplate - The Function response mapping template.FunctionConfiguration.Builder functionVersion(String functionVersion)
The version of the request mapping template. Currently, only the 2018-05-29 version of the template is supported.
functionVersion - The version of the request mapping template. Currently, only the 2018-05-29 version of the template is
supported.FunctionConfiguration.Builder syncConfig(SyncConfig syncConfig)
syncConfig - The new value for the SyncConfig property for this object.default FunctionConfiguration.Builder syncConfig(Consumer<SyncConfig.Builder> syncConfig)
SyncConfig.Builder avoiding the need to
create one manually via SyncConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to syncConfig(SyncConfig).
syncConfig - a consumer that will call methods on SyncConfig.BuildersyncConfig(SyncConfig)FunctionConfiguration.Builder maxBatchSize(Integer maxBatchSize)
The maximum batching size for a resolver.
maxBatchSize - The maximum batching size for a resolver.FunctionConfiguration.Builder runtime(AppSyncRuntime runtime)
runtime - The new value for the Runtime property for this object.default FunctionConfiguration.Builder runtime(Consumer<AppSyncRuntime.Builder> runtime)
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)FunctionConfiguration.Builder code(String code)
The function code that contains the request and response functions. When code is used, the
runtime is required. The runtime value must be APPSYNC_JS.
code - The function code that contains the request and response functions. When code is used,
the runtime is required. The runtime value must be APPSYNC_JS.Copyright © 2023. All rights reserved.