@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 |
dataSourceName()
The
Function DataSource name. |
String |
description()
The
Function description. |
boolean |
equals(Object obj) |
String |
functionVersion()
The
version of the request mapping template. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest. |
int |
hashCode() |
String |
name()
The
Function name. |
String |
requestMappingTemplate()
The
Function request mapping template. |
String |
responseMappingTemplate()
The
Function response mapping template. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateFunctionRequest.Builder> |
serializableBuilderClass() |
CreateFunctionRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfigurationcopypublic String apiId()
The GraphQL API ID.
public 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 String description()
The Function description.
Function description.public String dataSourceName()
The Function DataSource name.
Function DataSource name.public 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 String responseMappingTemplate()
The Function response mapping template.
Function response mapping template.public String functionVersion()
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.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<CreateFunctionRequest.Builder,CreateFunctionRequest>toBuilder in class AppSyncRequestpublic static CreateFunctionRequest.Builder builder()
public static Class<? extends CreateFunctionRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequestSdkRequest. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class) method will
again be available.getValueForField in class SdkRequestfieldName - The name of the member to be retrieved.clazz - The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.