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

com.aliyun.sdk.service.ens20171110.models.DescribeImagesRequest Maven / Gradle / Ivy

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 DescribeImagesRequest} extends {@link RequestModel}
 *
 * 

DescribeImagesRequest

*/ public class DescribeImagesRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EnsRegionId") private String ensRegionId; @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 String pageNumber; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private String pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SnapshotId") private String snapshotId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Status") private String status; private DescribeImagesRequest(Builder builder) { super(builder); this.ensRegionId = builder.ensRegionId; this.imageId = builder.imageId; this.imageName = builder.imageName; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.snapshotId = builder.snapshotId; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static DescribeImagesRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return ensRegionId */ public String getEnsRegionId() { return this.ensRegionId; } /** * @return imageId */ public String getImageId() { return this.imageId; } /** * @return imageName */ public String getImageName() { return this.imageName; } /** * @return pageNumber */ public String getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public String getPageSize() { return this.pageSize; } /** * @return snapshotId */ public String getSnapshotId() { return this.snapshotId; } /** * @return status */ public String getStatus() { return this.status; } public static final class Builder extends Request.Builder { private String ensRegionId; private String imageId; private String imageName; private String pageNumber; private String pageSize; private String snapshotId; private String status; private Builder() { super(); } private Builder(DescribeImagesRequest request) { super(request); this.ensRegionId = request.ensRegionId; this.imageId = request.imageId; this.imageName = request.imageName; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.snapshotId = request.snapshotId; this.status = request.status; } /** *

The ID of the Edge Node Service (ENS) node.

* * example: *

cn-dalian-unicom

*/ public Builder ensRegionId(String ensRegionId) { this.putQueryParameter("EnsRegionId", ensRegionId); this.ensRegionId = ensRegionId; return this; } /** *

The ID of the image. You can specify only one image ID.

*

Custom images and public images are supported.

* * example: *

m-5qm2r6xo7njrpdkx04q1o****

*/ public Builder imageId(String imageId) { this.putQueryParameter("ImageId", imageId); this.imageId = imageId; return this; } /** *

The name of the custom image. The name must be 2 to 128 characters in length The name must start with a letter and cannot start with acs: or aliyun. The name cannot contain http:// or https://. The name can contain letters, digits, periods (.), colons (:), underscores (_), and hyphens (-).

*

By default, this parameter is left empty, which indicates that the original name is retained.

* * example: *

centos_6_08_64_20G_a****

*/ public Builder imageName(String imageName) { this.putQueryParameter("ImageName", imageName); this.imageName = imageName; return this; } /** *

The page number. Pages start from page 1.

*

Default value: 1.

* * example: *

1

*/ public Builder pageNumber(String pageNumber) { this.putQueryParameter("PageNumber", pageNumber); this.pageNumber = pageNumber; return this; } /** *

The number of entries per page. Maximum value: 50.

*

Default value: 10.

* * example: *

50

*/ public Builder pageSize(String pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** *

The ID of the snapshot.

* * example: *

mock-clone_snapshot_id

*/ public Builder snapshotId(String snapshotId) { this.putQueryParameter("SnapshotId", snapshotId); this.snapshotId = snapshotId; return this; } /** *

This parameter is unavailable.

* * example: *

This parameter is not currently in use.

*/ public Builder status(String status) { this.putQueryParameter("Status", status); this.status = status; return this; } @Override public DescribeImagesRequest build() { return new DescribeImagesRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy