Class ModifyImageAttributeRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cvm.v20170312.models.ModifyImageAttributeRequest
-
public class ModifyImageAttributeRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 设置新的镜像名称;必须满足下列限制:
不得超过60个字符。
镜像名称不能与已有镜像重复。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 设置新的镜像名称;必须满足下列限制:
不得超过60个字符。
镜像名称不能与已有镜像重复。void
toMap(HashMap<String,String> map, String prefix)
Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
ModifyImageAttributeRequest
public ModifyImageAttributeRequest()
-
ModifyImageAttributeRequest
public 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.
-
-
Method Detail
-
getImageId
public String getImageId()
Get 镜像ID,形如`img-gvbnzy6f`。镜像ID可以通过如下方式获取:- 通过[DescribeImages](https://cloud.tencent.com/document/api/213/15715)接口返回的`ImageId`获取。
- 通过[镜像控制台](https://console.cloud.tencent.com/cvm/image)获取。
- Returns:
- ImageId 镜像ID,形如`img-gvbnzy6f`。镜像ID可以通过如下方式获取:
- 通过[DescribeImages](https://cloud.tencent.com/document/api/213/15715)接口返回的`ImageId`获取。
- 通过[镜像控制台](https://console.cloud.tencent.com/cvm/image)获取。
- 通过[DescribeImages](https://cloud.tencent.com/document/api/213/15715)接口返回的`ImageId`获取。
- 通过[DescribeImages](https://cloud.tencent.com/document/api/213/15715)接口返回的`ImageId`获取。
-
setImageId
public 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)获取。
- Parameters:
ImageId
- 镜像ID,形如`img-gvbnzy6f`。镜像ID可以通过如下方式获取:- 通过[DescribeImages](https://cloud.tencent.com/document/api/213/15715)接口返回的`ImageId`获取。
- 通过[镜像控制台](https://console.cloud.tencent.com/cvm/image)获取。
- 通过[DescribeImages](https://cloud.tencent.com/document/api/213/15715)接口返回的`ImageId`获取。
- 通过[DescribeImages](https://cloud.tencent.com/document/api/213/15715)接口返回的`ImageId`获取。
-
getImageName
public String getImageName()
Get 设置新的镜像名称;必须满足下列限制:
- 不得超过60个字符。
- 镜像名称不能与已有镜像重复。
- Returns:
- ImageName 设置新的镜像名称;必须满足下列限制:
- 不得超过60个字符。
- 镜像名称不能与已有镜像重复。
- 不得超过60个字符。
- 不得超过60个字符。
-
setImageName
public void setImageName(String ImageName)
Set 设置新的镜像名称;必须满足下列限制:
- 不得超过60个字符。
- 镜像名称不能与已有镜像重复。
- Parameters:
ImageName
- 设置新的镜像名称;必须满足下列限制:
- 不得超过60个字符。
- 镜像名称不能与已有镜像重复。
- 不得超过60个字符。
- 不得超过60个字符。
-
getImageDescription
public String getImageDescription()
Get 设置新的镜像描述;必须满足下列限制:
- 不得超过60个字符。
- Returns:
- ImageDescription 设置新的镜像描述;必须满足下列限制:
- 不得超过60个字符。
-
setImageDescription
public void setImageDescription(String ImageDescription)
Set 设置新的镜像描述;必须满足下列限制:
- 不得超过60个字符。
- Parameters:
ImageDescription
- 设置新的镜像描述;必须满足下列限制:
- 不得超过60个字符。
-
-