com.aliyun.sdk.service.ververica20220718.models.ListMembersRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-ververica20220718 Show documentation
Show all versions of alibabacloud-ververica20220718 Show documentation
Alibaba Cloud ververica (20220718) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link ListMembersRequest} extends {@link RequestModel}
*
* ListMembersRequest
*/
public class ListMembersRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("namespace")
@com.aliyun.core.annotation.Validation(required = true)
private String namespace;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("pageIndex")
private Integer pageIndex;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("pageSize")
@com.aliyun.core.annotation.Validation(maximum = 100, minimum = 1)
private Integer pageSize;
@com.aliyun.core.annotation.Header
@com.aliyun.core.annotation.NameInMap("workspace")
@com.aliyun.core.annotation.Validation(required = true)
private String workspace;
private ListMembersRequest(Builder builder) {
super(builder);
this.namespace = builder.namespace;
this.pageIndex = builder.pageIndex;
this.pageSize = builder.pageSize;
this.workspace = builder.workspace;
}
public static Builder builder() {
return new Builder();
}
public static ListMembersRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return namespace
*/
public String getNamespace() {
return this.namespace;
}
/**
* @return pageIndex
*/
public Integer getPageIndex() {
return this.pageIndex;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return workspace
*/
public String getWorkspace() {
return this.workspace;
}
public static final class Builder extends Request.Builder {
private String namespace;
private Integer pageIndex;
private Integer pageSize;
private String workspace;
private Builder() {
super();
}
private Builder(ListMembersRequest request) {
super(request);
this.namespace = request.namespace;
this.pageIndex = request.pageIndex;
this.pageSize = request.pageSize;
this.workspace = request.workspace;
}
/**
* The name of the namespace.
*/
public Builder namespace(String namespace) {
this.putPathParameter("namespace", namespace);
this.namespace = namespace;
return this;
}
/**
* The page number. Default value: 1.
*/
public Builder pageIndex(Integer pageIndex) {
this.putQueryParameter("pageIndex", pageIndex);
this.pageIndex = pageIndex;
return this;
}
/**
* The number of entries per page. Default value: 10. Maximum value: 100.
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("pageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* The workspace ID.
*/
public Builder workspace(String workspace) {
this.putHeaderParameter("workspace", workspace);
this.workspace = workspace;
return this;
}
@Override
public ListMembersRequest build() {
return new ListMembersRequest(this);
}
}
}