@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateResolverRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateResolverRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateResolverRequest |
clone() |
boolean |
equals(Object obj) |
String |
getApiId()
The API ID.
|
CachingConfig |
getCachingConfig()
The caching configuration for the resolver.
|
String |
getDataSourceName()
The new data source name.
|
String |
getFieldName()
The new field name.
|
String |
getKind()
The resolver type.
|
PipelineConfig |
getPipelineConfig()
The
PipelineConfig . |
String |
getRequestMappingTemplate()
The new request mapping template.
|
String |
getResponseMappingTemplate()
The new response mapping template.
|
SyncConfig |
getSyncConfig()
The
SyncConfig for a resolver attached to a versioned datasource. |
String |
getTypeName()
The new type name.
|
int |
hashCode() |
void |
setApiId(String apiId)
The API ID.
|
void |
setCachingConfig(CachingConfig cachingConfig)
The caching configuration for the resolver.
|
void |
setDataSourceName(String dataSourceName)
The new data source name.
|
void |
setFieldName(String fieldName)
The new field name.
|
void |
setKind(String kind)
The resolver type.
|
void |
setPipelineConfig(PipelineConfig pipelineConfig)
The
PipelineConfig . |
void |
setRequestMappingTemplate(String requestMappingTemplate)
The new request mapping template.
|
void |
setResponseMappingTemplate(String responseMappingTemplate)
The new response mapping template.
|
void |
setSyncConfig(SyncConfig syncConfig)
The
SyncConfig for a resolver attached to a versioned datasource. |
void |
setTypeName(String typeName)
The new type name.
|
String |
toString()
Returns a string representation of this object.
|
UpdateResolverRequest |
withApiId(String apiId)
The API ID.
|
UpdateResolverRequest |
withCachingConfig(CachingConfig cachingConfig)
The caching configuration for the resolver.
|
UpdateResolverRequest |
withDataSourceName(String dataSourceName)
The new data source name.
|
UpdateResolverRequest |
withFieldName(String fieldName)
The new field name.
|
UpdateResolverRequest |
withKind(ResolverKind kind)
The resolver type.
|
UpdateResolverRequest |
withKind(String kind)
The resolver type.
|
UpdateResolverRequest |
withPipelineConfig(PipelineConfig pipelineConfig)
The
PipelineConfig . |
UpdateResolverRequest |
withRequestMappingTemplate(String requestMappingTemplate)
The new request mapping template.
|
UpdateResolverRequest |
withResponseMappingTemplate(String responseMappingTemplate)
The new response mapping template.
|
UpdateResolverRequest |
withSyncConfig(SyncConfig syncConfig)
The
SyncConfig for a resolver attached to a versioned datasource. |
UpdateResolverRequest |
withTypeName(String typeName)
The new type name.
|
addHandlerContext, copyBaseTo, 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, withSdkRequestTimeout
public void setApiId(String apiId)
The API ID.
apiId
- The API ID.public String getApiId()
The API ID.
public UpdateResolverRequest withApiId(String apiId)
The API ID.
apiId
- The API ID.public void setTypeName(String typeName)
The new type name.
typeName
- The new type name.public String getTypeName()
The new type name.
public UpdateResolverRequest withTypeName(String typeName)
The new type name.
typeName
- The new type name.public void setFieldName(String fieldName)
The new field name.
fieldName
- The new field name.public String getFieldName()
The new field name.
public UpdateResolverRequest withFieldName(String fieldName)
The new field name.
fieldName
- The new field name.public void setDataSourceName(String dataSourceName)
The new data source name.
dataSourceName
- The new data source name.public String getDataSourceName()
The new data source name.
public UpdateResolverRequest withDataSourceName(String dataSourceName)
The new data source name.
dataSourceName
- The new data source name.public void setRequestMappingTemplate(String requestMappingTemplate)
The new request mapping template.
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 a Lambda data source. For all other data sources, VTL request and response mapping templates are required.
requestMappingTemplate
- The new request mapping template.
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 a Lambda data source. For all other data sources, VTL request and response mapping templates are required.
public String getRequestMappingTemplate()
The new request mapping template.
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 a 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 a Lambda data source. For all other data sources, VTL request and response mapping templates are required.
public UpdateResolverRequest withRequestMappingTemplate(String requestMappingTemplate)
The new request mapping template.
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 a Lambda data source. For all other data sources, VTL request and response mapping templates are required.
requestMappingTemplate
- The new request mapping template.
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 a Lambda data source. For all other data sources, VTL request and response mapping templates are required.
public void setResponseMappingTemplate(String responseMappingTemplate)
The new response mapping template.
responseMappingTemplate
- The new response mapping template.public String getResponseMappingTemplate()
The new response mapping template.
public UpdateResolverRequest withResponseMappingTemplate(String responseMappingTemplate)
The new response mapping template.
responseMappingTemplate
- The new response mapping template.public void setKind(String kind)
The resolver type.
UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. A UNIT resolver enables you to execute a GraphQL query against a single data source.
PIPELINE: A PIPELINE resolver type. A PIPELINE resolver enables you to execute a series of
Function
in a serial manner. You can use a pipeline resolver to execute a GraphQL query against
multiple data sources.
kind
- The resolver type.
UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. A UNIT resolver enables you to execute a GraphQL query against a single data source.
PIPELINE: A PIPELINE resolver type. A PIPELINE resolver enables you to execute a series of
Function
in a serial manner. You can use a pipeline resolver to execute a GraphQL query
against multiple data sources.
ResolverKind
public String getKind()
The resolver type.
UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. A UNIT resolver enables you to execute a GraphQL query against a single data source.
PIPELINE: A PIPELINE resolver type. A PIPELINE resolver enables you to execute a series of
Function
in a serial manner. You can use a pipeline resolver to execute a GraphQL query against
multiple data sources.
UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. A UNIT resolver enables you to execute a GraphQL query against a single data source.
PIPELINE: A PIPELINE resolver type. A PIPELINE resolver enables you to execute a series of
Function
in a serial manner. You can use a pipeline resolver to execute a GraphQL query
against multiple data sources.
ResolverKind
public UpdateResolverRequest withKind(String kind)
The resolver type.
UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. A UNIT resolver enables you to execute a GraphQL query against a single data source.
PIPELINE: A PIPELINE resolver type. A PIPELINE resolver enables you to execute a series of
Function
in a serial manner. You can use a pipeline resolver to execute a GraphQL query against
multiple data sources.
kind
- The resolver type.
UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. A UNIT resolver enables you to execute a GraphQL query against a single data source.
PIPELINE: A PIPELINE resolver type. A PIPELINE resolver enables you to execute a series of
Function
in a serial manner. You can use a pipeline resolver to execute a GraphQL query
against multiple data sources.
ResolverKind
public UpdateResolverRequest withKind(ResolverKind kind)
The resolver type.
UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. A UNIT resolver enables you to execute a GraphQL query against a single data source.
PIPELINE: A PIPELINE resolver type. A PIPELINE resolver enables you to execute a series of
Function
in a serial manner. You can use a pipeline resolver to execute a GraphQL query against
multiple data sources.
kind
- The resolver type.
UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. A UNIT resolver enables you to execute a GraphQL query against a single data source.
PIPELINE: A PIPELINE resolver type. A PIPELINE resolver enables you to execute a series of
Function
in a serial manner. You can use a pipeline resolver to execute a GraphQL query
against multiple data sources.
ResolverKind
public void setPipelineConfig(PipelineConfig pipelineConfig)
The PipelineConfig
.
pipelineConfig
- The PipelineConfig
.public PipelineConfig getPipelineConfig()
The PipelineConfig
.
PipelineConfig
.public UpdateResolverRequest withPipelineConfig(PipelineConfig pipelineConfig)
The PipelineConfig
.
pipelineConfig
- The PipelineConfig
.public void setSyncConfig(SyncConfig syncConfig)
The SyncConfig
for a resolver attached to a versioned datasource.
syncConfig
- The SyncConfig
for a resolver attached to a versioned datasource.public SyncConfig getSyncConfig()
The SyncConfig
for a resolver attached to a versioned datasource.
SyncConfig
for a resolver attached to a versioned datasource.public UpdateResolverRequest withSyncConfig(SyncConfig syncConfig)
The SyncConfig
for a resolver attached to a versioned datasource.
syncConfig
- The SyncConfig
for a resolver attached to a versioned datasource.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 UpdateResolverRequest withCachingConfig(CachingConfig cachingConfig)
The caching configuration for the resolver.
cachingConfig
- The caching configuration for the resolver.public String toString()
toString
in class Object
Object.toString()
public UpdateResolverRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2021. All rights reserved.