public class ModifyImageAttributeRequest extends AbstractModel
Constructor and Description |
---|
ModifyImageAttributeRequest() |
ModifyImageAttributeRequest(ModifyImageAttributeRequest 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 |
getImageDescription()
Get 设置新的镜像描述;必须满足下列限制:
不得超过60个字符。 |
String |
getImageId()
Get 镜像ID,形如`img-gvbnzy6f`。镜像ID可以通过如下方式获取:
通过[DescribeImages](https://cloud.tencent.com/document/api/213/15715)接口返回的`ImageId`获取。 通过[镜像控制台](https://console.cloud.tencent.com/cvm/image)获取。 |
String |
getImageName()
Get 设置新的镜像名称;必须满足下列限制:
不得超过20个字符。 镜像名称不能与已有镜像重复。 |
void |
setImageDescription(String ImageDescription)
Set 设置新的镜像描述;必须满足下列限制:
不得超过60个字符。 |
void |
setImageId(String ImageId)
Set 镜像ID,形如`img-gvbnzy6f`。镜像ID可以通过如下方式获取:
通过[DescribeImages](https://cloud.tencent.com/document/api/213/15715)接口返回的`ImageId`获取。 通过[镜像控制台](https://console.cloud.tencent.com/cvm/image)获取。 |
void |
setImageName(String ImageName)
Set 设置新的镜像名称;必须满足下列限制:
不得超过20个字符。 镜像名称不能与已有镜像重复。 |
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 ModifyImageAttributeRequest()
public ModifyImageAttributeRequest(ModifyImageAttributeRequest source)
public String getImageId()
public void setImageId(String ImageId)
ImageId
- 镜像ID,形如`img-gvbnzy6f`。镜像ID可以通过如下方式获取:public String getImageName()
public void setImageName(String ImageName)
ImageName
- 设置新的镜像名称;必须满足下列限制:public String getImageDescription()
public void setImageDescription(String ImageDescription)
ImageDescription
- 设置新的镜像描述;必须满足下列限制:Copyright © 2022. All rights reserved.