com.aliyun.sdk.service.emr20210320.models.GetDoctorHDFSUGIRequest 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 GetDoctorHDFSUGIRequest} extends {@link RequestModel}
*
* GetDoctorHDFSUGIRequest
*/
public class GetDoctorHDFSUGIRequest 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("Name")
@com.aliyun.core.annotation.Validation(required = true)
private String name;
@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 GetDoctorHDFSUGIRequest(Builder builder) {
super(builder);
this.clusterId = builder.clusterId;
this.dateTime = builder.dateTime;
this.name = builder.name;
this.regionId = builder.regionId;
this.type = builder.type;
}
public static Builder builder() {
return new Builder();
}
public static GetDoctorHDFSUGIRequest 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 name
*/
public String getName() {
return this.name;
}
/**
* @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 String name;
private String regionId;
private String type;
private Builder() {
super();
}
private Builder(GetDoctorHDFSUGIRequest request) {
super(request);
this.clusterId = request.clusterId;
this.dateTime = request.dateTime;
this.name = request.name;
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;
}
/**
* Set this parameter based on the value of Type.
*/
public Builder name(String name) {
this.putQueryParameter("Name", name);
this.name = name;
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 GetDoctorHDFSUGIRequest build() {
return new GetDoctorHDFSUGIRequest(this);
}
}
}