@Generated(value="software.amazon.awssdk:codegen") public final class FunctionConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FunctionConfiguration.Builder,FunctionConfiguration>
A function is a reusable entity. Multiple functions can be used to compose the resolver logic.
Modifier and Type | Class and Description |
---|---|
static interface |
FunctionConfiguration.Builder |
Modifier and Type | Method and Description |
---|---|
static FunctionConfiguration.Builder |
builder() |
String |
dataSourceName()
The name of the
DataSource . |
String |
description()
The
Function description. |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
String |
functionArn()
The ARN of the
Function object. |
String |
functionId()
A unique ID representing the
Function object. |
String |
functionVersion()
The version of the request mapping template.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the
Function object. |
String |
requestMappingTemplate()
The
Function request mapping template. |
String |
responseMappingTemplate()
The
Function response mapping template. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends FunctionConfiguration.Builder> |
serializableBuilderClass() |
FunctionConfiguration.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
copy
public final String functionId()
A unique ID representing the Function
object.
Function
object.public final String functionArn()
The ARN of the Function
object.
Function
object.public final String name()
The name of the Function
object.
Function
object.public final String description()
The Function
description.
Function
description.public final String dataSourceName()
The name of the DataSource
.
DataSource
.public final String requestMappingTemplate()
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 final String responseMappingTemplate()
The Function
response mapping template.
Function
response mapping template.public final String functionVersion()
The version of the request mapping template. Currently only the 2018-05-29 version of the template is supported.
public FunctionConfiguration.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<FunctionConfiguration.Builder,FunctionConfiguration>
public static FunctionConfiguration.Builder builder()
public static Class<? extends FunctionConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.