@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
Function description. |
String |
getFunctionArn()
The ARN of the
Function object. |
String |
getFunctionId()
A unique ID representing the
Function object. |
String |
getFunctionVersion()
The version of the request mapping template.
|
String |
getName()
The name of the
Function object. |
String |
getRequestMappingTemplate()
The
Function request mapping template. |
String |
getResponseMappingTemplate()
The
Function response mapping template. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setDataSourceName(String dataSourceName)
The name of the
DataSource . |
void |
setDescription(String description)
The
Function description. |
void |
setFunctionArn(String functionArn)
The ARN of the
Function object. |
void |
setFunctionId(String functionId)
A unique ID representing the
Function object. |
void |
setFunctionVersion(String functionVersion)
The version of the request mapping template.
|
void |
setName(String name)
The name of the
Function object. |
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.
|
FunctionConfiguration |
withDataSourceName(String dataSourceName)
The name of the
DataSource . |
FunctionConfiguration |
withDescription(String description)
The
Function description. |
FunctionConfiguration |
withFunctionArn(String functionArn)
The ARN of the
Function object. |
FunctionConfiguration |
withFunctionId(String functionId)
A unique ID representing the
Function object. |
FunctionConfiguration |
withFunctionVersion(String functionVersion)
The version of the request mapping template.
|
FunctionConfiguration |
withName(String name)
The name of the
Function object. |
FunctionConfiguration |
withRequestMappingTemplate(String requestMappingTemplate)
The
Function request mapping template. |
FunctionConfiguration |
withResponseMappingTemplate(String responseMappingTemplate)
The
Function response 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 Object
Object.toString()
public FunctionConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2020. All rights reserved.