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 Runtimes compatible with layer.
|
Code |
getContent()
Get Layer file source or content
|
String |
getDescription()
Get Layer version description
|
String |
getLayerName()
Get Layer name, which can contain 1-64 English letters, digits, hyphens, and underscores, must begin with a letter, and cannot end with a hyphen or underscore
|
String |
getLicenseInfo()
Get Software license of layer
|
void |
setCompatibleRuntimes(String[] CompatibleRuntimes)
Set Runtimes compatible with layer.
|
void |
setContent(Code Content)
Set Layer file source or content
|
void |
setDescription(String Description)
Set Layer version description
|
void |
setLayerName(String LayerName)
Set Layer name, which can contain 1-64 English letters, digits, hyphens, and underscores, must begin with a letter, and cannot end with a hyphen or underscore
|
void |
setLicenseInfo(String LicenseInfo)
Set Software license of layer
|
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
- Layer name, which can contain 1-64 English letters, digits, hyphens, and underscores, must begin with a letter, and cannot end with a hyphen or underscorepublic String[] getCompatibleRuntimes()
public void setCompatibleRuntimes(String[] CompatibleRuntimes)
CompatibleRuntimes
- Runtimes compatible with layer. Multiple choices are allowed. The valid values of this parameter correspond to the valid values of the `Runtime` of the function.public Code getContent()
public void setContent(Code Content)
Content
- Layer file source or contentpublic String getDescription()
public void setDescription(String Description)
Description
- Layer version descriptionpublic String getLicenseInfo()
public void setLicenseInfo(String LicenseInfo)
LicenseInfo
- Software license of layerCopyright © 2023. All rights reserved.