public static interface UpdateFunctionRequest.Builder extends AppSyncRequest.Builder, SdkPojo, CopyableBuilder<UpdateFunctionRequest.Builder,UpdateFunctionRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdateFunctionRequest.Builder apiId(String apiId)
The GraphQL API ID.
apiId - The GraphQL API ID.UpdateFunctionRequest.Builder name(String name)
The Function name.
name - The Function name.UpdateFunctionRequest.Builder description(String description)
The Function description.
description - The Function description.UpdateFunctionRequest.Builder functionId(String functionId)
The function ID.
functionId - The function ID.UpdateFunctionRequest.Builder dataSourceName(String dataSourceName)
The Function DataSource name.
dataSourceName - The Function DataSource name.UpdateFunctionRequest.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.UpdateFunctionRequest.Builder responseMappingTemplate(String responseMappingTemplate)
The Function request mapping template.
responseMappingTemplate - The Function request mapping template.UpdateFunctionRequest.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.UpdateFunctionRequest.Builder syncConfig(SyncConfig syncConfig)
syncConfig - The new value for the SyncConfig property for this object.default UpdateFunctionRequest.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)UpdateFunctionRequest.Builder maxBatchSize(Integer maxBatchSize)
The maximum batching size for a resolver.
maxBatchSize - The maximum batching size for a resolver.UpdateFunctionRequest.Builder runtime(AppSyncRuntime runtime)
runtime - The new value for the Runtime property for this object.default UpdateFunctionRequest.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)UpdateFunctionRequest.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.UpdateFunctionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderUpdateFunctionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.