
com.aliyun.sdk.service.ens20171110.models.DescribeExportImageInfoResponseBody Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ens20171110.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeExportImageInfoResponseBody} extends {@link TeaModel}
*
* DescribeExportImageInfoResponseBody
*/
public class DescribeExportImageInfoResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Images")
private Images images;
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Integer pageNumber;
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("TotalCount")
private Integer totalCount;
private DescribeExportImageInfoResponseBody(Builder builder) {
this.images = builder.images;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.requestId = builder.requestId;
this.totalCount = builder.totalCount;
}
public static Builder builder() {
return new Builder();
}
public static DescribeExportImageInfoResponseBody 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 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 requestId;
private Integer totalCount;
/**
* The returned result. For more information, see the Images parameter described in the JSON-formatted sample success response.
*/
public Builder images(Images images) {
this.images = images;
return this;
}
/**
* The page number.
*
* example:
* 1
*/
public Builder pageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* The number of entries per page.
*
* example:
* 10
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* The ID of the request.
*
* example:
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* The total number of entries returned.
*
* example:
* 13
*/
public Builder totalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public DescribeExportImageInfoResponseBody build() {
return new DescribeExportImageInfoResponseBody(this);
}
}
/**
*
* {@link DescribeExportImageInfoResponseBody} extends {@link TeaModel}
*
* DescribeExportImageInfoResponseBody
*/
public static class Image extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Architecture")
private String architecture;
@com.aliyun.core.annotation.NameInMap("CreationTime")
private String creationTime;
@com.aliyun.core.annotation.NameInMap("ExportedImageURL")
private String exportedImageURL;
@com.aliyun.core.annotation.NameInMap("ImageExportStatus")
private String imageExportStatus;
@com.aliyun.core.annotation.NameInMap("ImageId")
private String imageId;
@com.aliyun.core.annotation.NameInMap("ImageName")
private String imageName;
@com.aliyun.core.annotation.NameInMap("ImageOwnerAlias")
private String imageOwnerAlias;
@com.aliyun.core.annotation.NameInMap("Platform")
private String platform;
private Image(Builder builder) {
this.architecture = builder.architecture;
this.creationTime = builder.creationTime;
this.exportedImageURL = builder.exportedImageURL;
this.imageExportStatus = builder.imageExportStatus;
this.imageId = builder.imageId;
this.imageName = builder.imageName;
this.imageOwnerAlias = builder.imageOwnerAlias;
this.platform = builder.platform;
}
public static Builder builder() {
return new Builder();
}
public static Image create() {
return builder().build();
}
/**
* @return architecture
*/
public String getArchitecture() {
return this.architecture;
}
/**
* @return creationTime
*/
public String getCreationTime() {
return this.creationTime;
}
/**
* @return exportedImageURL
*/
public String getExportedImageURL() {
return this.exportedImageURL;
}
/**
* @return imageExportStatus
*/
public String getImageExportStatus() {
return this.imageExportStatus;
}
/**
* @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 platform
*/
public String getPlatform() {
return this.platform;
}
public static final class Builder {
private String architecture;
private String creationTime;
private String exportedImageURL;
private String imageExportStatus;
private String imageId;
private String imageName;
private String imageOwnerAlias;
private String platform;
/**
* The architecture of the image. Example: x86_64.
*
* example:
* x86_64
*/
public Builder architecture(String architecture) {
this.architecture = architecture;
return this;
}
/**
* The time when the image was created.
*
* example:
* 2017-12-08T12:10:03Z
*/
public Builder creationTime(String creationTime) {
this.creationTime = creationTime;
return this;
}
/**
* The URL of the exported image.
*
* example:
* https://user_defined_bucket.oss-cn-beijing.aliyuncs.com/m-xxxxxxxxx1.qcow2
*/
public Builder exportedImageURL(String exportedImageURL) {
this.exportedImageURL = exportedImageURL;
return this;
}
/**
* The export status of the image. Valid values:
*
* - Exporting
* - Exported
* - ExportError
* - Unexported
*
*
* example:
* Exported
*/
public Builder imageExportStatus(String imageExportStatus) {
this.imageExportStatus = imageExportStatus;
return this;
}
/**
* The ID of the image.
*
* example:
* m-xxxxxxxxx1
*/
public Builder imageId(String imageId) {
this.imageId = imageId;
return this;
}
/**
* The name of the image.
*
* example:
* m-xxxxxxxxx1
*/
public Builder imageName(String imageName) {
this.imageName = imageName;
return this;
}
/**
* The source of the image. Valid values:
*
* - system: public image
* - self: custom image
*
*
* example:
* system
*/
public Builder imageOwnerAlias(String imageOwnerAlias) {
this.imageOwnerAlias = imageOwnerAlias;
return this;
}
/**
* The OS.
*
* example:
* centos
*/
public Builder platform(String platform) {
this.platform = platform;
return this;
}
public Image build() {
return new Image(this);
}
}
}
/**
*
* {@link DescribeExportImageInfoResponseBody} extends {@link TeaModel}
*
* DescribeExportImageInfoResponseBody
*/
public static class Images extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Image")
private java.util.List 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 getImage() {
return this.image;
}
public static final class Builder {
private java.util.List image;
/**
* Image.
*/
public Builder image(java.util.List image) {
this.image = image;
return this;
}
public Images build() {
return new Images(this);
}
}
}
}