public class CreateFunctionResponse extends SdkResponse
| Modifier and Type | Class and Description |
|---|---|
static class |
CreateFunctionResponse.CodeTypeEnum
函数代码类型,取值有4种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。
|
static class |
CreateFunctionResponse.RuntimeEnum
FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 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 |
|---|
CreateFunctionResponse() |
getHttpStatusCode, setHttpStatusCodepublic CreateFunctionResponse withFuncUrn(String funcUrn)
public String getFuncUrn()
public void setFuncUrn(String funcUrn)
public CreateFunctionResponse withFuncName(String funcName)
public String getFuncName()
public void setFuncName(String funcName)
public CreateFunctionResponse withDomainId(String domainId)
public String getDomainId()
public void setDomainId(String domainId)
public CreateFunctionResponse withNamespace(String namespace)
public String getNamespace()
public void setNamespace(String namespace)
public CreateFunctionResponse withProjectName(String projectName)
public String getProjectName()
public void setProjectName(String projectName)
public CreateFunctionResponse withPackage(String _package)
public String getPackage()
public void setPackage(String _package)
public CreateFunctionResponse withRuntime(CreateFunctionResponse.RuntimeEnum runtime)
public CreateFunctionResponse.RuntimeEnum getRuntime()
public void setRuntime(CreateFunctionResponse.RuntimeEnum runtime)
public CreateFunctionResponse withTimeout(Integer timeout)
public Integer getTimeout()
public void setTimeout(Integer timeout)
public CreateFunctionResponse withHandler(String handler)
public String getHandler()
public void setHandler(String handler)
public CreateFunctionResponse withMemorySize(Integer memorySize)
public Integer getMemorySize()
public void setMemorySize(Integer memorySize)
public CreateFunctionResponse withCpu(Integer cpu)
public Integer getCpu()
public void setCpu(Integer cpu)
public CreateFunctionResponse withCodeType(CreateFunctionResponse.CodeTypeEnum codeType)
public CreateFunctionResponse.CodeTypeEnum getCodeType()
public void setCodeType(CreateFunctionResponse.CodeTypeEnum codeType)
public CreateFunctionResponse withCodeUrl(String codeUrl)
public String getCodeUrl()
public void setCodeUrl(String codeUrl)
public CreateFunctionResponse withCodeFilename(String codeFilename)
public String getCodeFilename()
public void setCodeFilename(String codeFilename)
public CreateFunctionResponse withCodeSize(Long codeSize)
public Long getCodeSize()
public void setCodeSize(Long codeSize)
public CreateFunctionResponse withUserData(String userData)
public String getUserData()
public void setUserData(String userData)
public CreateFunctionResponse withEncryptedUserData(String encryptedUserData)
public String getEncryptedUserData()
public void setEncryptedUserData(String encryptedUserData)
public CreateFunctionResponse withDigest(String digest)
public String getDigest()
public void setDigest(String digest)
public CreateFunctionResponse withVersion(String version)
public String getVersion()
public void setVersion(String version)
public CreateFunctionResponse withImageName(String imageName)
public String getImageName()
public void setImageName(String imageName)
public CreateFunctionResponse withXrole(String xrole)
public String getXrole()
public void setXrole(String xrole)
public CreateFunctionResponse withAppXrole(String appXrole)
public String getAppXrole()
public void setAppXrole(String appXrole)
public CreateFunctionResponse withDescription(String description)
public String getDescription()
public void setDescription(String description)
public CreateFunctionResponse withLastModified(java.time.OffsetDateTime lastModified)
public java.time.OffsetDateTime getLastModified()
public void setLastModified(java.time.OffsetDateTime lastModified)
public CreateFunctionResponse withFuncVpc(FuncVpc funcVpc)
public CreateFunctionResponse withFuncVpc(java.util.function.Consumer<FuncVpc> funcVpcSetter)
public FuncVpc getFuncVpc()
public void setFuncVpc(FuncVpc funcVpc)
public CreateFunctionResponse withMountConfig(MountConfig mountConfig)
public CreateFunctionResponse withMountConfig(java.util.function.Consumer<MountConfig> mountConfigSetter)
public MountConfig getMountConfig()
public void setMountConfig(MountConfig mountConfig)
public CreateFunctionResponse withDependList(List<String> dependList)
public CreateFunctionResponse addDependListItem(String dependListItem)
public CreateFunctionResponse withDependList(java.util.function.Consumer<List<String>> dependListSetter)
public CreateFunctionResponse withStrategyConfig(StrategyConfig strategyConfig)
public CreateFunctionResponse withStrategyConfig(java.util.function.Consumer<StrategyConfig> strategyConfigSetter)
public StrategyConfig getStrategyConfig()
public void setStrategyConfig(StrategyConfig strategyConfig)
public CreateFunctionResponse withExtendConfig(String extendConfig)
public String getExtendConfig()
public void setExtendConfig(String extendConfig)
public CreateFunctionResponse withInitializerHandler(String initializerHandler)
public String getInitializerHandler()
public void setInitializerHandler(String initializerHandler)
public CreateFunctionResponse withInitializerTimeout(Integer initializerTimeout)
public Integer getInitializerTimeout()
public void setInitializerTimeout(Integer initializerTimeout)
public CreateFunctionResponse withEnterpriseProjectId(String enterpriseProjectId)
public String getEnterpriseProjectId()
public void setEnterpriseProjectId(String enterpriseProjectId)
Copyright © 2022. All rights reserved.