public class UpdateFunctionConfigurationRequest extends AbstractModel
Constructor and Description |
---|
UpdateFunctionConfigurationRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
获取函数描述。最大支持 1000 个英文字母、数字、空格、逗号和英文句号,支持中文
|
Environment |
getEnvironment()
获取函数的环境变量
|
String |
getFunctionName()
获取要修改的函数名称
|
Integer |
getMemorySize()
获取函数运行时内存大小,默认为 128 M,可选范 128 M-1536 M
|
String |
getRuntime()
获取函数运行环境,目前仅支持 Python2.7,Python3.6,Nodejs6.10,PHP5, PHP7,Golang1 和 Java8
|
Integer |
getTimeout()
获取函数最长执行时间,单位为秒,可选值范 1-300 秒,默认为 3 秒
|
VpcConfig |
getVpcConfig()
获取函数的私有网络配置
|
void |
setDescription(String Description)
设置函数描述。最大支持 1000 个英文字母、数字、空格、逗号和英文句号,支持中文
|
void |
setEnvironment(Environment Environment)
设置函数的环境变量
|
void |
setFunctionName(String FunctionName)
设置要修改的函数名称
|
void |
setMemorySize(Integer MemorySize)
设置函数运行时内存大小,默认为 128 M,可选范 128 M-1536 M
|
void |
setRuntime(String Runtime)
设置函数运行环境,目前仅支持 Python2.7,Python3.6,Nodejs6.10,PHP5, PHP7,Golang1 和 Java8
|
void |
setTimeout(Integer Timeout)
设置函数最长执行时间,单位为秒,可选值范 1-300 秒,默认为 3 秒
|
void |
setVpcConfig(VpcConfig VpcConfig)
设置函数的私有网络配置
|
void |
toMap(HashMap<String,String> map,
String prefix)
内部实现,用户禁止调用
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public String getFunctionName()
public void setFunctionName(String FunctionName)
FunctionName
- 要修改的函数名称public String getDescription()
public void setDescription(String Description)
Description
- 函数描述。最大支持 1000 个英文字母、数字、空格、逗号和英文句号,支持中文public Integer getMemorySize()
public void setMemorySize(Integer MemorySize)
MemorySize
- 函数运行时内存大小,默认为 128 M,可选范 128 M-1536 Mpublic Integer getTimeout()
public void setTimeout(Integer Timeout)
Timeout
- 函数最长执行时间,单位为秒,可选值范 1-300 秒,默认为 3 秒public String getRuntime()
public void setRuntime(String Runtime)
Runtime
- 函数运行环境,目前仅支持 Python2.7,Python3.6,Nodejs6.10,PHP5, PHP7,Golang1 和 Java8public Environment getEnvironment()
public void setEnvironment(Environment Environment)
Environment
- 函数的环境变量public VpcConfig getVpcConfig()
public void setVpcConfig(VpcConfig VpcConfig)
VpcConfig
- 函数的私有网络配置Copyright © 2019. All rights reserved.