public class PublishLayerVersionRequest extends AbstractModel
Constructor and Description |
---|
PublishLayerVersionRequest() |
PublishLayerVersionRequest(PublishLayerVersionRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String[] |
getCompatibleRuntimes()
Get 层适用的运行时,可多选,可选的值对应函数的 Runtime 可选值。
|
Code |
getContent()
Get 层的文件来源或文件内容
|
String |
getDescription()
Get 层的版本的描述
|
String |
getLayerName()
Get 层名称,支持26个英文字母大小写、数字、连接符和下划线,第一个字符只能以字母开头,最后一个字符不能为连接符或者下划线,名称长度1-64
|
String |
getLicenseInfo()
Get 层的软件许可证
|
void |
setCompatibleRuntimes(String[] CompatibleRuntimes)
Set 层适用的运行时,可多选,可选的值对应函数的 Runtime 可选值。
|
void |
setContent(Code Content)
Set 层的文件来源或文件内容
|
void |
setDescription(String Description)
Set 层的版本的描述
|
void |
setLayerName(String LayerName)
Set 层名称,支持26个英文字母大小写、数字、连接符和下划线,第一个字符只能以字母开头,最后一个字符不能为连接符或者下划线,名称长度1-64
|
void |
setLicenseInfo(String LicenseInfo)
Set 层的软件许可证
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public PublishLayerVersionRequest()
public PublishLayerVersionRequest(PublishLayerVersionRequest source)
public String getLayerName()
public void setLayerName(String LayerName)
LayerName
- 层名称,支持26个英文字母大小写、数字、连接符和下划线,第一个字符只能以字母开头,最后一个字符不能为连接符或者下划线,名称长度1-64public String[] getCompatibleRuntimes()
public void setCompatibleRuntimes(String[] CompatibleRuntimes)
CompatibleRuntimes
- 层适用的运行时,可多选,可选的值对应函数的 Runtime 可选值。public Code getContent()
public void setContent(Code Content)
Content
- 层的文件来源或文件内容public String getDescription()
public void setDescription(String Description)
Description
- 层的版本的描述public String getLicenseInfo()
public void setLicenseInfo(String LicenseInfo)
LicenseInfo
- 层的软件许可证Copyright © 2022. All rights reserved.