Class UpdateDependencyRequestBody
- java.lang.Object
-
- com.huaweicloud.sdk.functiongraph.v2.model.UpdateDependencyRequestBody
-
public class UpdateDependencyRequestBody extends Object
UpdateDependencyRequestBody
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUpdateDependencyRequestBody.RuntimeEnum运行时语言, Java11、Nodejs14:、Python3:在type为v2时支持。
-
Constructor Summary
Constructors Constructor Description UpdateDependencyRequestBody()
-
Method Summary
-
-
-
Method Detail
-
withDependFile
public UpdateDependencyRequestBody withDependFile(String dependFile)
-
getDependFile
public String getDependFile()
depend_type为zip类型时必填,为文件流格式,需要base64编码zip文件。- Returns:
- dependFile
-
setDependFile
public void setDependFile(String dependFile)
-
withDependLink
public UpdateDependencyRequestBody withDependLink(String dependLink)
-
getDependLink
public String getDependLink()
depend_type为obs类型时,依赖包在obs的存储地址。- Returns:
- dependLink
-
setDependLink
public void setDependLink(String dependLink)
-
withDependType
public UpdateDependencyRequestBody withDependType(String dependType)
-
getDependType
public String getDependType()
导入类型,目前支持obs和zip。- Returns:
- dependType
-
setDependType
public void setDependType(String dependType)
-
withRuntime
public UpdateDependencyRequestBody withRuntime(UpdateDependencyRequestBody.RuntimeEnum runtime)
-
getRuntime
public UpdateDependencyRequestBody.RuntimeEnum getRuntime()
运行时语言, Java11、Nodejs14:、Python3:在type为v2时支持。- Returns:
- runtime
-
setRuntime
public void setRuntime(UpdateDependencyRequestBody.RuntimeEnum runtime)
-
withName
public UpdateDependencyRequestBody withName(String name)
-
getName
public String getName()
依赖包名称。必须以大、小写字母开头,以字母或数字结尾,只能由字母、数字、下划线、点和中划线组成,长度不超过96个字符。- Returns:
- name
-
setName
public void setName(String name)
-
withDescription
public UpdateDependencyRequestBody withDescription(String description)
-
getDescription
public String getDescription()
依赖包描述,不超过512个字符。- Returns:
- description
-
setDescription
public void setDescription(String description)
-
-