All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.ens20171110.models.DescribeSelfImagesResponseBody Maven / Gradle / Ivy

There is a newer version: 7.4.0
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ens20171110.models;

import com.aliyun.tea.*;

public class DescribeSelfImagesResponseBody extends TeaModel {
    /**
     * 

The HTTP status code that is returned.

* * example: *

0

*/ @NameInMap("Code") public Integer code; /** *

The image information.

*/ @NameInMap("Images") public DescribeSelfImagesResponseBodyImages images; /** *

The request ID.

* * example: *

A8B8EB73-B4FD-4262-8EF6-680DF39C9BA0

*/ @NameInMap("RequestId") public String requestId; public static DescribeSelfImagesResponseBody build(java.util.Map map) throws Exception { DescribeSelfImagesResponseBody self = new DescribeSelfImagesResponseBody(); return TeaModel.build(map, self); } public DescribeSelfImagesResponseBody setCode(Integer code) { this.code = code; return this; } public Integer getCode() { return this.code; } public DescribeSelfImagesResponseBody setImages(DescribeSelfImagesResponseBodyImages images) { this.images = images; return this; } public DescribeSelfImagesResponseBodyImages getImages() { return this.images; } public DescribeSelfImagesResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public static class DescribeSelfImagesResponseBodyImagesImageDiskDeviceMappingsDiskDeviceMapping extends TeaModel { @NameInMap("Format") public String format; @NameInMap("Size") public String size; @NameInMap("Type") public String type; @NameInMap("imageId") public String imageId; public static DescribeSelfImagesResponseBodyImagesImageDiskDeviceMappingsDiskDeviceMapping build(java.util.Map map) throws Exception { DescribeSelfImagesResponseBodyImagesImageDiskDeviceMappingsDiskDeviceMapping self = new DescribeSelfImagesResponseBodyImagesImageDiskDeviceMappingsDiskDeviceMapping(); return TeaModel.build(map, self); } public DescribeSelfImagesResponseBodyImagesImageDiskDeviceMappingsDiskDeviceMapping setFormat(String format) { this.format = format; return this; } public String getFormat() { return this.format; } public DescribeSelfImagesResponseBodyImagesImageDiskDeviceMappingsDiskDeviceMapping setSize(String size) { this.size = size; return this; } public String getSize() { return this.size; } public DescribeSelfImagesResponseBodyImagesImageDiskDeviceMappingsDiskDeviceMapping setType(String type) { this.type = type; return this; } public String getType() { return this.type; } public DescribeSelfImagesResponseBodyImagesImageDiskDeviceMappingsDiskDeviceMapping setImageId(String imageId) { this.imageId = imageId; return this; } public String getImageId() { return this.imageId; } } public static class DescribeSelfImagesResponseBodyImagesImageDiskDeviceMappings extends TeaModel { @NameInMap("DiskDeviceMapping") public java.util.List diskDeviceMapping; public static DescribeSelfImagesResponseBodyImagesImageDiskDeviceMappings build(java.util.Map map) throws Exception { DescribeSelfImagesResponseBodyImagesImageDiskDeviceMappings self = new DescribeSelfImagesResponseBodyImagesImageDiskDeviceMappings(); return TeaModel.build(map, self); } public DescribeSelfImagesResponseBodyImagesImageDiskDeviceMappings setDiskDeviceMapping(java.util.List diskDeviceMapping) { this.diskDeviceMapping = diskDeviceMapping; return this; } public java.util.List getDiskDeviceMapping() { return this.diskDeviceMapping; } } public static class DescribeSelfImagesResponseBodyImagesImage extends TeaModel { /** *

The image architecture. Valid values:

*
    *
  • i386
  • *
  • x86_64
  • *
* * example: *

x86_64

*/ @NameInMap("Architecture") public String architecture; /** *

Computing type. ens_vm/ens: x86 computing. bare_metal: x86 bare machine or x86 bare metal. arm_vm: ARM computing. arm_bare_metal: ARM bare machine or ARM bare metal. pcfarm: heterogeneous computing.

* * example: *

ens_vm

*/ @NameInMap("ComputeType") public String computeType; /** *

The image creation time. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

* * example: *

2017-12-08T12:10:03Z

*/ @NameInMap("CreationTime") public String creationTime; @NameInMap("DiskDeviceMappings") public DescribeSelfImagesResponseBodyImagesImageDiskDeviceMappings diskDeviceMappings; /** *

The ID of the image.

* * example: *

centos_6_08_64_20G_a****

*/ @NameInMap("ImageId") public String imageId; /** *

The name of the image.

* * example: *

centos_6_08_64_20G_a****

*/ @NameInMap("ImageName") public String imageName; /** *

The source of the image. Valid values:

*
    *
  • others: a custom image that is shared by other Alibaba Cloud accounts.
  • *
  • self: your own custom image.
  • *
* * example: *

system

*/ @NameInMap("ImageOwnerAlias") public String imageOwnerAlias; /** *

The size of the image. Unit: GiB.

* * example: *

20

*/ @NameInMap("ImageSize") public String imageSize; /** *

The size of the image storage.

* * example: *

400

*/ @NameInMap("ImageStorageSize") public String imageStorageSize; /** *

The ID of the instance.

* * example: *

i-5iqczfxps7csjrxeca****

*/ @NameInMap("InstanceId") public String instanceId; /** *

The operating system version.

* * example: *

7.2

*/ @NameInMap("OsVersion") public String osVersion; /** *

The platform.

*
    *
  • centos
  • *
  • ubuntu
  • *
  • alios
  • *
  • debian
  • *
  • rhel
  • *
  • windows
  • *
* * example: *

centos

*/ @NameInMap("Platform") public String platform; /** *

The snapshot ID.

* * example: *

sp-5yt3bdedxzdz6t6uuw****

*/ @NameInMap("SnapshotId") public String snapshotId; /** *

The state of the image.

*
    *
  • Creating.
  • *
  • Packing.
  • *
  • Uploading.
  • *
  • Pack_failed.
  • *
  • Upload_failed.
  • *
  • Available: Only images in the Available state can be used and operated.
  • *
  • Unavailable.
  • *
  • Copying.
  • *
* * example: *

Creating

*/ @NameInMap("Status") public String status; public static DescribeSelfImagesResponseBodyImagesImage build(java.util.Map map) throws Exception { DescribeSelfImagesResponseBodyImagesImage self = new DescribeSelfImagesResponseBodyImagesImage(); return TeaModel.build(map, self); } public DescribeSelfImagesResponseBodyImagesImage setArchitecture(String architecture) { this.architecture = architecture; return this; } public String getArchitecture() { return this.architecture; } public DescribeSelfImagesResponseBodyImagesImage setComputeType(String computeType) { this.computeType = computeType; return this; } public String getComputeType() { return this.computeType; } public DescribeSelfImagesResponseBodyImagesImage setCreationTime(String creationTime) { this.creationTime = creationTime; return this; } public String getCreationTime() { return this.creationTime; } public DescribeSelfImagesResponseBodyImagesImage setDiskDeviceMappings(DescribeSelfImagesResponseBodyImagesImageDiskDeviceMappings diskDeviceMappings) { this.diskDeviceMappings = diskDeviceMappings; return this; } public DescribeSelfImagesResponseBodyImagesImageDiskDeviceMappings getDiskDeviceMappings() { return this.diskDeviceMappings; } public DescribeSelfImagesResponseBodyImagesImage setImageId(String imageId) { this.imageId = imageId; return this; } public String getImageId() { return this.imageId; } public DescribeSelfImagesResponseBodyImagesImage setImageName(String imageName) { this.imageName = imageName; return this; } public String getImageName() { return this.imageName; } public DescribeSelfImagesResponseBodyImagesImage setImageOwnerAlias(String imageOwnerAlias) { this.imageOwnerAlias = imageOwnerAlias; return this; } public String getImageOwnerAlias() { return this.imageOwnerAlias; } public DescribeSelfImagesResponseBodyImagesImage setImageSize(String imageSize) { this.imageSize = imageSize; return this; } public String getImageSize() { return this.imageSize; } public DescribeSelfImagesResponseBodyImagesImage setImageStorageSize(String imageStorageSize) { this.imageStorageSize = imageStorageSize; return this; } public String getImageStorageSize() { return this.imageStorageSize; } public DescribeSelfImagesResponseBodyImagesImage setInstanceId(String instanceId) { this.instanceId = instanceId; return this; } public String getInstanceId() { return this.instanceId; } public DescribeSelfImagesResponseBodyImagesImage setOsVersion(String osVersion) { this.osVersion = osVersion; return this; } public String getOsVersion() { return this.osVersion; } public DescribeSelfImagesResponseBodyImagesImage setPlatform(String platform) { this.platform = platform; return this; } public String getPlatform() { return this.platform; } public DescribeSelfImagesResponseBodyImagesImage setSnapshotId(String snapshotId) { this.snapshotId = snapshotId; return this; } public String getSnapshotId() { return this.snapshotId; } public DescribeSelfImagesResponseBodyImagesImage setStatus(String status) { this.status = status; return this; } public String getStatus() { return this.status; } } public static class DescribeSelfImagesResponseBodyImages extends TeaModel { @NameInMap("Image") public java.util.List image; public static DescribeSelfImagesResponseBodyImages build(java.util.Map map) throws Exception { DescribeSelfImagesResponseBodyImages self = new DescribeSelfImagesResponseBodyImages(); return TeaModel.build(map, self); } public DescribeSelfImagesResponseBodyImages setImage(java.util.List image) { this.image = image; return this; } public java.util.List getImage() { return this.image; } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy