com.aliyun.sdk.service.maxcompute20220104.models.ListUsersRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-maxcompute20220104 Show documentation
Show all versions of alibabacloud-maxcompute20220104 Show documentation
Alibaba Cloud MaxCompute (20220104) Async SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.maxcompute20220104.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link ListUsersRequest} extends {@link RequestModel}
*
* ListUsersRequest
*/
public class ListUsersRequest extends Request {
@Query
@NameInMap("pageNumber")
private Integer pageNumber;
@Query
@NameInMap("pageSize")
private Integer pageSize;
private ListUsersRequest(Builder builder) {
super(builder);
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
}
public static Builder builder() {
return new Builder();
}
public static ListUsersRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
public static final class Builder extends Request.Builder {
private Integer pageNumber;
private Integer pageSize;
private Builder() {
super();
}
private Builder(ListUsersRequest request) {
super(request);
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
}
/**
* The number of the page to return.
*/
public Builder pageNumber(Integer pageNumber) {
this.putQueryParameter("pageNumber", pageNumber);
this.pageNumber = pageNumber;
return this;
}
/**
* The number of entries to return on each page.
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("pageSize", pageSize);
this.pageSize = pageSize;
return this;
}
@Override
public ListUsersRequest build() {
return new ListUsersRequest(this);
}
}
}