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

com.aliyun.sdk.service.ens20171110.models.ListBucketsRequest 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 ListBucketsRequest} extends {@link RequestModel}
 *
 * 

ListBucketsRequest

*/ public class ListBucketsRequest extends Request { @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("Prefix") private String prefix; private ListBucketsRequest(Builder builder) { super(builder); this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.prefix = builder.prefix; } public static Builder builder() { return new Builder(); } public static ListBucketsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return pageNumber */ public String getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public String getPageSize() { return this.pageSize; } /** * @return prefix */ public String getPrefix() { return this.prefix; } public static final class Builder extends Request.Builder { private String pageNumber; private String pageSize; private String prefix; private Builder() { super(); } private Builder(ListBucketsRequest request) { super(request); this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.prefix = request.prefix; } /** *

The page number. Pages start from page 1.

* * example: *

1

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

The maximum number of returned buckets. You can leave this parameter empty. The default value is 10. The value cannot be greater than 100.

* * example: *

5

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

The prefix that returned bucket names must contain. If this parameter is not specified, prefix information will not be used as a filter.

* * example: *

image

*/ public Builder prefix(String prefix) { this.putQueryParameter("Prefix", prefix); this.prefix = prefix; return this; } @Override public ListBucketsRequest build() { return new ListBucketsRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy