public static interface CreateFunctionRequest.Builder extends AppSyncRequest.Builder, SdkPojo, CopyableBuilder<CreateFunctionRequest.Builder,CreateFunctionRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateFunctionRequest.Builder |
apiId(String apiId)
The GraphQL API ID.
|
CreateFunctionRequest.Builder |
code(String code)
The
function code that contains the request and response functions. |
CreateFunctionRequest.Builder |
dataSourceName(String dataSourceName)
The
Function DataSource name. |
CreateFunctionRequest.Builder |
description(String description)
The
Function description. |
CreateFunctionRequest.Builder |
functionVersion(String functionVersion)
The
version of the request mapping template. |
CreateFunctionRequest.Builder |
maxBatchSize(Integer maxBatchSize)
The maximum batching size for a resolver.
|
CreateFunctionRequest.Builder |
name(String name)
The
Function name. |
CreateFunctionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateFunctionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateFunctionRequest.Builder |
requestMappingTemplate(String requestMappingTemplate)
The
Function request mapping template. |
CreateFunctionRequest.Builder |
responseMappingTemplate(String responseMappingTemplate)
The
Function response mapping template. |
CreateFunctionRequest.Builder |
runtime(AppSyncRuntime runtime)
Sets the value of the Runtime property for this object.
|
default CreateFunctionRequest.Builder |
runtime(Consumer<AppSyncRuntime.Builder> runtime)
Sets the value of the Runtime property for this object.
|
default CreateFunctionRequest.Builder |
syncConfig(Consumer<SyncConfig.Builder> syncConfig)
Sets the value of the SyncConfig property for this object.
|
CreateFunctionRequest.Builder |
syncConfig(SyncConfig syncConfig)
Sets the value of the SyncConfig property for this object.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateFunctionRequest.Builder apiId(String apiId)
The GraphQL API ID.
apiId - The GraphQL API ID.CreateFunctionRequest.Builder name(String name)
The Function name. The function name does not have to be unique.
name - The Function name. The function name does not have to be unique.CreateFunctionRequest.Builder description(String description)
The Function description.
description - The Function description.CreateFunctionRequest.Builder dataSourceName(String dataSourceName)
The Function DataSource name.
dataSourceName - The Function DataSource name.CreateFunctionRequest.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.CreateFunctionRequest.Builder responseMappingTemplate(String responseMappingTemplate)
The Function response mapping template.
responseMappingTemplate - The Function response mapping template.CreateFunctionRequest.Builder functionVersion(String functionVersion)
The version of the request mapping template. Currently, the supported value is 2018-05-29. Note
that when using VTL and mapping templates, the functionVersion is required.
functionVersion - The version of the request mapping template. Currently, the supported value is
2018-05-29. Note that when using VTL and mapping templates, the functionVersion is
required.CreateFunctionRequest.Builder syncConfig(SyncConfig syncConfig)
syncConfig - The new value for the SyncConfig property for this object.default CreateFunctionRequest.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)CreateFunctionRequest.Builder maxBatchSize(Integer maxBatchSize)
The maximum batching size for a resolver.
maxBatchSize - The maximum batching size for a resolver.CreateFunctionRequest.Builder runtime(AppSyncRuntime runtime)
runtime - The new value for the Runtime property for this object.default CreateFunctionRequest.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)CreateFunctionRequest.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.CreateFunctionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateFunctionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.