@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateFunctionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateFunctionRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateFunctionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getApiId()
The GraphQL API ID.
|
String |
getCode()
The
function code that contains the request and response functions. |
String |
getDataSourceName()
The
Function DataSource name. |
String |
getDescription()
The
Function description. |
String |
getFunctionId()
The function ID.
|
String |
getFunctionVersion()
The
version of the request mapping template. |
Integer |
getMaxBatchSize()
The maximum batching size for a resolver.
|
String |
getName()
The
Function name. |
String |
getRequestMappingTemplate()
The
Function request mapping template. |
String |
getResponseMappingTemplate()
The
Function request mapping template. |
AppSyncRuntime |
getRuntime() |
SyncConfig |
getSyncConfig() |
int |
hashCode() |
void |
setApiId(String apiId)
The GraphQL API ID.
|
void |
setCode(String code)
The
function code that contains the request and response functions. |
void |
setDataSourceName(String dataSourceName)
The
Function DataSource name. |
void |
setDescription(String description)
The
Function description. |
void |
setFunctionId(String functionId)
The function ID.
|
void |
setFunctionVersion(String functionVersion)
The
version of the request mapping template. |
void |
setMaxBatchSize(Integer maxBatchSize)
The maximum batching size for a resolver.
|
void |
setName(String name)
The
Function name. |
void |
setRequestMappingTemplate(String requestMappingTemplate)
The
Function request mapping template. |
void |
setResponseMappingTemplate(String responseMappingTemplate)
The
Function request mapping template. |
void |
setRuntime(AppSyncRuntime runtime) |
void |
setSyncConfig(SyncConfig syncConfig) |
String |
toString()
Returns a string representation of this object.
|
UpdateFunctionRequest |
withApiId(String apiId)
The GraphQL API ID.
|
UpdateFunctionRequest |
withCode(String code)
The
function code that contains the request and response functions. |
UpdateFunctionRequest |
withDataSourceName(String dataSourceName)
The
Function DataSource name. |
UpdateFunctionRequest |
withDescription(String description)
The
Function description. |
UpdateFunctionRequest |
withFunctionId(String functionId)
The function ID.
|
UpdateFunctionRequest |
withFunctionVersion(String functionVersion)
The
version of the request mapping template. |
UpdateFunctionRequest |
withMaxBatchSize(Integer maxBatchSize)
The maximum batching size for a resolver.
|
UpdateFunctionRequest |
withName(String name)
The
Function name. |
UpdateFunctionRequest |
withRequestMappingTemplate(String requestMappingTemplate)
The
Function request mapping template. |
UpdateFunctionRequest |
withResponseMappingTemplate(String responseMappingTemplate)
The
Function request mapping template. |
UpdateFunctionRequest |
withRuntime(AppSyncRuntime runtime) |
UpdateFunctionRequest |
withSyncConfig(SyncConfig syncConfig) |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setApiId(String apiId)
The GraphQL API ID.
apiId
- The GraphQL API ID.public String getApiId()
The GraphQL API ID.
public UpdateFunctionRequest withApiId(String apiId)
The GraphQL API ID.
apiId
- The GraphQL API ID.public void setName(String name)
The Function
name.
name
- The Function
name.public String getName()
The Function
name.
Function
name.public UpdateFunctionRequest withName(String name)
The Function
name.
name
- The Function
name.public void setDescription(String description)
The Function
description.
description
- The Function
description.public String getDescription()
The Function
description.
Function
description.public UpdateFunctionRequest withDescription(String description)
The Function
description.
description
- The Function
description.public void setFunctionId(String functionId)
The function ID.
functionId
- The function ID.public String getFunctionId()
The function ID.
public UpdateFunctionRequest withFunctionId(String functionId)
The function ID.
functionId
- The function ID.public void setDataSourceName(String dataSourceName)
The Function
DataSource
name.
dataSourceName
- The Function
DataSource
name.public String getDataSourceName()
The Function
DataSource
name.
Function
DataSource
name.public UpdateFunctionRequest withDataSourceName(String dataSourceName)
The Function
DataSource
name.
dataSourceName
- The Function
DataSource
name.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 UpdateFunctionRequest 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
request mapping template.
responseMappingTemplate
- The Function
request mapping template.public String getResponseMappingTemplate()
The Function
request mapping template.
Function
request mapping template.public UpdateFunctionRequest withResponseMappingTemplate(String responseMappingTemplate)
The Function
request mapping template.
responseMappingTemplate
- The Function
request mapping template.public void setFunctionVersion(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.
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.public String getFunctionVersion()
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 UpdateFunctionRequest withFunctionVersion(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.
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.public void setSyncConfig(SyncConfig syncConfig)
syncConfig
- public SyncConfig getSyncConfig()
public UpdateFunctionRequest withSyncConfig(SyncConfig syncConfig)
syncConfig
- public void setMaxBatchSize(Integer maxBatchSize)
The maximum batching size for a resolver.
maxBatchSize
- The maximum batching size for a resolver.public Integer getMaxBatchSize()
The maximum batching size for a resolver.
public UpdateFunctionRequest withMaxBatchSize(Integer maxBatchSize)
The maximum batching size for a resolver.
maxBatchSize
- The maximum batching size for a resolver.public void setRuntime(AppSyncRuntime runtime)
runtime
- public AppSyncRuntime getRuntime()
public UpdateFunctionRequest withRuntime(AppSyncRuntime runtime)
runtime
- public void setCode(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
.
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
.public String getCode()
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 UpdateFunctionRequest withCode(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
.
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
.public String toString()
toString
in class Object
Object.toString()
public UpdateFunctionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()