com.aliyun.sdk.service.ens20171110.models.DescribeSelfImagesRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-ens20171110 Show documentation
Show all versions of alibabacloud-ens20171110 Show documentation
Alibaba Cloud Ens (20171110) Async SDK for Java
The newest version!
// 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 DescribeSelfImagesRequest} extends {@link RequestModel}
*
* DescribeSelfImagesRequest
*/
public class DescribeSelfImagesRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ImageId")
private String imageId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ImageName")
private String imageName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Integer pageNumber;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("SnapshotId")
private String snapshotId;
private DescribeSelfImagesRequest(Builder builder) {
super(builder);
this.imageId = builder.imageId;
this.imageName = builder.imageName;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.snapshotId = builder.snapshotId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeSelfImagesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return imageId
*/
public String getImageId() {
return this.imageId;
}
/**
* @return imageName
*/
public String getImageName() {
return this.imageName;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return snapshotId
*/
public String getSnapshotId() {
return this.snapshotId;
}
public static final class Builder extends Request.Builder {
private String imageId;
private String imageName;
private Integer pageNumber;
private Integer pageSize;
private String snapshotId;
private Builder() {
super();
}
private Builder(DescribeSelfImagesRequest request) {
super(request);
this.imageId = request.imageId;
this.imageName = request.imageName;
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
this.snapshotId = request.snapshotId;
}
/**
* The ID of the image. Fuzzy search is supported.
*
* example:
* centos_6_08_64_20G_a****
*/
public Builder imageId(String imageId) {
this.putQueryParameter("ImageId", imageId);
this.imageId = imageId;
return this;
}
/**
* The name of the image. Fuzzy search is supported.
*
* example:
* centos_6_08_64_20G_a****
*/
public Builder imageName(String imageName) {
this.putQueryParameter("ImageName", imageName);
this.imageName = imageName;
return this;
}
/**
* The page number to return. Pages start from page 1. Default value: 1.
*
* example:
* 1
*/
public Builder pageNumber(Integer pageNumber) {
this.putQueryParameter("PageNumber", pageNumber);
this.pageNumber = pageNumber;
return this;
}
/**
* The number of entries per page.
* Default value: 10.
*
* example:
* 10
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* The ID of the snapshot.
*
* example:
* sp-5xg63dmojc1oaa3pk****
*/
public Builder snapshotId(String snapshotId) {
this.putQueryParameter("SnapshotId", snapshotId);
this.snapshotId = snapshotId;
return this;
}
@Override
public DescribeSelfImagesRequest build() {
return new DescribeSelfImagesRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy