@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateResolverRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
| CreateResolverRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| CreateResolverRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| String | getApiId()
 The ID for the GraphQL API for which the resolver is being created. | 
| CachingConfig | getCachingConfig()
 The caching configuration for the resolver. | 
| String | getDataSourceName()
 The name of the data source for which the resolver is being created. | 
| String | getFieldName()
 The name of the field to attach the resolver to. | 
| String | getKind()
 The resolver type. | 
| Integer | getMaxBatchSize()
 The maximum batching size for a resolver. | 
| PipelineConfig | getPipelineConfig()
 The  PipelineConfig. | 
| String | getRequestMappingTemplate()
 The mapping template to use for requests. | 
| String | getResponseMappingTemplate()
 The mapping template to use for responses from the data source. | 
| SyncConfig | getSyncConfig()
 The  SyncConfigfor a resolver attached to a versioned data source. | 
| String | getTypeName()
 The name of the  Type. | 
| int | hashCode() | 
| void | setApiId(String apiId)
 The ID for the GraphQL API for which the resolver is being created. | 
| void | setCachingConfig(CachingConfig cachingConfig)
 The caching configuration for the resolver. | 
| void | setDataSourceName(String dataSourceName)
 The name of the data source for which the resolver is being created. | 
| void | setFieldName(String fieldName)
 The name of the field to attach the resolver to. | 
| void | setKind(String kind)
 The resolver type. | 
| void | setMaxBatchSize(Integer maxBatchSize)
 The maximum batching size for a resolver. | 
| void | setPipelineConfig(PipelineConfig pipelineConfig)
 The  PipelineConfig. | 
| void | setRequestMappingTemplate(String requestMappingTemplate)
 The mapping template to use for requests. | 
| void | setResponseMappingTemplate(String responseMappingTemplate)
 The mapping template to use for responses from the data source. | 
| void | setSyncConfig(SyncConfig syncConfig)
 The  SyncConfigfor a resolver attached to a versioned data source. | 
| void | setTypeName(String typeName)
 The name of the  Type. | 
| String | toString()Returns a string representation of this object. | 
| CreateResolverRequest | withApiId(String apiId)
 The ID for the GraphQL API for which the resolver is being created. | 
| CreateResolverRequest | withCachingConfig(CachingConfig cachingConfig)
 The caching configuration for the resolver. | 
| CreateResolverRequest | withDataSourceName(String dataSourceName)
 The name of the data source for which the resolver is being created. | 
| CreateResolverRequest | withFieldName(String fieldName)
 The name of the field to attach the resolver to. | 
| CreateResolverRequest | withKind(ResolverKind kind)
 The resolver type. | 
| CreateResolverRequest | withKind(String kind)
 The resolver type. | 
| CreateResolverRequest | withMaxBatchSize(Integer maxBatchSize)
 The maximum batching size for a resolver. | 
| CreateResolverRequest | withPipelineConfig(PipelineConfig pipelineConfig)
 The  PipelineConfig. | 
| CreateResolverRequest | withRequestMappingTemplate(String requestMappingTemplate)
 The mapping template to use for requests. | 
| CreateResolverRequest | withResponseMappingTemplate(String responseMappingTemplate)
 The mapping template to use for responses from the data source. | 
| CreateResolverRequest | withSyncConfig(SyncConfig syncConfig)
 The  SyncConfigfor a resolver attached to a versioned data source. | 
| CreateResolverRequest | withTypeName(String typeName)
 The name of the  Type. | 
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setApiId(String apiId)
The ID for the GraphQL API for which the resolver is being created.
apiId - The ID for the GraphQL API for which the resolver is being created.public String getApiId()
The ID for the GraphQL API for which the resolver is being created.
public CreateResolverRequest withApiId(String apiId)
The ID for the GraphQL API for which the resolver is being created.
apiId - The ID for the GraphQL API for which the resolver is being created.public void setTypeName(String typeName)
 The name of the Type.
 
typeName - The name of the Type.public String getTypeName()
 The name of the Type.
 
Type.public CreateResolverRequest withTypeName(String typeName)
 The name of the Type.
 
typeName - The name of the Type.public void setFieldName(String fieldName)
The name of the field to attach the resolver to.
fieldName - The name of the field to attach the resolver to.public String getFieldName()
The name of the field to attach the resolver to.
public CreateResolverRequest withFieldName(String fieldName)
The name of the field to attach the resolver to.
fieldName - The name of the field to attach the resolver to.public void setDataSourceName(String dataSourceName)
The name of the data source for which the resolver is being created.
dataSourceName - The name of the data source for which the resolver is being created.public String getDataSourceName()
The name of the data source for which the resolver is being created.
public CreateResolverRequest withDataSourceName(String dataSourceName)
The name of the data source for which the resolver is being created.
dataSourceName - The name of the data source for which the resolver is being created.public void setRequestMappingTemplate(String requestMappingTemplate)
The mapping template to use for requests.
A resolver uses a request mapping template to convert a GraphQL expression into a format that a data source can understand. Mapping templates are written in Apache Velocity Template Language (VTL).
VTL request mapping templates are optional when using an Lambda data source. For all other data sources, VTL request and response mapping templates are required.
requestMappingTemplate - The mapping template to use for requests.
        A resolver uses a request mapping template to convert a GraphQL expression into a format that a data source can understand. Mapping templates are written in Apache Velocity Template Language (VTL).
VTL request mapping templates are optional when using an Lambda data source. For all other data sources, VTL request and response mapping templates are required.
public String getRequestMappingTemplate()
The mapping template to use for requests.
A resolver uses a request mapping template to convert a GraphQL expression into a format that a data source can understand. Mapping templates are written in Apache Velocity Template Language (VTL).
VTL request mapping templates are optional when using an Lambda data source. For all other data sources, VTL request and response mapping templates are required.
A resolver uses a request mapping template to convert a GraphQL expression into a format that a data source can understand. Mapping templates are written in Apache Velocity Template Language (VTL).
VTL request mapping templates are optional when using an Lambda data source. For all other data sources, VTL request and response mapping templates are required.
public CreateResolverRequest withRequestMappingTemplate(String requestMappingTemplate)
The mapping template to use for requests.
A resolver uses a request mapping template to convert a GraphQL expression into a format that a data source can understand. Mapping templates are written in Apache Velocity Template Language (VTL).
VTL request mapping templates are optional when using an Lambda data source. For all other data sources, VTL request and response mapping templates are required.
requestMappingTemplate - The mapping template to use for requests.
        A resolver uses a request mapping template to convert a GraphQL expression into a format that a data source can understand. Mapping templates are written in Apache Velocity Template Language (VTL).
VTL request mapping templates are optional when using an Lambda data source. For all other data sources, VTL request and response mapping templates are required.
public void setResponseMappingTemplate(String responseMappingTemplate)
The mapping template to use for responses from the data source.
responseMappingTemplate - The mapping template to use for responses from the data source.public String getResponseMappingTemplate()
The mapping template to use for responses from the data source.
public CreateResolverRequest withResponseMappingTemplate(String responseMappingTemplate)
The mapping template to use for responses from the data source.
responseMappingTemplate - The mapping template to use for responses from the data source.public void setKind(String kind)
The resolver type.
UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. You can use a UNIT resolver to run a GraphQL query against a single data source.
 PIPELINE: A PIPELINE resolver type. You can use a PIPELINE resolver to invoke a series of
 Function objects in a serial manner. You can use a pipeline resolver to run a GraphQL query against
 multiple data sources.
 
kind - The resolver type.
        UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. You can use a UNIT resolver to run a GraphQL query against a single data source.
        PIPELINE: A PIPELINE resolver type. You can use a PIPELINE resolver to invoke a series of
        Function objects in a serial manner. You can use a pipeline resolver to run a GraphQL query
        against multiple data sources.
        
