@Stability(value=Experimental) public static final class ResolverProps.Builder extends Object implements software.amazon.jsii.Builder<ResolverProps>
ResolverProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public ResolverProps.Builder api(IGraphqlApi api)
ResolverProps.getApi()api - The API this resolver is attached to. This parameter is required.this@Stability(value=Experimental) public ResolverProps.Builder dataSource(BaseDataSource dataSource)
ExtendedResolverProps.getDataSource()dataSource - The data source this resolver is using.this@Stability(value=Experimental) public ResolverProps.Builder fieldName(String fieldName)
BaseResolverProps.getFieldName()fieldName - name of the GraphQL field in the given type this resolver is attached to. This parameter is required.this@Stability(value=Experimental) public ResolverProps.Builder typeName(String typeName)
BaseResolverProps.getTypeName()typeName - name of the GraphQL type this resolver is attached to. This parameter is required.this@Stability(value=Experimental) public ResolverProps.Builder cachingConfig(CachingConfig cachingConfig)
BaseResolverProps.getCachingConfig()cachingConfig - The caching configuration for this resolver.this@Stability(value=Experimental) public ResolverProps.Builder pipelineConfig(List<? extends IAppsyncFunction> pipelineConfig)
BaseResolverProps.getPipelineConfig()pipelineConfig - configuration of the pipeline resolver.this@Stability(value=Experimental) public ResolverProps.Builder requestMappingTemplate(MappingTemplate requestMappingTemplate)
BaseResolverProps.getRequestMappingTemplate()requestMappingTemplate - The request mapping template for this resolver.this@Stability(value=Experimental) public ResolverProps.Builder responseMappingTemplate(MappingTemplate responseMappingTemplate)
BaseResolverProps.getResponseMappingTemplate()responseMappingTemplate - The response mapping template for this resolver.this@Stability(value=Experimental) public ResolverProps build()
build in interface software.amazon.jsii.Builder<ResolverProps>ResolverPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.