public class ShowFunctionCodeResponse extends SdkResponse
| Modifier and Type | Class and Description |
|---|---|
static class |
ShowFunctionCodeResponse.CodeTypeEnum
函数代码类型,取值有4种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。
|
static class |
ShowFunctionCodeResponse.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 |
|---|
ShowFunctionCodeResponse() |
getHttpStatusCode, setHttpStatusCodepublic ShowFunctionCodeResponse withFuncUrn(String funcUrn)
public String getFuncUrn()
public void setFuncUrn(String funcUrn)
public ShowFunctionCodeResponse withFuncName(String funcName)
public String getFuncName()
public void setFuncName(String funcName)
public ShowFunctionCodeResponse withDomainId(String domainId)
public String getDomainId()
public void setDomainId(String domainId)
public ShowFunctionCodeResponse withRuntime(ShowFunctionCodeResponse.RuntimeEnum runtime)
public ShowFunctionCodeResponse.RuntimeEnum getRuntime()
public void setRuntime(ShowFunctionCodeResponse.RuntimeEnum runtime)
public ShowFunctionCodeResponse withCodeType(ShowFunctionCodeResponse.CodeTypeEnum codeType)
public ShowFunctionCodeResponse.CodeTypeEnum getCodeType()
public void setCodeType(ShowFunctionCodeResponse.CodeTypeEnum codeType)
public ShowFunctionCodeResponse withCodeUrl(String codeUrl)
public String getCodeUrl()
public void setCodeUrl(String codeUrl)
public ShowFunctionCodeResponse withCodeFilename(String codeFilename)
public String getCodeFilename()
public void setCodeFilename(String codeFilename)
public ShowFunctionCodeResponse withCodeSize(Long codeSize)
public Long getCodeSize()
public void setCodeSize(Long codeSize)
public ShowFunctionCodeResponse withDigest(String digest)
public String getDigest()
public void setDigest(String digest)
public ShowFunctionCodeResponse withLastModified(java.time.OffsetDateTime lastModified)
public java.time.OffsetDateTime getLastModified()
public void setLastModified(java.time.OffsetDateTime lastModified)
public ShowFunctionCodeResponse withFuncCode(FuncCode funcCode)
public ShowFunctionCodeResponse withFuncCode(java.util.function.Consumer<FuncCode> funcCodeSetter)
public FuncCode getFuncCode()
public void setFuncCode(FuncCode funcCode)
public ShowFunctionCodeResponse withDependList(List<String> dependList)
public ShowFunctionCodeResponse addDependListItem(String dependListItem)
public ShowFunctionCodeResponse withDependList(java.util.function.Consumer<List<String>> dependListSetter)
public ShowFunctionCodeResponse withStrategyConfig(StrategyConfig strategyConfig)
public ShowFunctionCodeResponse withStrategyConfig(java.util.function.Consumer<StrategyConfig> strategyConfigSetter)
public StrategyConfig getStrategyConfig()
public void setStrategyConfig(StrategyConfig strategyConfig)
public ShowFunctionCodeResponse withDependencies(List<Dependency> dependencies)
public ShowFunctionCodeResponse addDependenciesItem(Dependency dependenciesItem)
public ShowFunctionCodeResponse withDependencies(java.util.function.Consumer<List<Dependency>> dependenciesSetter)
public List<Dependency> getDependencies()
public void setDependencies(List<Dependency> dependencies)
Copyright © 2021. All rights reserved.