ResolverKindpublic String getKind()
The resolver type.
UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. You can use a UNIT resolver to run a GraphQL query against a single data source.
 PIPELINE: A PIPELINE resolver type. You can use a PIPELINE resolver to invoke a series of
 Function objects in a serial manner. You can use a pipeline resolver to run a GraphQL query against
 multiple data sources.
 
UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. You can use a UNIT resolver to run a GraphQL query against a single data source.
         PIPELINE: A PIPELINE resolver type. You can use a PIPELINE resolver to invoke a series of
         Function objects in a serial manner. You can use a pipeline resolver to run a GraphQL query
         against multiple data sources.
         
ResolverKindpublic CreateResolverRequest withKind(String kind)
The resolver type.
UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. You can use a UNIT resolver to run a GraphQL query against a single data source.
 PIPELINE: A PIPELINE resolver type. You can use a PIPELINE resolver to invoke a series of
 Function objects in a serial manner. You can use a pipeline resolver to run a GraphQL query against
 multiple data sources.
 
kind - The resolver type.
        UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. You can use a UNIT resolver to run a GraphQL query against a single data source.
        PIPELINE: A PIPELINE resolver type. You can use a PIPELINE resolver to invoke a series of
        Function objects in a serial manner. You can use a pipeline resolver to run a GraphQL query
        against multiple data sources.
        
ResolverKindpublic CreateResolverRequest withKind(ResolverKind kind)
The resolver type.
UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. You can use a UNIT resolver to run a GraphQL query against a single data source.
 PIPELINE: A PIPELINE resolver type. You can use a PIPELINE resolver to invoke a series of
 Function objects in a serial manner. You can use a pipeline resolver to run a GraphQL query against
 multiple data sources.
 
kind - The resolver type.
        UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. You can use a UNIT resolver to run a GraphQL query against a single data source.
        PIPELINE: A PIPELINE resolver type. You can use a PIPELINE resolver to invoke a series of
        Function objects in a serial manner. You can use a pipeline resolver to run a GraphQL query
        against multiple data sources.
        
ResolverKindpublic void setPipelineConfig(PipelineConfig pipelineConfig)
 The PipelineConfig.
 
pipelineConfig - The PipelineConfig.public PipelineConfig getPipelineConfig()
 The PipelineConfig.
 
PipelineConfig.public CreateResolverRequest withPipelineConfig(PipelineConfig pipelineConfig)
 The PipelineConfig.
 
pipelineConfig - The PipelineConfig.public void setSyncConfig(SyncConfig syncConfig)
 The SyncConfig for a resolver attached to a versioned data source.
 
syncConfig - The SyncConfig for a resolver attached to a versioned data source.public SyncConfig getSyncConfig()
 The SyncConfig for a resolver attached to a versioned data source.
 
SyncConfig for a resolver attached to a versioned data source.public CreateResolverRequest withSyncConfig(SyncConfig syncConfig)
 The SyncConfig for a resolver attached to a versioned data source.
 
syncConfig - The SyncConfig for a resolver attached to a versioned data source.public void setCachingConfig(CachingConfig cachingConfig)
The caching configuration for the resolver.
cachingConfig - The caching configuration for the resolver.public CachingConfig getCachingConfig()
The caching configuration for the resolver.
public CreateResolverRequest withCachingConfig(CachingConfig cachingConfig)
The caching configuration for the resolver.
cachingConfig - The caching configuration for the resolver.public void setMaxBatchSize(Integer maxBatchSize)
The maximum batching size for a resolver.
maxBatchSize - The maximum batching size for a resolver.public Integer getMaxBatchSize()
The maximum batching size for a resolver.
public CreateResolverRequest withMaxBatchSize(Integer maxBatchSize)
The maximum batching size for a resolver.
maxBatchSize - The maximum batching size for a resolver.public String toString()
toString in class ObjectObject.toString()public CreateResolverRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()