@Stability(value=Experimental) public static final class AppsyncFunctionProps.Builder extends Object implements software.amazon.jsii.Builder<AppsyncFunctionProps>
AppsyncFunctionProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
AppsyncFunctionProps.Builder |
api(IGraphqlApi api)
Sets the value of
AppsyncFunctionProps.getApi() |
AppsyncFunctionProps |
build()
Builds the configured instance.
|
AppsyncFunctionProps.Builder |
dataSource(BaseDataSource dataSource)
Sets the value of
AppsyncFunctionProps.getDataSource() |
AppsyncFunctionProps.Builder |
description(String description)
Sets the value of
BaseAppsyncFunctionProps.getDescription() |
AppsyncFunctionProps.Builder |
name(String name)
Sets the value of
BaseAppsyncFunctionProps.getName() |
AppsyncFunctionProps.Builder |
requestMappingTemplate(MappingTemplate requestMappingTemplate)
Sets the value of
BaseAppsyncFunctionProps.getRequestMappingTemplate() |
AppsyncFunctionProps.Builder |
responseMappingTemplate(MappingTemplate responseMappingTemplate)
Sets the value of
BaseAppsyncFunctionProps.getResponseMappingTemplate() |
@Stability(value=Experimental) public AppsyncFunctionProps.Builder api(IGraphqlApi api)
AppsyncFunctionProps.getApi()api - the GraphQL Api linked to this AppSync Function. This parameter is required.this@Stability(value=Experimental) public AppsyncFunctionProps.Builder dataSource(BaseDataSource dataSource)
AppsyncFunctionProps.getDataSource()dataSource - the data source linked to this AppSync Function. This parameter is required.this@Stability(value=Experimental) public AppsyncFunctionProps.Builder name(String name)
BaseAppsyncFunctionProps.getName()name - the name of the AppSync Function. This parameter is required.this@Stability(value=Experimental) public AppsyncFunctionProps.Builder description(String description)
BaseAppsyncFunctionProps.getDescription()description - the description for this AppSync Function.this@Stability(value=Experimental) public AppsyncFunctionProps.Builder requestMappingTemplate(MappingTemplate requestMappingTemplate)
BaseAppsyncFunctionProps.getRequestMappingTemplate()requestMappingTemplate - the request mapping template for the AppSync Function.this@Stability(value=Experimental) public AppsyncFunctionProps.Builder responseMappingTemplate(MappingTemplate responseMappingTemplate)
BaseAppsyncFunctionProps.getResponseMappingTemplate()responseMappingTemplate - the response mapping template for the AppSync Function.this@Stability(value=Experimental) public AppsyncFunctionProps build()
build in interface software.amazon.jsii.Builder<AppsyncFunctionProps>AppsyncFunctionPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.