Class Image
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cvm.v20170312.models.Image
-
public class Image extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getArchitecture()
Get 镜像架构String
getCreatedTime()
Get 镜像创建时间String
getImageCreator()
Get 镜像创建者String
getImageDescription()
Get 镜像描述String
getImageId()
Get 镜像IDString
getImageName()
Get 镜像名称Long
getImageSize()
Get 镜像大小String
getImageSource()
Get 镜像来源String
getImageState()
Get 镜像状态: CREATING-创建中 NORMAL-正常 CREATEFAILED-创建失败 USING-使用中 SYNCING-同步中 IMPORTING-导入中 IMPORTFAILED-导入失败String
getImageType()
Get 镜像类型Boolean
getIsSupportCloudinit()
Get 镜像是否支持cloud-init 注意:此字段可能返回 null,表示取不到有效值。String
getLicenseType()
Get 镜像许可类型String
getOsName()
Get 镜像操作系统String
getPlatform()
Get 镜像来源平台,包括如TencentOS、 CentOS、 Windows、 Ubuntu、 Debian、Fedora等。Snapshot[]
getSnapshotSet()
Get 镜像关联的快照信息 注意:此字段可能返回 null,表示取不到有效值。Long
getSyncPercent()
Get 同步百分比 注意:此字段可能返回 null,表示取不到有效值。Tag[]
getTags()
Get 镜像关联的标签列表。 注意:此字段可能返回 null,表示取不到有效值。void
setArchitecture(String Architecture)
Set 镜像架构void
setCreatedTime(String CreatedTime)
Set 镜像创建时间void
setImageCreator(String ImageCreator)
Set 镜像创建者void
setImageDescription(String ImageDescription)
Set 镜像描述void
setImageId(String ImageId)
Set 镜像IDvoid
setImageName(String ImageName)
Set 镜像名称void
setImageSize(Long ImageSize)
Set 镜像大小void
setImageSource(String ImageSource)
Set 镜像来源void
setImageState(String ImageState)
Set 镜像状态: CREATING-创建中 NORMAL-正常 CREATEFAILED-创建失败 USING-使用中 SYNCING-同步中 IMPORTING-导入中 IMPORTFAILED-导入失败void
setImageType(String ImageType)
Set 镜像类型void
setIsSupportCloudinit(Boolean IsSupportCloudinit)
Set 镜像是否支持cloud-init 注意:此字段可能返回 null,表示取不到有效值。void
setLicenseType(String LicenseType)
Set 镜像许可类型void
setOsName(String OsName)
Set 镜像操作系统void
setPlatform(String Platform)
Set 镜像来源平台,包括如TencentOS、 CentOS、 Windows、 Ubuntu、 Debian、Fedora等。void
setSnapshotSet(Snapshot[] SnapshotSet)
Set 镜像关联的快照信息 注意:此字段可能返回 null,表示取不到有效值。void
setSyncPercent(Long SyncPercent)
Set 同步百分比 注意:此字段可能返回 null,表示取不到有效值。void
setTags(Tag[] Tags)
Set 镜像关联的标签列表。 注意:此字段可能返回 null,表示取不到有效值。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
-
Image
public Image()
-
Image
public Image(Image 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- Returns:
- ImageId 镜像ID
-
setImageId
public void setImageId(String ImageId)
Set 镜像ID- Parameters:
ImageId
- 镜像ID
-
getOsName
public String getOsName()
Get 镜像操作系统- Returns:
- OsName 镜像操作系统
-
setOsName
public void setOsName(String OsName)
Set 镜像操作系统- Parameters:
OsName
- 镜像操作系统
-
getImageType
public String getImageType()
Get 镜像类型- Returns:
- ImageType 镜像类型
-
setImageType
public void setImageType(String ImageType)
Set 镜像类型- Parameters:
ImageType
- 镜像类型
-
getCreatedTime
public String getCreatedTime()
Get 镜像创建时间- Returns:
- CreatedTime 镜像创建时间
-
setCreatedTime
public void setCreatedTime(String CreatedTime)
Set 镜像创建时间- Parameters:
CreatedTime
- 镜像创建时间
-
getImageName
public String getImageName()
Get 镜像名称- Returns:
- ImageName 镜像名称
-
setImageName
public void setImageName(String ImageName)
Set 镜像名称- Parameters:
ImageName
- 镜像名称
-
getImageDescription
public String getImageDescription()
Get 镜像描述- Returns:
- ImageDescription 镜像描述
-
setImageDescription
public void setImageDescription(String ImageDescription)
Set 镜像描述- Parameters:
ImageDescription
- 镜像描述
-
getImageSize
public Long getImageSize()
Get 镜像大小- Returns:
- ImageSize 镜像大小
-
setImageSize
public void setImageSize(Long ImageSize)
Set 镜像大小- Parameters:
ImageSize
- 镜像大小
-
getArchitecture
public String getArchitecture()
Get 镜像架构- Returns:
- Architecture 镜像架构
-
setArchitecture
public void setArchitecture(String Architecture)
Set 镜像架构- Parameters:
Architecture
- 镜像架构
-
getImageState
public String getImageState()
Get 镜像状态: CREATING-创建中 NORMAL-正常 CREATEFAILED-创建失败 USING-使用中 SYNCING-同步中 IMPORTING-导入中 IMPORTFAILED-导入失败- Returns:
- ImageState 镜像状态: CREATING-创建中 NORMAL-正常 CREATEFAILED-创建失败 USING-使用中 SYNCING-同步中 IMPORTING-导入中 IMPORTFAILED-导入失败
-
setImageState
public void setImageState(String ImageState)
Set 镜像状态: CREATING-创建中 NORMAL-正常 CREATEFAILED-创建失败 USING-使用中 SYNCING-同步中 IMPORTING-导入中 IMPORTFAILED-导入失败- Parameters:
ImageState
- 镜像状态: CREATING-创建中 NORMAL-正常 CREATEFAILED-创建失败 USING-使用中 SYNCING-同步中 IMPORTING-导入中 IMPORTFAILED-导入失败
-
getPlatform
public String getPlatform()
Get 镜像来源平台,包括如TencentOS、 CentOS、 Windows、 Ubuntu、 Debian、Fedora等。- Returns:
- Platform 镜像来源平台,包括如TencentOS、 CentOS、 Windows、 Ubuntu、 Debian、Fedora等。
-
setPlatform
public void setPlatform(String Platform)
Set 镜像来源平台,包括如TencentOS、 CentOS、 Windows、 Ubuntu、 Debian、Fedora等。- Parameters:
Platform
- 镜像来源平台,包括如TencentOS、 CentOS、 Windows、 Ubuntu、 Debian、Fedora等。
-
getImageCreator
public String getImageCreator()
Get 镜像创建者- Returns:
- ImageCreator 镜像创建者
-
setImageCreator
public void setImageCreator(String ImageCreator)
Set 镜像创建者- Parameters:
ImageCreator
- 镜像创建者
-
getImageSource
public String getImageSource()
Get 镜像来源- Returns:
- ImageSource 镜像来源
-
setImageSource
public void setImageSource(String ImageSource)
Set 镜像来源- Parameters:
ImageSource
- 镜像来源
-
getSyncPercent
public Long getSyncPercent()
Get 同步百分比 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- SyncPercent 同步百分比 注意:此字段可能返回 null,表示取不到有效值。
-
setSyncPercent
public void setSyncPercent(Long SyncPercent)
Set 同步百分比 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
SyncPercent
- 同步百分比 注意:此字段可能返回 null,表示取不到有效值。
-
getIsSupportCloudinit
public Boolean getIsSupportCloudinit()
Get 镜像是否支持cloud-init 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- IsSupportCloudinit 镜像是否支持cloud-init 注意:此字段可能返回 null,表示取不到有效值。
-
setIsSupportCloudinit
public void setIsSupportCloudinit(Boolean IsSupportCloudinit)
Set 镜像是否支持cloud-init 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
IsSupportCloudinit
- 镜像是否支持cloud-init 注意:此字段可能返回 null,表示取不到有效值。
-
getSnapshotSet
public Snapshot[] getSnapshotSet()
Get 镜像关联的快照信息 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- SnapshotSet 镜像关联的快照信息 注意:此字段可能返回 null,表示取不到有效值。
-
setSnapshotSet
public void setSnapshotSet(Snapshot[] SnapshotSet)
Set 镜像关联的快照信息 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
SnapshotSet
- 镜像关联的快照信息 注意:此字段可能返回 null,表示取不到有效值。
-
getTags
public Tag[] getTags()
Get 镜像关联的标签列表。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Tags 镜像关联的标签列表。 注意:此字段可能返回 null,表示取不到有效值。
-
setTags
public void setTags(Tag[] Tags)
Set 镜像关联的标签列表。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Tags
- 镜像关联的标签列表。 注意:此字段可能返回 null,表示取不到有效值。
-
getLicenseType
public String getLicenseType()
Get 镜像许可类型- Returns:
- LicenseType 镜像许可类型
-
setLicenseType
public void setLicenseType(String LicenseType)
Set 镜像许可类型- Parameters:
LicenseType
- 镜像许可类型
-
-