@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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getApiId()
The API ID.
|
CachingConfig |
getCachingConfig()
The caching configuration for the resolver.
|
String |
getCode()
The
resolver code that contains the request and response functions. |
String |
getDataSourceName()
The new data source name.
|
String |
getFieldName()
The new field name.
|
String |
getKind()
The resolver type.
|
Integer |
getMaxBatchSize()
The maximum batching size for a resolver.
|
String |
getMetricsConfig()
Enables or disables enhanced resolver metrics for specified resolvers.
|
PipelineConfig |
getPipelineConfig()
The
PipelineConfig . |
String |
getRequestMappingTemplate()
The new request mapping template.
|
String |
getResponseMappingTemplate()
The new response mapping template.
|
AppSyncRuntime |
getRuntime() |
SyncConfig |
getSyncConfig()
The
SyncConfig for a resolver attached to a versioned data source. |
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 |
setCode(String code)
The
resolver code that contains the request and response functions. |
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 |
setMaxBatchSize(Integer maxBatchSize)
The maximum batching size for a resolver.
|
void |
setMetricsConfig(String metricsConfig)
Enables or disables enhanced resolver metrics for specified resolvers.
|
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 |
setRuntime(AppSyncRuntime runtime) |
void |
setSyncConfig(SyncConfig syncConfig)
The
SyncConfig for a resolver attached to a versioned data source. |
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 |
withCode(String code)
The
resolver code that contains the request and response functions. |
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 |
withMaxBatchSize(Integer maxBatchSize)
The maximum batching size for a resolver.
|
UpdateResolverRequest |
withMetricsConfig(ResolverLevelMetricsConfig metricsConfig)
Enables or disables enhanced resolver metrics for specified resolvers.
|
UpdateResolverRequest |
withMetricsConfig(String metricsConfig)
Enables or disables enhanced resolver metrics for specified resolvers.
|
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 |
withRuntime(AppSyncRuntime runtime) |
UpdateResolverRequest |
withSyncConfig(SyncConfig syncConfig)
The
SyncConfig for a resolver attached to a versioned data source. |
UpdateResolverRequest |
withTypeName(String typeName)
The new type name.
|
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, 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 an 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 an 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 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 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 an 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 an 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. 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.
ResolverKind
public 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.
ResolverKind
public UpdateResolverRequest 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.
ResolverKind
public UpdateResolverRequest 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.
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 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 UpdateResolverRequest 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 UpdateResolverRequest 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 UpdateResolverRequest withMaxBatchSize(Integer maxBatchSize)
The maximum batching size for a resolver.
maxBatchSize
- The maximum batching size for a resolver.public void setRuntime(AppSyncRuntime runtime)
runtime
- public AppSyncRuntime getRuntime()
public UpdateResolverRequest withRuntime(AppSyncRuntime runtime)
runtime
- public void setCode(String code)
The resolver
code that contains the request and response functions. When code is used, the
runtime
is required. The runtime
value must be APPSYNC_JS
.
code
- The resolver
code that contains the request and response functions. When code is used, the
runtime
is required. The runtime
value must be APPSYNC_JS
.public String getCode()
The resolver
code that contains the request and response functions. When code is used, the
runtime
is required. The runtime
value must be APPSYNC_JS
.
resolver
code that contains the request and response functions. When code is used, the
runtime
is required. The runtime
value must be APPSYNC_JS
.public UpdateResolverRequest withCode(String code)
The resolver
code that contains the request and response functions. When code is used, the
runtime
is required. The runtime
value must be APPSYNC_JS
.
code
- The resolver
code that contains the request and response functions. When code is used, the
runtime
is required. The runtime
value must be APPSYNC_JS
.public void setMetricsConfig(String metricsConfig)
Enables or disables enhanced resolver metrics for specified resolvers. Note that metricsConfig
won't
be used unless the resolverLevelMetricsBehavior
value is set to PER_RESOLVER_METRICS
.
If the resolverLevelMetricsBehavior
is set to FULL_REQUEST_RESOLVER_METRICS
instead,
metricsConfig
will be ignored. However, you can still set its value.
metricsConfig
can be ENABLED
or DISABLED
.
metricsConfig
- Enables or disables enhanced resolver metrics for specified resolvers. Note that
metricsConfig
won't be used unless the resolverLevelMetricsBehavior
value is set
to PER_RESOLVER_METRICS
. If the resolverLevelMetricsBehavior
is set to
FULL_REQUEST_RESOLVER_METRICS
instead, metricsConfig
will be ignored. However,
you can still set its value.
metricsConfig
can be ENABLED
or DISABLED
.
ResolverLevelMetricsConfig
public String getMetricsConfig()
Enables or disables enhanced resolver metrics for specified resolvers. Note that metricsConfig
won't
be used unless the resolverLevelMetricsBehavior
value is set to PER_RESOLVER_METRICS
.
If the resolverLevelMetricsBehavior
is set to FULL_REQUEST_RESOLVER_METRICS
instead,
metricsConfig
will be ignored. However, you can still set its value.
metricsConfig
can be ENABLED
or DISABLED
.
metricsConfig
won't be used unless the resolverLevelMetricsBehavior
value is
set to PER_RESOLVER_METRICS
. If the resolverLevelMetricsBehavior
is set to
FULL_REQUEST_RESOLVER_METRICS
instead, metricsConfig
will be ignored. However,
you can still set its value.
metricsConfig
can be ENABLED
or DISABLED
.
ResolverLevelMetricsConfig
public UpdateResolverRequest withMetricsConfig(String metricsConfig)
Enables or disables enhanced resolver metrics for specified resolvers. Note that metricsConfig
won't
be used unless the resolverLevelMetricsBehavior
value is set to PER_RESOLVER_METRICS
.
If the resolverLevelMetricsBehavior
is set to FULL_REQUEST_RESOLVER_METRICS
instead,
metricsConfig
will be ignored. However, you can still set its value.
metricsConfig
can be ENABLED
or DISABLED
.
metricsConfig
- Enables or disables enhanced resolver metrics for specified resolvers. Note that
metricsConfig
won't be used unless the resolverLevelMetricsBehavior
value is set
to PER_RESOLVER_METRICS
. If the resolverLevelMetricsBehavior
is set to
FULL_REQUEST_RESOLVER_METRICS
instead, metricsConfig
will be ignored. However,
you can still set its value.
metricsConfig
can be ENABLED
or DISABLED
.
ResolverLevelMetricsConfig
public UpdateResolverRequest withMetricsConfig(ResolverLevelMetricsConfig metricsConfig)
Enables or disables enhanced resolver metrics for specified resolvers. Note that metricsConfig
won't
be used unless the resolverLevelMetricsBehavior
value is set to PER_RESOLVER_METRICS
.
If the resolverLevelMetricsBehavior
is set to FULL_REQUEST_RESOLVER_METRICS
instead,
metricsConfig
will be ignored. However, you can still set its value.
metricsConfig
can be ENABLED
or DISABLED
.
metricsConfig
- Enables or disables enhanced resolver metrics for specified resolvers. Note that
metricsConfig
won't be used unless the resolverLevelMetricsBehavior
value is set
to PER_RESOLVER_METRICS
. If the resolverLevelMetricsBehavior
is set to
FULL_REQUEST_RESOLVER_METRICS
instead, metricsConfig
will be ignored. However,
you can still set its value.
metricsConfig
can be ENABLED
or DISABLED
.
ResolverLevelMetricsConfig
public String toString()
toString
in class Object
Object.toString()
public UpdateResolverRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Privacy | Site terms | Cookie preferences | © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.