@Generated(value="software.amazon.awssdk:codegen") public final class CreateFunctionRequest extends AppSyncRequest implements ToCopyableBuilder<CreateFunctionRequest.Builder,CreateFunctionRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateFunctionRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
apiId()
The GraphQL API ID.
|
static CreateFunctionRequest.Builder |
builder() |
String |
code()
The
function code that contains the request and response functions. |
String |
dataSourceName()
The
Function DataSource name. |
String |
description()
The
Function description. |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
functionVersion()
The
version of the request mapping template. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
maxBatchSize()
The maximum batching size for a resolver.
|
String |
name()
The
Function name. |
String |
requestMappingTemplate()
The
Function request mapping template. |
String |
responseMappingTemplate()
The
Function response mapping template. |
AppSyncRuntime |
runtime()
Returns the value of the Runtime property for this object.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateFunctionRequest.Builder> |
serializableBuilderClass() |
SyncConfig |
syncConfig()
Returns the value of the SyncConfig property for this object.
|
CreateFunctionRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String apiId()
The GraphQL API ID.
public final String name()
The Function name. The function name does not have to be unique.
Function name. The function name does not have to be unique.public final String description()
The Function description.
Function description.public final String dataSourceName()
The Function DataSource name.
Function DataSource name.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, the supported value is 2018-05-29. Note that
when using VTL and mapping templates, the functionVersion is required.
version of the request mapping template. Currently, the supported value is 2018-05-29.
Note that when using VTL and mapping templates, the functionVersion is required.public final SyncConfig syncConfig()
public final Integer maxBatchSize()
The maximum batching size for a resolver.
public final AppSyncRuntime runtime()
public final String code()
The function code that contains the request and response functions. When code is used, the
runtime is required. The runtime value must be APPSYNC_JS.
function code that contains the request and response functions. When code is used, the
runtime is required. The runtime value must be APPSYNC_JS.public CreateFunctionRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateFunctionRequest.Builder,CreateFunctionRequest>toBuilder in class AppSyncRequestpublic static CreateFunctionRequest.Builder builder()
public static Class<? extends CreateFunctionRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.