public class CreateFunctionVersionResponse extends SdkResponse
| Modifier and Type | Class and Description |
|---|---|
static class |
CreateFunctionVersionResponse.CodeTypeEnum
函数代码类型,取值有4种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。
|
static class |
CreateFunctionVersionResponse.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版本。
|
static class |
CreateFunctionVersionResponse.TypeEnum
v2表示为公测版本,v1为原来版本。
|
| Constructor and Description |
|---|
CreateFunctionVersionResponse() |
getHttpStatusCode, setHttpStatusCodepublic CreateFunctionVersionResponse withFuncUrn(String funcUrn)
public String getFuncUrn()
public void setFuncUrn(String funcUrn)
public CreateFunctionVersionResponse withFuncName(String funcName)
public String getFuncName()
public void setFuncName(String funcName)
public CreateFunctionVersionResponse withDomainId(String domainId)
public String getDomainId()
public void setDomainId(String domainId)
public CreateFunctionVersionResponse withNamespace(String namespace)
public String getNamespace()
public void setNamespace(String namespace)
public CreateFunctionVersionResponse withProjectName(String projectName)
public String getProjectName()
public void setProjectName(String projectName)
public CreateFunctionVersionResponse withPackage(String _package)
public String getPackage()
public void setPackage(String _package)
public CreateFunctionVersionResponse withRuntime(CreateFunctionVersionResponse.RuntimeEnum runtime)
public CreateFunctionVersionResponse.RuntimeEnum getRuntime()
public void setRuntime(CreateFunctionVersionResponse.RuntimeEnum runtime)
public CreateFunctionVersionResponse withTimeout(Integer timeout)
public Integer getTimeout()
public void setTimeout(Integer timeout)
public CreateFunctionVersionResponse withHandler(String handler)
public String getHandler()
public void setHandler(String handler)
public CreateFunctionVersionResponse withMemorySize(Integer memorySize)
public Integer getMemorySize()
public void setMemorySize(Integer memorySize)
public CreateFunctionVersionResponse withCpu(Integer cpu)
public Integer getCpu()
public void setCpu(Integer cpu)
public CreateFunctionVersionResponse withCodeType(CreateFunctionVersionResponse.CodeTypeEnum codeType)
public CreateFunctionVersionResponse.CodeTypeEnum getCodeType()
public void setCodeType(CreateFunctionVersionResponse.CodeTypeEnum codeType)
public CreateFunctionVersionResponse withCodeUrl(String codeUrl)
public String getCodeUrl()
public void setCodeUrl(String codeUrl)
public CreateFunctionVersionResponse withCodeFilename(String codeFilename)
public String getCodeFilename()
public void setCodeFilename(String codeFilename)
public CreateFunctionVersionResponse withCodeSize(Long codeSize)
public Long getCodeSize()
public void setCodeSize(Long codeSize)
public CreateFunctionVersionResponse withUserData(String userData)
public String getUserData()
public void setUserData(String userData)
public CreateFunctionVersionResponse withEncryptedUserData(String encryptedUserData)
public String getEncryptedUserData()
public void setEncryptedUserData(String encryptedUserData)
public CreateFunctionVersionResponse withDigest(String digest)
public String getDigest()
public void setDigest(String digest)
public CreateFunctionVersionResponse withVersion(String version)
public String getVersion()
public void setVersion(String version)
public CreateFunctionVersionResponse withImageName(String imageName)
public String getImageName()
public void setImageName(String imageName)
public CreateFunctionVersionResponse withXrole(String xrole)
public String getXrole()
public void setXrole(String xrole)
public CreateFunctionVersionResponse withAppXrole(String appXrole)
public String getAppXrole()
public void setAppXrole(String appXrole)
public CreateFunctionVersionResponse withDescription(String description)
public String getDescription()
public void setDescription(String description)
public CreateFunctionVersionResponse withVersionDescription(String versionDescription)
public String getVersionDescription()
public void setVersionDescription(String versionDescription)
public CreateFunctionVersionResponse withLastModified(java.time.OffsetDateTime lastModified)
public java.time.OffsetDateTime getLastModified()
public void setLastModified(java.time.OffsetDateTime lastModified)
public CreateFunctionVersionResponse withFuncVpc(FuncVpc funcVpc)
public CreateFunctionVersionResponse withFuncVpc(java.util.function.Consumer<FuncVpc> funcVpcSetter)
public FuncVpc getFuncVpc()
public void setFuncVpc(FuncVpc funcVpc)
public CreateFunctionVersionResponse withMountConfig(MountConfig mountConfig)
public CreateFunctionVersionResponse withMountConfig(java.util.function.Consumer<MountConfig> mountConfigSetter)
public MountConfig getMountConfig()
public void setMountConfig(MountConfig mountConfig)
public CreateFunctionVersionResponse withDependList(List<String> dependList)
public CreateFunctionVersionResponse addDependListItem(String dependListItem)
public CreateFunctionVersionResponse withDependList(java.util.function.Consumer<List<String>> dependListSetter)
public CreateFunctionVersionResponse withStrategyConfig(StrategyConfig strategyConfig)
public CreateFunctionVersionResponse withStrategyConfig(java.util.function.Consumer<StrategyConfig> strategyConfigSetter)
public StrategyConfig getStrategyConfig()
public void setStrategyConfig(StrategyConfig strategyConfig)
public CreateFunctionVersionResponse withExtendConfig(String extendConfig)
public String getExtendConfig()
public void setExtendConfig(String extendConfig)
public CreateFunctionVersionResponse withDependencies(List<Dependency> dependencies)
public CreateFunctionVersionResponse addDependenciesItem(Dependency dependenciesItem)
public CreateFunctionVersionResponse withDependencies(java.util.function.Consumer<List<Dependency>> dependenciesSetter)
public List<Dependency> getDependencies()
public void setDependencies(List<Dependency> dependencies)
public CreateFunctionVersionResponse withInitializerHandler(String initializerHandler)
public String getInitializerHandler()
public void setInitializerHandler(String initializerHandler)
public CreateFunctionVersionResponse withInitializerTimeout(Integer initializerTimeout)
public Integer getInitializerTimeout()
public void setInitializerTimeout(Integer initializerTimeout)
public CreateFunctionVersionResponse withEnterpriseProjectId(String enterpriseProjectId)
public String getEnterpriseProjectId()
public void setEnterpriseProjectId(String enterpriseProjectId)
public CreateFunctionVersionResponse withLongTime(Boolean longTime)
public Boolean getLongTime()
public void setLongTime(Boolean longTime)
public CreateFunctionVersionResponse withLogGroupId(String logGroupId)
public String getLogGroupId()
public void setLogGroupId(String logGroupId)
public CreateFunctionVersionResponse withLogStreamId(String logStreamId)
public String getLogStreamId()
public void setLogStreamId(String logStreamId)
public CreateFunctionVersionResponse withType(CreateFunctionVersionResponse.TypeEnum type)
public CreateFunctionVersionResponse.TypeEnum getType()
public void setType(CreateFunctionVersionResponse.TypeEnum type)
Copyright © 2021. All rights reserved.