com.aliyun.sdk.service.emr20210320.models.ListDoctorHDFSDirectoriesRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-emr20210320 Show documentation
Show all versions of alibabacloud-emr20210320 Show documentation
Alibaba Cloud Emr (20210320) Async SDK for Java
The newest version!
// 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 ListDoctorHDFSDirectoriesRequest} extends {@link RequestModel}
*
* ListDoctorHDFSDirectoriesRequest
*/
public class ListDoctorHDFSDirectoriesRequest 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("DirPath")
private String dirPath;
@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;
private ListDoctorHDFSDirectoriesRequest(Builder builder) {
super(builder);
this.clusterId = builder.clusterId;
this.dateTime = builder.dateTime;
this.dirPath = builder.dirPath;
this.maxResults = builder.maxResults;
this.nextToken = builder.nextToken;
this.orderBy = builder.orderBy;
this.orderType = builder.orderType;
this.regionId = builder.regionId;
}
public static Builder builder() {
return new Builder();
}
public static ListDoctorHDFSDirectoriesRequest 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 dirPath
*/
public String getDirPath() {
return this.dirPath;
}
/**
* @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;
}
public static final class Builder extends Request.Builder {
private String clusterId;
private String dateTime;
private String dirPath;
private Integer maxResults;
private String nextToken;
private String orderBy;
private String orderType;
private String regionId;
private Builder() {
super();
}
private Builder(ListDoctorHDFSDirectoriesRequest request) {
super(request);
this.clusterId = request.clusterId;
this.dateTime = request.dateTime;
this.dirPath = request.dirPath;
this.maxResults = request.maxResults;
this.nextToken = request.nextToken;
this.orderBy = request.orderBy;
this.orderType = request.orderType;
this.regionId = request.regionId;
}
/**
* 集群ID。
*/
public Builder clusterId(String clusterId) {
this.putQueryParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* DateTime.
*/
public Builder dateTime(String dateTime) {
this.putQueryParameter("DateTime", dateTime);
this.dateTime = dateTime;
return this;
}
/**
* DirPath.
*/
public Builder dirPath(String dirPath) {
this.putQueryParameter("DirPath", dirPath);
this.dirPath = dirPath;
return this;
}
/**
* 一次获取的最大记录数。取值范围:1~100。
*/
public Builder maxResults(Integer maxResults) {
this.putQueryParameter("MaxResults", maxResults);
this.maxResults = maxResults;
return this;
}
/**
* 标记当前开始读取的位置,置空表示从头开始。
*/
public Builder nextToken(String nextToken) {
this.putQueryParameter("NextToken", nextToken);
this.nextToken = nextToken;
return this;
}
/**
* OrderBy.
*/
public Builder orderBy(String orderBy) {
this.putQueryParameter("OrderBy", orderBy);
this.orderBy = orderBy;
return this;
}
/**
* OrderType.
*/
public Builder orderType(String orderType) {
this.putQueryParameter("OrderType", orderType);
this.orderType = orderType;
return this;
}
/**
* 区域ID。
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
@Override
public ListDoctorHDFSDirectoriesRequest build() {
return new ListDoctorHDFSDirectoriesRequest(this);
}
}
}