com.aliyun.sdk.service.emr20210320.models.GetDoctorReportComponentSummaryRequest 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 GetDoctorReportComponentSummaryRequest} extends {@link RequestModel}
*
* GetDoctorReportComponentSummaryRequest
*/
public class GetDoctorReportComponentSummaryRequest 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("ComponentType")
@com.aliyun.core.annotation.Validation(required = true)
private String componentType;
@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("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
private GetDoctorReportComponentSummaryRequest(Builder builder) {
super(builder);
this.clusterId = builder.clusterId;
this.componentType = builder.componentType;
this.dateTime = builder.dateTime;
this.regionId = builder.regionId;
}
public static Builder builder() {
return new Builder();
}
public static GetDoctorReportComponentSummaryRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return componentType
*/
public String getComponentType() {
return this.componentType;
}
/**
* @return dateTime
*/
public String getDateTime() {
return this.dateTime;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
public static final class Builder extends Request.Builder {
private String clusterId;
private String componentType;
private String dateTime;
private String regionId;
private Builder() {
super();
}
private Builder(GetDoctorReportComponentSummaryRequest request) {
super(request);
this.clusterId = request.clusterId;
this.componentType = request.componentType;
this.dateTime = request.dateTime;
this.regionId = request.regionId;
}
/**
* 集群ID。
*/
public Builder clusterId(String clusterId) {
this.putQueryParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* component type
*/
public Builder componentType(String componentType) {
this.putQueryParameter("ComponentType", componentType);
this.componentType = componentType;
return this;
}
/**
* dateTime for specify report
*/
public Builder dateTime(String dateTime) {
this.putQueryParameter("DateTime", dateTime);
this.dateTime = dateTime;
return this;
}
/**
* 区域ID。
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
@Override
public GetDoctorReportComponentSummaryRequest build() {
return new GetDoctorReportComponentSummaryRequest(this);
}
}
}