com.aliyun.sdk.service.emr20210320.models.ListDoctorApplicationsRequest 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 ListDoctorApplicationsRequest} extends {@link RequestModel}
*
* ListDoctorApplicationsRequest
*/
public class ListDoctorApplicationsRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AppIds")
private java.util.List < String > appIds;
@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("Queues")
private java.util.List < String > queues;
@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("Types")
private java.util.List < String > types;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Users")
private java.util.List < String > users;
private ListDoctorApplicationsRequest(Builder builder) {
super(builder);
this.appIds = builder.appIds;
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.queues = builder.queues;
this.regionId = builder.regionId;
this.types = builder.types;
this.users = builder.users;
}
public static Builder builder() {
return new Builder();
}
public static ListDoctorApplicationsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return appIds
*/
public java.util.List < String > getAppIds() {
return this.appIds;
}
/**
* @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 queues
*/
public java.util.List < String > getQueues() {
return this.queues;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return types
*/
public java.util.List < String > getTypes() {
return this.types;
}
/**
* @return users
*/
public java.util.List < String > getUsers() {
return this.users;
}
public static final class Builder extends Request.Builder {
private java.util.List < String > appIds;
private String clusterId;
private String dateTime;
private Integer maxResults;
private String nextToken;
private String orderBy;
private String orderType;
private java.util.List < String > queues;
private String regionId;
private java.util.List < String > types;
private java.util.List < String > users;
private Builder() {
super();
}
private Builder(ListDoctorApplicationsRequest request) {
super(request);
this.appIds = request.appIds;
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.queues = request.queues;
this.regionId = request.regionId;
this.types = request.types;
this.users = request.users;
}
/**
* The IDs of jobs that are submitted to YARN.
*/
public Builder appIds(java.util.List < String > appIds) {
this.putQueryParameter("AppIds", appIds);
this.appIds = appIds;
return this;
}
/**
* 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 field that you use to sort the query results. Valid values:
*
*
* 1. startTime: the time when the job starts
* 2. endTime: the time when the job ends
* 3. vcoreUtilization: the vCPU utilization of the job
* 4. memUtilization: the memory usage of the job
* 5. vcoreSeconds: the aggregated number of vCPUs that are allocated to the job multiplied by the number of seconds the job has been running
* 6. memSeconds: the aggregated amount of memory that is allocated to the job multiplied by the number of seconds the job has been running
* 7. score: the score of the job
*/
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: the ascending order
* * DESC: the descending order
*/
public Builder orderType(String orderType) {
this.putQueryParameter("OrderType", orderType);
this.orderType = orderType;
return this;
}
/**
* The YARN queues to which the jobs are submitted.
*/
public Builder queues(java.util.List < String > queues) {
this.putQueryParameter("Queues", queues);
this.queues = queues;
return this;
}
/**
* The region ID.
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* The YARN engines to which the jobs are submitted.
*/
public Builder types(java.util.List < String > types) {
this.putQueryParameter("Types", types);
this.types = types;
return this;
}
/**
* The users who submit the jobs.
*/
public Builder users(java.util.List < String > users) {
this.putQueryParameter("Users", users);
this.users = users;
return this;
}
@Override
public ListDoctorApplicationsRequest build() {
return new ListDoctorApplicationsRequest(this);
}
}
}