Class Dependency
- java.lang.Object
-
- com.huaweicloud.sdk.functiongraph.v2.model.Dependency
-
public class Dependency extends Object
函数依赖包结构。
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDependency.RuntimeEnumFunctionGraph函数的执行环境 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版本。 http: HTTP函数。
-
Constructor Summary
Constructors Constructor Description Dependency()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetDescription()依赖包描述。StringgetEtag()依赖包的md5值StringgetFileName()依赖包文件名,如果创建方式为zip时。StringgetLink()依赖包在OBS上的链接。StringgetName()依赖包名称。StringgetOwner()依赖包属主的domainId。Dependency.RuntimeEnumgetRuntime()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版本。 http: HTTP函数。LonggetSize()依赖包大小。inthashCode()voidsetDescription(String description)voidsetEtag(String etag)voidsetFileName(String fileName)voidsetLink(String link)voidsetName(String name)voidsetOwner(String owner)voidsetRuntime(Dependency.RuntimeEnum runtime)voidsetSize(Long size)StringtoString()DependencywithDescription(String description)DependencywithEtag(String etag)DependencywithFileName(String fileName)DependencywithLink(String link)DependencywithName(String name)DependencywithOwner(String owner)DependencywithRuntime(Dependency.RuntimeEnum runtime)DependencywithSize(Long size)
-
-
-
Method Detail
-
withOwner
public Dependency withOwner(String owner)
-
getOwner
public String getOwner()
依赖包属主的domainId。- Returns:
- owner
-
setOwner
public void setOwner(String owner)
-
withLink
public Dependency withLink(String link)
-
getLink
public String getLink()
依赖包在OBS上的链接。- Returns:
- link
-
setLink
public void setLink(String link)
-
withRuntime
public Dependency withRuntime(Dependency.RuntimeEnum runtime)
-
getRuntime
public Dependency.RuntimeEnum getRuntime()
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版本。 http: HTTP函数。- Returns:
- runtime
-
setRuntime
public void setRuntime(Dependency.RuntimeEnum runtime)
-
withEtag
public Dependency withEtag(String etag)
-
getEtag
public String getEtag()
依赖包的md5值- Returns:
- etag
-
setEtag
public void setEtag(String etag)
-
withSize
public Dependency withSize(Long size)
-
getSize
public Long getSize()
依赖包大小。- Returns:
- size
-
setSize
public void setSize(Long size)
-
withName
public Dependency withName(String name)
-
getName
public String getName()
依赖包名称。- Returns:
- name
-
setName
public void setName(String name)
-
withDescription
public Dependency withDescription(String description)
-
getDescription
public String getDescription()
依赖包描述。- Returns:
- description
-
setDescription
public void setDescription(String description)
-
withFileName
public Dependency withFileName(String fileName)
-
getFileName
public String getFileName()
依赖包文件名,如果创建方式为zip时。- Returns:
- fileName
-
setFileName
public void setFileName(String fileName)
-
-