com.aliyun.sdk.service.emr20210320.models.ListDoctorHBaseRegionServersRequest Maven / Gradle / Ivy
Show all versions of alibabacloud-emr20210320 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.emr20210320.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link ListDoctorHBaseRegionServersRequest} extends {@link RequestModel}
*
* ListDoctorHBaseRegionServersRequest
*/
public class ListDoctorHBaseRegionServersRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClusterId")
@com.aliyun.core.annotation.Validation(required = true)
private String clusterId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DateTime")
@com.aliyun.core.annotation.Validation(required = true)
private String dateTime;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MaxResults")
private Integer maxResults;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NextToken")
private String nextToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OrderBy")
private String orderBy;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OrderType")
private String orderType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionServerHosts")
private java.util.List < String > regionServerHosts;
private ListDoctorHBaseRegionServersRequest(Builder builder) {
super(builder);
this.clusterId = builder.clusterId;
this.dateTime = builder.dateTime;
this.maxResults = builder.maxResults;
this.nextToken = builder.nextToken;
this.orderBy = builder.orderBy;
this.orderType = builder.orderType;
this.regionId = builder.regionId;
this.regionServerHosts = builder.regionServerHosts;
}
public static Builder builder() {
return new Builder();
}
public static ListDoctorHBaseRegionServersRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return dateTime
*/
public String getDateTime() {
return this.dateTime;
}
/**
* @return maxResults
*/
public Integer getMaxResults() {
return this.maxResults;
}
/**
* @return nextToken
*/
public String getNextToken() {
return this.nextToken;
}
/**
* @return orderBy
*/
public String getOrderBy() {
return this.orderBy;
}
/**
* @return orderType
*/
public String getOrderType() {
return this.orderType;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return regionServerHosts
*/
public java.util.List < String > getRegionServerHosts() {
return this.regionServerHosts;
}
public static final class Builder extends Request.Builder {
private String clusterId;
private String dateTime;
private Integer maxResults;
private String nextToken;
private String orderBy;
private String orderType;
private String regionId;
private java.util.List < String > regionServerHosts;
private Builder() {
super();
}
private Builder(ListDoctorHBaseRegionServersRequest request) {
super(request);
this.clusterId = request.clusterId;
this.dateTime = request.dateTime;
this.maxResults = request.maxResults;
this.nextToken = request.nextToken;
this.orderBy = request.orderBy;
this.orderType = request.orderType;
this.regionId = request.regionId;
this.regionServerHosts = request.regionServerHosts;
}
/**
* The cluster ID.
*/
public Builder clusterId(String clusterId) {
this.putQueryParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* The query date.
*/
public Builder dateTime(String dateTime) {
this.putQueryParameter("DateTime", dateTime);
this.dateTime = dateTime;
return this;
}
/**
* The maximum number of entries to return on each page.
*/
public Builder maxResults(Integer maxResults) {
this.putQueryParameter("MaxResults", maxResults);
this.maxResults = maxResults;
return this;
}
/**
* The pagination token that is used in the request to retrieve a new page of results.
*/
public Builder nextToken(String nextToken) {
this.putQueryParameter("NextToken", nextToken);
this.nextToken = nextToken;
return this;
}
/**
* The field that you use to sort the query results. Valid value:
*
*
* * regionCount: the number of regions.
*/
public Builder orderBy(String orderBy) {
this.putQueryParameter("OrderBy", orderBy);
this.orderBy = orderBy;
return this;
}
/**
* The order in which you want to sort the query results. Valid value:
*
*
* * ASC: in ascending order
* * DESC: in descending order
*/
public Builder orderType(String orderType) {
this.putQueryParameter("OrderType", orderType);
this.orderType = orderType;
return this;
}
/**
* The region ID.
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* The RegionServer hosts.
*/
public Builder regionServerHosts(java.util.List < String > regionServerHosts) {
this.putQueryParameter("RegionServerHosts", regionServerHosts);
this.regionServerHosts = regionServerHosts;
return this;
}
@Override
public ListDoctorHBaseRegionServersRequest build() {
return new ListDoctorHBaseRegionServersRequest(this);
}
}
}