Interface UpdateFunctionRequest.Builder
- All Superinterfaces:
- AppSyncRequest.Builder,- AwsRequest.Builder,- Buildable,- CopyableBuilder<UpdateFunctionRequest.Builder,,- UpdateFunctionRequest> - SdkBuilder<UpdateFunctionRequest.Builder,,- UpdateFunctionRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- UpdateFunctionRequest
- 
Method SummaryModifier and TypeMethodDescriptionThe GraphQL API ID.Thefunctioncode that contains the request and response functions.dataSourceName(String dataSourceName) TheFunctionDataSourcename.description(String description) TheFunctiondescription.functionId(String functionId) The function ID.functionVersion(String functionVersion) Theversionof the request mapping template.maxBatchSize(Integer maxBatchSize) The maximum batching size for a resolver.TheFunctionname.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.requestMappingTemplate(String requestMappingTemplate) TheFunctionrequest mapping template.responseMappingTemplate(String responseMappingTemplate) TheFunctionrequest mapping template.default UpdateFunctionRequest.Builderruntime(Consumer<AppSyncRuntime.Builder> runtime) Sets the value of the Runtime property for this object.runtime(AppSyncRuntime runtime) Sets the value of the Runtime property for this object.default UpdateFunctionRequest.BuildersyncConfig(Consumer<SyncConfig.Builder> syncConfig) Sets the value of the SyncConfig property for this object.syncConfig(SyncConfig syncConfig) Sets the value of the SyncConfig property for this object.Methods inherited from interface software.amazon.awssdk.services.appsync.model.AppSyncRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
apiIdThe GraphQL API ID. - Parameters:
- apiId- The GraphQL API ID.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
nameThe Functionname.- Parameters:
- name- The- Functionname.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
descriptionThe Functiondescription.- Parameters:
- description- The- Functiondescription.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
functionIdThe function ID. - Parameters:
- functionId- The function ID.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
dataSourceNameThe FunctionDataSourcename.- Parameters:
- dataSourceName- The- Function- DataSourcename.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
requestMappingTemplateThe Functionrequest mapping template. Functions support only the 2018-05-29 version of the request mapping template.- Parameters:
- requestMappingTemplate- The- Functionrequest mapping template. Functions support only the 2018-05-29 version of the request mapping template.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
responseMappingTemplateThe Functionrequest mapping template.- Parameters:
- responseMappingTemplate- The- Functionrequest mapping template.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
functionVersionThe versionof the request mapping template. Currently, the supported value is 2018-05-29. Note that when using VTL and mapping templates, thefunctionVersionis required.- Parameters:
- functionVersion- The- versionof the request mapping template. Currently, the supported value is 2018-05-29. Note that when using VTL and mapping templates, the- functionVersionis required.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
syncConfigSets the value of the SyncConfig property for this object.- Parameters:
- syncConfig- The new value for the SyncConfig property for this object.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
syncConfigSets the value of the SyncConfig property for this object. This is a convenience method that creates an instance of theSyncConfig.Builderavoiding the need to create one manually viaSyncConfig.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosyncConfig(SyncConfig).- Parameters:
- syncConfig- a consumer that will call methods on- SyncConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
maxBatchSizeThe maximum batching size for a resolver. - Parameters:
- maxBatchSize- The maximum batching size for a resolver.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
runtimeSets the value of the Runtime property for this object.- Parameters:
- runtime- The new value for the Runtime property for this object.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
runtimeSets the value of the Runtime property for this object. This is a convenience method that creates an instance of theAppSyncRuntime.Builderavoiding the need to create one manually viaAppSyncRuntime.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toruntime(AppSyncRuntime).- Parameters:
- runtime- a consumer that will call methods on- AppSyncRuntime.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
codeThe functioncode that contains the request and response functions. When code is used, theruntimeis required. Theruntimevalue must beAPPSYNC_JS.- Parameters:
- code- The- functioncode that contains the request and response functions. When code is used, the- runtimeis required. The- runtimevalue must be- APPSYNC_JS.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
overrideConfigurationUpdateFunctionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationUpdateFunctionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-