public class UpdateFunctionConfigurationRequest extends AbstractModel
Constructor and Description |
---|
UpdateFunctionConfigurationRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getClsLogsetId()
Get CLS logset ID to which logs are shipped
|
String |
getClsTopicId()
Get CLS Topic ID to which logs are shipped
|
DeadLetterConfig |
getDeadLetterConfig()
Get Information of a dead letter queue associated with a function
|
String |
getDescription()
Get Function description.
|
Environment |
getEnvironment()
Get Function environment variable
|
String |
getFunctionName()
Get Name of the function to be modified
|
String |
getL5Enable()
Get Whether to enable L5 access.
|
LayerVersionSimple[] |
getLayers()
Get List of layer versions with which a function will be associated.
|
Long |
getMemorySize()
Get Memory size when the function is running.
|
String |
getNamespace()
Get Function namespace
|
String |
getOnsEnable()
Get
|
String |
getPublish()
Get It specifies whether to synchronously release a new version during the update.
|
String |
getRole()
Get Role bound to the function
|
String |
getRuntime()
Get Function running environment.
|
Long |
getTimeout()
Get The longest function running time.
|
VpcConfig |
getVpcConfig()
Get Function VPC configuration
|
void |
setClsLogsetId(String ClsLogsetId)
Set CLS logset ID to which logs are shipped
|
void |
setClsTopicId(String ClsTopicId)
Set CLS Topic ID to which logs are shipped
|
void |
setDeadLetterConfig(DeadLetterConfig DeadLetterConfig)
Set Information of a dead letter queue associated with a function
|
void |
setDescription(String Description)
Set Function description.
|
void |
setEnvironment(Environment Environment)
Set Function environment variable
|
void |
setFunctionName(String FunctionName)
Set Name of the function to be modified
|
void |
setL5Enable(String L5Enable)
Set Whether to enable L5 access.
|
void |
setLayers(LayerVersionSimple[] Layers)
Set List of layer versions with which a function will be associated.
|
void |
setMemorySize(Long MemorySize)
Set Memory size when the function is running.
|
void |
setNamespace(String Namespace)
Set Function namespace
|
void |
setOnsEnable(String OnsEnable)
Set
|
void |
setPublish(String Publish)
Set It specifies whether to synchronously release a new version during the update.
|
void |
setRole(String Role)
Set Role bound to the function
|
void |
setRuntime(String Runtime)
Set Function running environment.
|
void |
setTimeout(Long Timeout)
Set The longest function running time.
|
void |
setVpcConfig(VpcConfig VpcConfig)
Set Function VPC configuration
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public String getFunctionName()
public void setFunctionName(String FunctionName)
FunctionName
- Name of the function to be modifiedpublic String getDescription()
public void setDescription(String Description)
Description
- Function description. It can contain up to 1,000 characters, including letters, digits, spaces, commas (,), periods (.), and Chinese characters.public Long getMemorySize()
public void setMemorySize(Long MemorySize)
MemorySize
- Memory size when the function is running. The value ranges from 128 MB (default) to 1,536 MB.public Long getTimeout()
public void setTimeout(Long Timeout)
Timeout
- The longest function running time. The unit is second (s). The value ranges from 1 to 300 seconds. The default value is 3 seconds.public String getRuntime()
public void setRuntime(String Runtime)
Runtime
- Function running environment. Currently, only Python 2.7, Python 3.6, Nodejs 6.10, PHP 5, PHP 7, Golang 1, and Java 8 are supported.public Environment getEnvironment()
public void setEnvironment(Environment Environment)
Environment
- Function environment variablepublic String getNamespace()
public void setNamespace(String Namespace)
Namespace
- Function namespacepublic VpcConfig getVpcConfig()
public void setVpcConfig(VpcConfig VpcConfig)
VpcConfig
- Function VPC configurationpublic String getRole()
public void setRole(String Role)
Role
- Role bound to the functionpublic String getClsLogsetId()
public void setClsLogsetId(String ClsLogsetId)
ClsLogsetId
- CLS logset ID to which logs are shippedpublic String getClsTopicId()
public void setClsTopicId(String ClsTopicId)
ClsTopicId
- CLS Topic ID to which logs are shippedpublic String getPublish()
public void setPublish(String Publish)
Publish
- It specifies whether to synchronously release a new version during the update. The default value is `FALSE`, indicating not to release a new version.public String getL5Enable()
public void setL5Enable(String L5Enable)
L5Enable
- Whether to enable L5 access. TRUE: enable; FALSE: not enablepublic LayerVersionSimple[] getLayers()
public void setLayers(LayerVersionSimple[] Layers)
Layers
- List of layer versions with which a function will be associated. Layers will be overwritten sequentially in the order in the list.public DeadLetterConfig getDeadLetterConfig()
public void setDeadLetterConfig(DeadLetterConfig DeadLetterConfig)
DeadLetterConfig
- Information of a dead letter queue associated with a functionpublic String getOnsEnable()
public void setOnsEnable(String OnsEnable)
OnsEnable
- Copyright © 2020. All rights reserved.