@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Resolver extends Object implements Serializable, Cloneable, StructuredPojo
Describes a resolver.
Constructor and Description |
---|
Resolver() |
Modifier and Type | Method and Description |
---|---|
Resolver |
clone() |
boolean |
equals(Object obj) |
CachingConfig |
getCachingConfig()
The caching configuration for the resolver.
|
String |
getDataSourceName()
The resolver data source name.
|
String |
getFieldName()
The resolver field name.
|
String |
getKind()
The resolver type.
|
PipelineConfig |
getPipelineConfig()
The
PipelineConfig . |
String |
getRequestMappingTemplate()
The request mapping template.
|
String |
getResolverArn()
The resolver ARN.
|
String |
getResponseMappingTemplate()
The response mapping template.
|
SyncConfig |
getSyncConfig()
The
SyncConfig for a resolver attached to a versioned datasource. |
String |
getTypeName()
The resolver type name.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCachingConfig(CachingConfig cachingConfig)
The caching configuration for the resolver.
|
void |
setDataSourceName(String dataSourceName)
The resolver data source name.
|
void |
setFieldName(String fieldName)
The resolver field name.
|
void |
setKind(String kind)
The resolver type.
|
void |
setPipelineConfig(PipelineConfig pipelineConfig)
The
PipelineConfig . |
void |
setRequestMappingTemplate(String requestMappingTemplate)
The request mapping template.
|
void |
setResolverArn(String resolverArn)
The resolver ARN.
|
void |
setResponseMappingTemplate(String responseMappingTemplate)
The response mapping template.
|
void |
setSyncConfig(SyncConfig syncConfig)
The
SyncConfig for a resolver attached to a versioned datasource. |
void |
setTypeName(String typeName)
The resolver type name.
|
String |
toString()
Returns a string representation of this object.
|
Resolver |
withCachingConfig(CachingConfig cachingConfig)
The caching configuration for the resolver.
|
Resolver |
withDataSourceName(String dataSourceName)
The resolver data source name.
|
Resolver |
withFieldName(String fieldName)
The resolver field name.
|
Resolver |
withKind(ResolverKind kind)
The resolver type.
|
Resolver |
withKind(String kind)
The resolver type.
|
Resolver |
withPipelineConfig(PipelineConfig pipelineConfig)
The
PipelineConfig . |
Resolver |
withRequestMappingTemplate(String requestMappingTemplate)
The request mapping template.
|
Resolver |
withResolverArn(String resolverArn)
The resolver ARN.
|
Resolver |
withResponseMappingTemplate(String responseMappingTemplate)
The response mapping template.
|
Resolver |
withSyncConfig(SyncConfig syncConfig)
The
SyncConfig for a resolver attached to a versioned datasource. |
Resolver |
withTypeName(String typeName)
The resolver type name.
|
public void setTypeName(String typeName)
The resolver type name.
typeName
- The resolver type name.public String getTypeName()
The resolver type name.
public Resolver withTypeName(String typeName)
The resolver type name.
typeName
- The resolver type name.public void setFieldName(String fieldName)
The resolver field name.
fieldName
- The resolver field name.public String getFieldName()
The resolver field name.
public Resolver withFieldName(String fieldName)
The resolver field name.
fieldName
- The resolver field name.public void setDataSourceName(String dataSourceName)
The resolver data source name.
dataSourceName
- The resolver data source name.public String getDataSourceName()
The resolver data source name.
public Resolver withDataSourceName(String dataSourceName)
The resolver data source name.
dataSourceName
- The resolver data source name.public void setResolverArn(String resolverArn)
The resolver ARN.
resolverArn
- The resolver ARN.public String getResolverArn()
The resolver ARN.
public Resolver withResolverArn(String resolverArn)
The resolver ARN.
resolverArn
- The resolver ARN.public void setRequestMappingTemplate(String requestMappingTemplate)
The request mapping template.
requestMappingTemplate
- The request mapping template.public String getRequestMappingTemplate()
The request mapping template.
public Resolver withRequestMappingTemplate(String requestMappingTemplate)
The request mapping template.
requestMappingTemplate
- The request mapping template.public void setResponseMappingTemplate(String responseMappingTemplate)
The response mapping template.
responseMappingTemplate
- The response mapping template.public String getResponseMappingTemplate()
The response mapping template.
public Resolver withResponseMappingTemplate(String responseMappingTemplate)
The response mapping template.
responseMappingTemplate
- The 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 Resolver 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 Resolver 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 Resolver 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 Resolver 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 Resolver 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 void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2020. All rights reserved.