com.aliyun.sdk.service.ecs20140526.models.DescribeImagesResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-ecs20140526 Show documentation
Show all versions of alibabacloud-ecs20140526 Show documentation
Alibaba Cloud Ecs (20140526) Async SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ecs20140526.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeImagesResponseBody} extends {@link TeaModel}
*
* DescribeImagesResponseBody
*/
public class DescribeImagesResponseBody extends TeaModel {
@NameInMap("Images")
private Images images;
@NameInMap("PageNumber")
private Integer pageNumber;
@NameInMap("PageSize")
private Integer pageSize;
@NameInMap("RegionId")
private String regionId;
@NameInMap("RequestId")
private String requestId;
@NameInMap("TotalCount")
private Integer totalCount;
private DescribeImagesResponseBody(Builder builder) {
this.images = builder.images;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.regionId = builder.regionId;
this.requestId = builder.requestId;
this.totalCount = builder.totalCount;
}
public static Builder builder() {
return new Builder();
}
public static DescribeImagesResponseBody create() {
return builder().build();
}
/**
* @return images
*/
public Images getImages() {
return this.images;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return totalCount
*/
public Integer getTotalCount() {
return this.totalCount;
}
public static final class Builder {
private Images images;
private Integer pageNumber;
private Integer pageSize;
private String regionId;
private String requestId;
private Integer totalCount;
/**
* Images.
*/
public Builder images(Images images) {
this.images = images;
return this;
}
/**
* PageNumber.
*/
public Builder pageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.regionId = regionId;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* TotalCount.
*/
public Builder totalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public DescribeImagesResponseBody build() {
return new DescribeImagesResponseBody(this);
}
}
public static class Item extends TeaModel {
@NameInMap("Name")
private String name;
@NameInMap("RiskCode")
private String riskCode;
@NameInMap("RiskLevel")
private String riskLevel;
@NameInMap("Value")
private String value;
private Item(Builder builder) {
this.name = builder.name;
this.riskCode = builder.riskCode;
this.riskLevel = builder.riskLevel;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static Item create() {
return builder().build();
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return riskCode
*/
public String getRiskCode() {
return this.riskCode;
}
/**
* @return riskLevel
*/
public String getRiskLevel() {
return this.riskLevel;
}
/**
* @return value
*/
public String getValue() {
return this.value;
}
public static final class Builder {
private String name;
private String riskCode;
private String riskLevel;
private String value;
/**
* Name.
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* RiskCode.
*/
public Builder riskCode(String riskCode) {
this.riskCode = riskCode;
return this;
}
/**
* RiskLevel.
*/
public Builder riskLevel(String riskLevel) {
this.riskLevel = riskLevel;
return this;
}
/**
* Value.
*/
public Builder value(String value) {
this.value = value;
return this;
}
public Item build() {
return new Item(this);
}
}
}
public static class Items extends TeaModel {
@NameInMap("Item")
private java.util.List < Item> item;
private Items(Builder builder) {
this.item = builder.item;
}
public static Builder builder() {
return new Builder();
}
public static Items create() {
return builder().build();
}
/**
* @return item
*/
public java.util.List < Item> getItem() {
return this.item;
}
public static final class Builder {
private java.util.List < Item> item;
/**
* Item.
*/
public Builder item(java.util.List < Item> item) {
this.item = item;
return this;
}
public Items build() {
return new Items(this);
}
}
}
public static class DetectionOptions extends TeaModel {
@NameInMap("Items")
private Items items;
@NameInMap("Status")
private String status;
private DetectionOptions(Builder builder) {
this.items = builder.items;
this.status = builder.status;
}
public static Builder builder() {
return new Builder();
}
public static DetectionOptions create() {
return builder().build();
}
/**
* @return items
*/
public Items getItems() {
return this.items;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
public static final class Builder {
private Items items;
private String status;
/**
* Items.
*/
public Builder items(Items items) {
this.items = items;
return this;
}
/**
* Status.
*/
public Builder status(String status) {
this.status = status;
return this;
}
public DetectionOptions build() {
return new DetectionOptions(this);
}
}
}
public static class DiskDeviceMapping extends TeaModel {
@NameInMap("Device")
private String device;
@NameInMap("Format")
private String format;
@NameInMap("ImportOSSBucket")
private String importOSSBucket;
@NameInMap("ImportOSSObject")
private String importOSSObject;
@NameInMap("Progress")
private String progress;
@NameInMap("RemainTime")
private Integer remainTime;
@NameInMap("Size")
private String size;
@NameInMap("SnapshotId")
private String snapshotId;
@NameInMap("Type")
private String type;
private DiskDeviceMapping(Builder builder) {
this.device = builder.device;
this.format = builder.format;
this.importOSSBucket = builder.importOSSBucket;
this.importOSSObject = builder.importOSSObject;
this.progress = builder.progress;
this.remainTime = builder.remainTime;
this.size = builder.size;
this.snapshotId = builder.snapshotId;
this.type = builder.type;
}
public static Builder builder() {
return new Builder();
}
public static DiskDeviceMapping create() {
return builder().build();
}
/**
* @return device
*/
public String getDevice() {
return this.device;
}
/**
* @return format
*/
public String getFormat() {
return this.format;
}
/**
* @return importOSSBucket
*/
public String getImportOSSBucket() {
return this.importOSSBucket;
}
/**
* @return importOSSObject
*/
public String getImportOSSObject() {
return this.importOSSObject;
}
/**
* @return progress
*/
public String getProgress() {
return this.progress;
}
/**
* @return remainTime
*/
public Integer getRemainTime() {
return this.remainTime;
}
/**
* @return size
*/
public String getSize() {
return this.size;
}
/**
* @return snapshotId
*/
public String getSnapshotId() {
return this.snapshotId;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
public static final class Builder {
private String device;
private String format;
private String importOSSBucket;
private String importOSSObject;
private String progress;
private Integer remainTime;
private String size;
private String snapshotId;
private String type;
/**
* Device.
*/
public Builder device(String device) {
this.device = device;
return this;
}
/**
* Format.
*/
public Builder format(String format) {
this.format = format;
return this;
}
/**
* ImportOSSBucket.
*/
public Builder importOSSBucket(String importOSSBucket) {
this.importOSSBucket = importOSSBucket;
return this;
}
/**
* ImportOSSObject.
*/
public Builder importOSSObject(String importOSSObject) {
this.importOSSObject = importOSSObject;
return this;
}
/**
* Progress.
*/
public Builder progress(String progress) {
this.progress = progress;
return this;
}
/**
* RemainTime.
*/
public Builder remainTime(Integer remainTime) {
this.remainTime = remainTime;
return this;
}
/**
* Size.
*/
public Builder size(String size) {
this.size = size;
return this;
}
/**
* SnapshotId.
*/
public Builder snapshotId(String snapshotId) {
this.snapshotId = snapshotId;
return this;
}
/**
* Type.
*/
public Builder type(String type) {
this.type = type;
return this;
}
public DiskDeviceMapping build() {
return new DiskDeviceMapping(this);
}
}
}
public static class DiskDeviceMappings extends TeaModel {
@NameInMap("DiskDeviceMapping")
private java.util.List < DiskDeviceMapping> diskDeviceMapping;
private DiskDeviceMappings(Builder builder) {
this.diskDeviceMapping = builder.diskDeviceMapping;
}
public static Builder builder() {
return new Builder();
}
public static DiskDeviceMappings create() {
return builder().build();
}
/**
* @return diskDeviceMapping
*/
public java.util.List < DiskDeviceMapping> getDiskDeviceMapping() {
return this.diskDeviceMapping;
}
public static final class Builder {
private java.util.List < DiskDeviceMapping> diskDeviceMapping;
/**
* DiskDeviceMapping.
*/
public Builder diskDeviceMapping(java.util.List < DiskDeviceMapping> diskDeviceMapping) {
this.diskDeviceMapping = diskDeviceMapping;
return this;
}
public DiskDeviceMappings build() {
return new DiskDeviceMappings(this);
}
}
}
public static class Features extends TeaModel {
@NameInMap("NvmeSupport")
private String nvmeSupport;
private Features(Builder builder) {
this.nvmeSupport = builder.nvmeSupport;
}
public static Builder builder() {
return new Builder();
}
public static Features create() {
return builder().build();
}
/**
* @return nvmeSupport
*/
public String getNvmeSupport() {
return this.nvmeSupport;
}
public static final class Builder {
private String nvmeSupport;
/**
* NvmeSupport.
*/
public Builder nvmeSupport(String nvmeSupport) {
this.nvmeSupport = nvmeSupport;
return this;
}
public Features build() {
return new Features(this);
}
}
}
public static class Tag extends TeaModel {
@NameInMap("TagKey")
private String tagKey;
@NameInMap("TagValue")
private String tagValue;
private Tag(Builder builder) {
this.tagKey = builder.tagKey;
this.tagValue = builder.tagValue;
}
public static Builder builder() {
return new Builder();
}
public static Tag create() {
return builder().build();
}
/**
* @return tagKey
*/
public String getTagKey() {
return this.tagKey;
}
/**
* @return tagValue
*/
public String getTagValue() {
return this.tagValue;
}
public static final class Builder {
private String tagKey;
private String tagValue;
/**
* TagKey.
*/
public Builder tagKey(String tagKey) {
this.tagKey = tagKey;
return this;
}
/**
* TagValue.
*/
public Builder tagValue(String tagValue) {
this.tagValue = tagValue;
return this;
}
public Tag build() {
return new Tag(this);
}
}
}
public static class Tags extends TeaModel {
@NameInMap("Tag")
private java.util.List < Tag> tag;
private Tags(Builder builder) {
this.tag = builder.tag;
}
public static Builder builder() {
return new Builder();
}
public static Tags create() {
return builder().build();
}
/**
* @return tag
*/
public java.util.List < Tag> getTag() {
return this.tag;
}
public static final class Builder {
private java.util.List < Tag> tag;
/**
* Tag.
*/
public Builder tag(java.util.List < Tag> tag) {
this.tag = tag;
return this;
}
public Tags build() {
return new Tags(this);
}
}
}
public static class Image extends TeaModel {
@NameInMap("Architecture")
private String architecture;
@NameInMap("BootMode")
private String bootMode;
@NameInMap("CreationTime")
private String creationTime;
@NameInMap("Description")
private String description;
@NameInMap("DetectionOptions")
private DetectionOptions detectionOptions;
@NameInMap("DiskDeviceMappings")
private DiskDeviceMappings diskDeviceMappings;
@NameInMap("Features")
private Features features;
@NameInMap("ImageFamily")
private String imageFamily;
@NameInMap("ImageId")
private String imageId;
@NameInMap("ImageName")
private String imageName;
@NameInMap("ImageOwnerAlias")
private String imageOwnerAlias;
@NameInMap("ImageOwnerId")
private Long imageOwnerId;
@NameInMap("ImageVersion")
private String imageVersion;
@NameInMap("IsCopied")
private Boolean isCopied;
@NameInMap("IsPublic")
private Boolean isPublic;
@NameInMap("IsSelfShared")
private String isSelfShared;
@NameInMap("IsSubscribed")
private Boolean isSubscribed;
@NameInMap("IsSupportCloudinit")
private Boolean isSupportCloudinit;
@NameInMap("IsSupportIoOptimized")
private Boolean isSupportIoOptimized;
@NameInMap("LoginAsNonRootSupported")
private Boolean loginAsNonRootSupported;
@NameInMap("OSName")
private String OSName;
@NameInMap("OSNameEn")
private String OSNameEn;
@NameInMap("OSType")
private String OSType;
@NameInMap("Platform")
private String platform;
@NameInMap("ProductCode")
private String productCode;
@NameInMap("Progress")
private String progress;
@NameInMap("ResourceGroupId")
private String resourceGroupId;
@NameInMap("Size")
private Integer size;
@NameInMap("Status")
private String status;
@NameInMap("SupplierName")
private String supplierName;
@NameInMap("Tags")
private Tags tags;
@NameInMap("Usage")
private String usage;
private Image(Builder builder) {
this.architecture = builder.architecture;
this.bootMode = builder.bootMode;
this.creationTime = builder.creationTime;
this.description = builder.description;
this.detectionOptions = builder.detectionOptions;
this.diskDeviceMappings = builder.diskDeviceMappings;
this.features = builder.features;
this.imageFamily = builder.imageFamily;
this.imageId = builder.imageId;
this.imageName = builder.imageName;
this.imageOwnerAlias = builder.imageOwnerAlias;
this.imageOwnerId = builder.imageOwnerId;
this.imageVersion = builder.imageVersion;
this.isCopied = builder.isCopied;
this.isPublic = builder.isPublic;
this.isSelfShared = builder.isSelfShared;
this.isSubscribed = builder.isSubscribed;
this.isSupportCloudinit = builder.isSupportCloudinit;
this.isSupportIoOptimized = builder.isSupportIoOptimized;
this.loginAsNonRootSupported = builder.loginAsNonRootSupported;
this.OSName = builder.OSName;
this.OSNameEn = builder.OSNameEn;
this.OSType = builder.OSType;
this.platform = builder.platform;
this.productCode = builder.productCode;
this.progress = builder.progress;
this.resourceGroupId = builder.resourceGroupId;
this.size = builder.size;
this.status = builder.status;
this.supplierName = builder.supplierName;
this.tags = builder.tags;
this.usage = builder.usage;
}
public static Builder builder() {
return new Builder();
}
public static Image create() {
return builder().build();
}
/**
* @return architecture
*/
public String getArchitecture() {
return this.architecture;
}
/**
* @return bootMode
*/
public String getBootMode() {
return this.bootMode;
}
/**
* @return creationTime
*/
public String getCreationTime() {
return this.creationTime;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return detectionOptions
*/
public DetectionOptions getDetectionOptions() {
return this.detectionOptions;
}
/**
* @return diskDeviceMappings
*/
public DiskDeviceMappings getDiskDeviceMappings() {
return this.diskDeviceMappings;
}
/**
* @return features
*/
public Features getFeatures() {
return this.features;
}
/**
* @return imageFamily
*/
public String getImageFamily() {
return this.imageFamily;
}
/**
* @return imageId
*/
public String getImageId() {
return this.imageId;
}
/**
* @return imageName
*/
public String getImageName() {
return this.imageName;
}
/**
* @return imageOwnerAlias
*/
public String getImageOwnerAlias() {
return this.imageOwnerAlias;
}
/**
* @return imageOwnerId
*/
public Long getImageOwnerId() {
return this.imageOwnerId;
}
/**
* @return imageVersion
*/
public String getImageVersion() {
return this.imageVersion;
}
/**
* @return isCopied
*/
public Boolean getIsCopied() {
return this.isCopied;
}
/**
* @return isPublic
*/
public Boolean getIsPublic() {
return this.isPublic;
}
/**
* @return isSelfShared
*/
public String getIsSelfShared() {
return this.isSelfShared;
}
/**
* @return isSubscribed
*/
public Boolean getIsSubscribed() {
return this.isSubscribed;
}
/**
* @return isSupportCloudinit
*/
public Boolean getIsSupportCloudinit() {
return this.isSupportCloudinit;
}
/**
* @return isSupportIoOptimized
*/
public Boolean getIsSupportIoOptimized() {
return this.isSupportIoOptimized;
}
/**
* @return loginAsNonRootSupported
*/
public Boolean getLoginAsNonRootSupported() {
return this.loginAsNonRootSupported;
}
/**
* @return OSName
*/
public String getOSName() {
return this.OSName;
}
/**
* @return OSNameEn
*/
public String getOSNameEn() {
return this.OSNameEn;
}
/**
* @return OSType
*/
public String getOSType() {
return this.OSType;
}
/**
* @return platform
*/
public String getPlatform() {
return this.platform;
}
/**
* @return productCode
*/
public String getProductCode() {
return this.productCode;
}
/**
* @return progress
*/
public String getProgress() {
return this.progress;
}
/**
* @return resourceGroupId
*/
public String getResourceGroupId() {
return this.resourceGroupId;
}
/**
* @return size
*/
public Integer getSize() {
return this.size;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return supplierName
*/
public String getSupplierName() {
return this.supplierName;
}
/**
* @return tags
*/
public Tags getTags() {
return this.tags;
}
/**
* @return usage
*/
public String getUsage() {
return this.usage;
}
public static final class Builder {
private String architecture;
private String bootMode;
private String creationTime;
private String description;
private DetectionOptions detectionOptions;
private DiskDeviceMappings diskDeviceMappings;
private Features features;
private String imageFamily;
private String imageId;
private String imageName;
private String imageOwnerAlias;
private Long imageOwnerId;
private String imageVersion;
private Boolean isCopied;
private Boolean isPublic;
private String isSelfShared;
private Boolean isSubscribed;
private Boolean isSupportCloudinit;
private Boolean isSupportIoOptimized;
private Boolean loginAsNonRootSupported;
private String OSName;
private String OSNameEn;
private String OSType;
private String platform;
private String productCode;
private String progress;
private String resourceGroupId;
private Integer size;
private String status;
private String supplierName;
private Tags tags;
private String usage;
/**
* Architecture.
*/
public Builder architecture(String architecture) {
this.architecture = architecture;
return this;
}
/**
* BootMode.
*/
public Builder bootMode(String bootMode) {
this.bootMode = bootMode;
return this;
}
/**
* CreationTime.
*/
public Builder creationTime(String creationTime) {
this.creationTime = creationTime;
return this;
}
/**
* Description.
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* DetectionOptions.
*/
public Builder detectionOptions(DetectionOptions detectionOptions) {
this.detectionOptions = detectionOptions;
return this;
}
/**
* DiskDeviceMappings.
*/
public Builder diskDeviceMappings(DiskDeviceMappings diskDeviceMappings) {
this.diskDeviceMappings = diskDeviceMappings;
return this;
}
/**
* Features.
*/
public Builder features(Features features) {
this.features = features;
return this;
}
/**
* ImageFamily.
*/
public Builder imageFamily(String imageFamily) {
this.imageFamily = imageFamily;
return this;
}
/**
* ImageId.
*/
public Builder imageId(String imageId) {
this.imageId = imageId;
return this;
}
/**
* ImageName.
*/
public Builder imageName(String imageName) {
this.imageName = imageName;
return this;
}
/**
* ImageOwnerAlias.
*/
public Builder imageOwnerAlias(String imageOwnerAlias) {
this.imageOwnerAlias = imageOwnerAlias;
return this;
}
/**
* ImageOwnerId.
*/
public Builder imageOwnerId(Long imageOwnerId) {
this.imageOwnerId = imageOwnerId;
return this;
}
/**
* ImageVersion.
*/
public Builder imageVersion(String imageVersion) {
this.imageVersion = imageVersion;
return this;
}
/**
* IsCopied.
*/
public Builder isCopied(Boolean isCopied) {
this.isCopied = isCopied;
return this;
}
/**
* IsPublic.
*/
public Builder isPublic(Boolean isPublic) {
this.isPublic = isPublic;
return this;
}
/**
* IsSelfShared.
*/
public Builder isSelfShared(String isSelfShared) {
this.isSelfShared = isSelfShared;
return this;
}
/**
* IsSubscribed.
*/
public Builder isSubscribed(Boolean isSubscribed) {
this.isSubscribed = isSubscribed;
return this;
}
/**
* IsSupportCloudinit.
*/
public Builder isSupportCloudinit(Boolean isSupportCloudinit) {
this.isSupportCloudinit = isSupportCloudinit;
return this;
}
/**
* IsSupportIoOptimized.
*/
public Builder isSupportIoOptimized(Boolean isSupportIoOptimized) {
this.isSupportIoOptimized = isSupportIoOptimized;
return this;
}
/**
* LoginAsNonRootSupported.
*/
public Builder loginAsNonRootSupported(Boolean loginAsNonRootSupported) {
this.loginAsNonRootSupported = loginAsNonRootSupported;
return this;
}
/**
* OSName.
*/
public Builder OSName(String OSName) {
this.OSName = OSName;
return this;
}
/**
* OSNameEn.
*/
public Builder OSNameEn(String OSNameEn) {
this.OSNameEn = OSNameEn;
return this;
}
/**
* OSType.
*/
public Builder OSType(String OSType) {
this.OSType = OSType;
return this;
}
/**
* Platform.
*/
public Builder platform(String platform) {
this.platform = platform;
return this;
}
/**
* ProductCode.
*/
public Builder productCode(String productCode) {
this.productCode = productCode;
return this;
}
/**
* Progress.
*/
public Builder progress(String progress) {
this.progress = progress;
return this;
}
/**
* ResourceGroupId.
*/
public Builder resourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
return this;
}
/**
* Size.
*/
public Builder size(Integer size) {
this.size = size;
return this;
}
/**
* Status.
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* SupplierName.
*/
public Builder supplierName(String supplierName) {
this.supplierName = supplierName;
return this;
}
/**
* Tags.
*/
public Builder tags(Tags tags) {
this.tags = tags;
return this;
}
/**
* Usage.
*/
public Builder usage(String usage) {
this.usage = usage;
return this;
}
public Image build() {
return new Image(this);
}
}
}
public static class Images extends TeaModel {
@NameInMap("Image")
private java.util.List < Image> image;
private Images(Builder builder) {
this.image = builder.image;
}
public static Builder builder() {
return new Builder();
}
public static Images create() {
return builder().build();
}
/**
* @return image
*/
public java.util.List < Image> getImage() {
return this.image;
}
public static final class Builder {
private java.util.List < Image> image;
/**
* Image.
*/
public Builder image(java.util.List < Image> image) {
this.image = image;
return this;
}
public Images build() {
return new Images(this);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy