@Generated(value="software.amazon.awssdk:codegen") public final class UpdateFunctionRequest extends AppSyncRequest implements ToCopyableBuilder<UpdateFunctionRequest.Builder,UpdateFunctionRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
UpdateFunctionRequest.Builder |
Modifier and Type | Method and Description |
---|---|
String |
apiId()
The GraphQL API ID.
|
static UpdateFunctionRequest.Builder |
builder() |
String |
dataSourceName()
The
Function DataSource name. |
String |
description()
The
Function description. |
boolean |
equals(Object obj) |
String |
functionId()
The function ID.
|
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 request mapping template. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateFunctionRequest.Builder> |
serializableBuilderClass() |
UpdateFunctionRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String apiId()
The GraphQL API ID.
public String name()
The Function
name.
Function
name.public String description()
The Function
description.
Function
description.public String functionId()
The function ID.
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
request mapping template.
Function
request 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 UpdateFunctionRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<UpdateFunctionRequest.Builder,UpdateFunctionRequest>
toBuilder
in class AppSyncRequest
public static UpdateFunctionRequest.Builder builder()
public static Class<? extends UpdateFunctionRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. 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 SdkRequest
fieldName
- 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.