@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateFunctionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateFunctionRequest() |
Modifier and Type | Method and Description |
---|---|
CreateFunctionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getApiId()
The GraphQL API ID.
|
String |
getDataSourceName()
The
Function DataSource name. |
String |
getDescription()
The
Function description. |
String |
getFunctionVersion()
The
version of the request mapping template. |
String |
getName()
The
Function name. |
String |
getRequestMappingTemplate()
The
Function request mapping template. |
String |
getResponseMappingTemplate()
The
Function response mapping template. |
int |
hashCode() |
void |
setApiId(String apiId)
The GraphQL API ID.
|
void |
setDataSourceName(String dataSourceName)
The
Function DataSource name. |
void |
setDescription(String description)
The
Function description. |
void |
setFunctionVersion(String functionVersion)
The
version of the request mapping template. |
void |
setName(String name)
The
Function name. |
void |
setRequestMappingTemplate(String requestMappingTemplate)
The
Function request mapping template. |
void |
setResponseMappingTemplate(String responseMappingTemplate)
The
Function response mapping template. |
String |
toString()
Returns a string representation of this object.
|
CreateFunctionRequest |
withApiId(String apiId)
The GraphQL API ID.
|
CreateFunctionRequest |
withDataSourceName(String dataSourceName)
The
Function DataSource name. |
CreateFunctionRequest |
withDescription(String description)
The
Function description. |
CreateFunctionRequest |
withFunctionVersion(String functionVersion)
The
version of the request mapping template. |
CreateFunctionRequest |
withName(String name)
The
Function name. |
CreateFunctionRequest |
withRequestMappingTemplate(String requestMappingTemplate)
The
Function request mapping template. |
CreateFunctionRequest |
withResponseMappingTemplate(String responseMappingTemplate)
The
Function response mapping template. |
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 GraphQL API ID.
apiId
- The GraphQL API ID.public String getApiId()
The GraphQL API ID.
public CreateFunctionRequest withApiId(String apiId)
The GraphQL API ID.
apiId
- The GraphQL API ID.public void setName(String name)
The Function
name. The function name does not have to be unique.
name
- The Function
name. The function name does not have to be unique.public String getName()
The Function
name. The function name does not have to be unique.
Function
name. The function name does not have to be unique.public CreateFunctionRequest withName(String name)
The Function
name. The function name does not have to be unique.
name
- The Function
name. The function name does not have to be unique.public void setDescription(String description)
The Function
description.
description
- The Function
description.public String getDescription()
The Function
description.
Function
description.public CreateFunctionRequest withDescription(String description)
The Function
description.
description
- The Function
description.public void setDataSourceName(String dataSourceName)
The Function
DataSource
name.
dataSourceName
- The Function
DataSource
name.public String getDataSourceName()
The Function
DataSource
name.
Function
DataSource
name.public CreateFunctionRequest withDataSourceName(String dataSourceName)
The Function
DataSource
name.
dataSourceName
- The Function
DataSource
name.public void setRequestMappingTemplate(String requestMappingTemplate)
The Function
request mapping template. Functions support only the 2018-05-29 version of the request
mapping template.
requestMappingTemplate
- The Function
request mapping template. Functions support only the 2018-05-29 version of the
request mapping template.public String getRequestMappingTemplate()
The Function
request mapping template. Functions support only the 2018-05-29 version of the request
mapping template.
Function
request mapping template. Functions support only the 2018-05-29 version of the
request mapping template.public CreateFunctionRequest withRequestMappingTemplate(String requestMappingTemplate)
The Function
request mapping template. Functions support only the 2018-05-29 version of the request
mapping template.
requestMappingTemplate
- The Function
request mapping template. Functions support only the 2018-05-29 version of the
request mapping template.public void setResponseMappingTemplate(String responseMappingTemplate)
The Function
response mapping template.
responseMappingTemplate
- The Function
response mapping template.public String getResponseMappingTemplate()
The Function
response mapping template.
Function
response mapping template.public CreateFunctionRequest withResponseMappingTemplate(String responseMappingTemplate)
The Function
response mapping template.
responseMappingTemplate
- The Function
response mapping template.public void setFunctionVersion(String functionVersion)
The version
of the request mapping template. Currently the supported value is 2018-05-29.
functionVersion
- The version
of the request mapping template. Currently the supported value is 2018-05-29.public String getFunctionVersion()
The version
of the request mapping template. Currently the supported value is 2018-05-29.
version
of the request mapping template. Currently the supported value is 2018-05-29.public CreateFunctionRequest withFunctionVersion(String functionVersion)
The version
of the request mapping template. Currently the supported value is 2018-05-29.
functionVersion
- The version
of the request mapping template. Currently the supported value is 2018-05-29.public String toString()
toString
in class Object
Object.toString()
public CreateFunctionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.