com.aliyun.sdk.service.cs20151215.models.ListUserKubeConfigStatesRequest Maven / Gradle / Ivy
Show all versions of alibabacloud-cs20151215 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cs20151215.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link ListUserKubeConfigStatesRequest} extends {@link RequestModel}
*
* ListUserKubeConfigStatesRequest
*/
public class ListUserKubeConfigStatesRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("Uid")
private String uid;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("page_number")
private Integer pageNumber;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("page_size")
private Integer pageSize;
private ListUserKubeConfigStatesRequest(Builder builder) {
super(builder);
this.uid = builder.uid;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
}
public static Builder builder() {
return new Builder();
}
public static ListUserKubeConfigStatesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return uid
*/
public String getUid() {
return this.uid;
}
/**
* @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 String uid;
private Integer pageNumber;
private Integer pageSize;
private Builder() {
super();
}
private Builder(ListUserKubeConfigStatesRequest request) {
super(request);
this.uid = request.uid;
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
}
/**
* The ID of the specified Resource Access Management (RAM) user or RAM role within the Alibaba Cloud account.
*/
public Builder uid(String uid) {
this.putPathParameter("Uid", uid);
this.uid = uid;
return this;
}
/**
* The page number.
*
*
* * Valid values: ≥ 1.
* * Default value: 1.
*/
public Builder pageNumber(Integer pageNumber) {
this.putQueryParameter("page_number", pageNumber);
this.pageNumber = pageNumber;
return this;
}
/**
* The number of entries per page.
*
*
* * Value values: 1 to 100.
* * Default value: 50.
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("page_size", pageSize);
this.pageSize = pageSize;
return this;
}
@Override
public ListUserKubeConfigStatesRequest build() {
return new ListUserKubeConfigStatesRequest(this);
}
}
}