@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.
|
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 |
getRequestMappingTemplate()
The mapping template to be used for requests.
|
String |
getResponseMappingTemplate()
The mapping template to be used for responses from the 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 |
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 |
setRequestMappingTemplate(String requestMappingTemplate)
The mapping template to be used for requests.
|
void |
setResponseMappingTemplate(String responseMappingTemplate)
The mapping template to be used for responses from the data source.
|
void |
setTypeName(String typeName)
The name of the
Type . |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateResolverRequest |
withApiId(String apiId)
The ID for the GraphQL API for which the resolver is being created.
|
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 |
withRequestMappingTemplate(String requestMappingTemplate)
The mapping template to be used for requests.
|
CreateResolverRequest |
withResponseMappingTemplate(String responseMappingTemplate)
The mapping template to be used for responses from the 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, withSdkRequestTimeout
public 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 be used 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).
requestMappingTemplate
- The mapping template to be used 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).
public String getRequestMappingTemplate()
The mapping template to be used 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).
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).
public CreateResolverRequest withRequestMappingTemplate(String requestMappingTemplate)
The mapping template to be used 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).
requestMappingTemplate
- The mapping template to be used 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).
public void setResponseMappingTemplate(String responseMappingTemplate)
The mapping template to be used for responses from the data source.
responseMappingTemplate
- The mapping template to be used for responses from the data source.public String getResponseMappingTemplate()
The mapping template to be used for responses from the data source.
public CreateResolverRequest withResponseMappingTemplate(String responseMappingTemplate)
The mapping template to be used for responses from the data source.
responseMappingTemplate
- The mapping template to be used for responses from the data source.public String toString()
toString
in class Object
Object.toString()
public CreateResolverRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.