@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FunctionConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
A function is a reusable entity. Multiple functions can be used to compose the resolver logic.
| Constructor and Description | 
|---|
| FunctionConfiguration() | 
| Modifier and Type | Method and Description | 
|---|---|
| FunctionConfiguration | clone() | 
| boolean | equals(Object obj) | 
| String | getDataSourceName()
 The name of the  DataSource. | 
| String | getDescription()
 The  Functiondescription. | 
| String | getFunctionArn()
 The ARN of the  Functionobject. | 
| String | getFunctionId()
 A unique ID representing the  Functionobject. | 
| String | getFunctionVersion()
 The version of the request mapping template. | 
| String | getName()
 The name of the  Functionobject. | 
| String | getRequestMappingTemplate()
 The  Functionrequest mapping template. | 
| String | getResponseMappingTemplate()
 The  Functionresponse mapping template. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setDataSourceName(String dataSourceName)
 The name of the  DataSource. | 
| void | setDescription(String description)
 The  Functiondescription. | 
| void | setFunctionArn(String functionArn)
 The ARN of the  Functionobject. | 
| void | setFunctionId(String functionId)
 A unique ID representing the  Functionobject. | 
| void | setFunctionVersion(String functionVersion)
 The version of the request mapping template. | 
| void | setName(String name)
 The name of the  Functionobject. | 
| void | setRequestMappingTemplate(String requestMappingTemplate)
 The  Functionrequest mapping template. | 
| void | setResponseMappingTemplate(String responseMappingTemplate)
 The  Functionresponse mapping template. | 
| String | toString()Returns a string representation of this object. | 
| FunctionConfiguration | withDataSourceName(String dataSourceName)
 The name of the  DataSource. | 
| FunctionConfiguration | withDescription(String description)
 The  Functiondescription. | 
| FunctionConfiguration | withFunctionArn(String functionArn)
 The ARN of the  Functionobject. | 
| FunctionConfiguration | withFunctionId(String functionId)
 A unique ID representing the  Functionobject. | 
| FunctionConfiguration | withFunctionVersion(String functionVersion)
 The version of the request mapping template. | 
| FunctionConfiguration | withName(String name)
 The name of the  Functionobject. | 
| FunctionConfiguration | withRequestMappingTemplate(String requestMappingTemplate)
 The  Functionrequest mapping template. | 
| FunctionConfiguration | withResponseMappingTemplate(String responseMappingTemplate)
 The  Functionresponse mapping template. | 
public void setFunctionId(String functionId)
 A unique ID representing the Function object.
 
functionId - A unique ID representing the Function object.public String getFunctionId()
 A unique ID representing the Function object.
 
Function object.public FunctionConfiguration withFunctionId(String functionId)
 A unique ID representing the Function object.
 
functionId - A unique ID representing the Function object.public void setFunctionArn(String functionArn)
 The ARN of the Function object.
 
functionArn - The ARN of the Function object.public String getFunctionArn()
 The ARN of the Function object.
 
Function object.public FunctionConfiguration withFunctionArn(String functionArn)
 The ARN of the Function object.
 
functionArn - The ARN of the Function object.public void setName(String name)
 The name of the Function object.
 
name - The name of the Function object.public String getName()
 The name of the Function object.
 
Function object.public FunctionConfiguration withName(String name)
 The name of the Function object.
 
name - The name of the Function object.public void setDescription(String description)
 The Function description.
 
description - The Function description.public String getDescription()
 The Function description.
 
Function description.public FunctionConfiguration withDescription(String description)
 The Function description.
 
description - The Function description.public void setDataSourceName(String dataSourceName)
 The name of the DataSource.
 
dataSourceName - The name of the DataSource.public String getDataSourceName()
 The name of the DataSource.
 
DataSource.public FunctionConfiguration withDataSourceName(String dataSourceName)
 The name of the DataSource.
 
dataSourceName - The name of the DataSource.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 FunctionConfiguration 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 FunctionConfiguration 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 only the 2018-05-29 version of the template is supported.
functionVersion - The version of the request mapping template. Currently only the 2018-05-29 version of the template is
        supported.public String getFunctionVersion()
The version of the request mapping template. Currently only the 2018-05-29 version of the template is supported.
public FunctionConfiguration withFunctionVersion(String functionVersion)
The version of the request mapping template. Currently only the 2018-05-29 version of the template is supported.
functionVersion - The version of the request mapping template. Currently only the 2018-05-29 version of the template is
        supported.public String toString()
toString in class ObjectObject.toString()public FunctionConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.