com.aliyun.sdk.service.emr20210320.models.ListDoctorHDFSUGIRequest 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 ListDoctorHDFSUGIRequest} extends {@link RequestModel}
*
* ListDoctorHDFSUGIRequest
*/
public class ListDoctorHDFSUGIRequest 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("Type")
@com.aliyun.core.annotation.Validation(required = true)
private String type;
private ListDoctorHDFSUGIRequest(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.type = builder.type;
}
public static Builder builder() {
return new Builder();
}
public static ListDoctorHDFSUGIRequest 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 type
*/
public String getType() {
return this.type;
}
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 String type;
private Builder() {
super();
}
private Builder(ListDoctorHDFSUGIRequest 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.type = request.type;
}
/**
* The cluster ID.
*/
public Builder clusterId(String clusterId) {
this.putQueryParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* Specify the date in the ISO 8601 standard. For example, 2023-01-01 represents January 1, 2023.
*/
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 basis on which you want to sort the query results. Valid values:
*
*
* * totalFileCount: the total number of files
* * totalDataSize: the total data size
* * totalDirCount: the total number of directories
*/
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 values:
*
*
* * 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 filter condition. Valid values:
*
*
* * user
* * group
*/
public Builder type(String type) {
this.putQueryParameter("Type", type);
this.type = type;
return this;
}
@Override
public ListDoctorHDFSUGIRequest build() {
return new ListDoctorHDFSUGIRequest(this);
}
}
}