public class UpdateFunctionCodeResponse extends SdkResponse
| Modifier and Type | Class and Description |
|---|---|
static class |
UpdateFunctionCodeResponse.CodeTypeEnum
函数代码类型,取值有4种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。
|
static class |
UpdateFunctionCodeResponse.RuntimeEnum
FunctionGraph函数的执行环境 支持Node.js6.10、Python2.7、Python3.6、Java8、Go1.8、Node.js 8.10、C#.NET Core 2.0、C#.NET Core
2.1、PHP7.3。 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Go1.8: Go语言1.8版本。 Java8: Java语言8版本。 Node.js6.10:
Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET
Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。
|
| Constructor and Description |
|---|
UpdateFunctionCodeResponse() |
getHttpStatusCode, setHttpStatusCodepublic UpdateFunctionCodeResponse withFuncUrn(String funcUrn)
public String getFuncUrn()
public void setFuncUrn(String funcUrn)
public UpdateFunctionCodeResponse withFuncName(String funcName)
public String getFuncName()
public void setFuncName(String funcName)
public UpdateFunctionCodeResponse withDomainId(String domainId)
public String getDomainId()
public void setDomainId(String domainId)
public UpdateFunctionCodeResponse withRuntime(UpdateFunctionCodeResponse.RuntimeEnum runtime)
public UpdateFunctionCodeResponse.RuntimeEnum getRuntime()
public void setRuntime(UpdateFunctionCodeResponse.RuntimeEnum runtime)
public UpdateFunctionCodeResponse withCodeType(UpdateFunctionCodeResponse.CodeTypeEnum codeType)
public UpdateFunctionCodeResponse.CodeTypeEnum getCodeType()
public void setCodeType(UpdateFunctionCodeResponse.CodeTypeEnum codeType)
public UpdateFunctionCodeResponse withCodeUrl(String codeUrl)
public String getCodeUrl()
public void setCodeUrl(String codeUrl)
public UpdateFunctionCodeResponse withCodeFilename(String codeFilename)
public String getCodeFilename()
public void setCodeFilename(String codeFilename)
public UpdateFunctionCodeResponse withCodeSize(Long codeSize)
public Long getCodeSize()
public void setCodeSize(Long codeSize)
public UpdateFunctionCodeResponse withDigest(String digest)
public String getDigest()
public void setDigest(String digest)
public UpdateFunctionCodeResponse withLastModified(java.time.OffsetDateTime lastModified)
public java.time.OffsetDateTime getLastModified()
public void setLastModified(java.time.OffsetDateTime lastModified)
public UpdateFunctionCodeResponse withFuncCode(FuncCode funcCode)
public UpdateFunctionCodeResponse withFuncCode(java.util.function.Consumer<FuncCode> funcCodeSetter)
public FuncCode getFuncCode()
public void setFuncCode(FuncCode funcCode)
public UpdateFunctionCodeResponse withDependList(List<String> dependList)
public UpdateFunctionCodeResponse addDependListItem(String dependListItem)
public UpdateFunctionCodeResponse withDependList(java.util.function.Consumer<List<String>> dependListSetter)
public UpdateFunctionCodeResponse withStrategyConfig(StrategyConfig strategyConfig)
public UpdateFunctionCodeResponse withStrategyConfig(java.util.function.Consumer<StrategyConfig> strategyConfigSetter)
public StrategyConfig getStrategyConfig()
public void setStrategyConfig(StrategyConfig strategyConfig)
public UpdateFunctionCodeResponse withDependencies(List<Dependency> dependencies)
public UpdateFunctionCodeResponse addDependenciesItem(Dependency dependenciesItem)
public UpdateFunctionCodeResponse withDependencies(java.util.function.Consumer<List<Dependency>> dependenciesSetter)
public List<Dependency> getDependencies()
public void setDependencies(List<Dependency> dependencies)
Copyright © 2021. All rights reserved.