Class Image

    • 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 - 镜像许可类型