All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.sdk.service.emr20210320.models.ListDoctorJobsStatsResponseBody Maven / Gradle / Ivy

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 ListDoctorJobsStatsResponseBody} extends {@link TeaModel}
 *
 * 

ListDoctorJobsStatsResponseBody

*/ public class ListDoctorJobsStatsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Data") private java.util.List < Data> data; @com.aliyun.core.annotation.NameInMap("MaxResults") private Integer maxResults; @com.aliyun.core.annotation.NameInMap("NextToken") private String nextToken; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private ListDoctorJobsStatsResponseBody(Builder builder) { this.data = builder.data; this.maxResults = builder.maxResults; this.nextToken = builder.nextToken; this.requestId = builder.requestId; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static ListDoctorJobsStatsResponseBody create() { return builder().build(); } /** * @return data */ public java.util.List < Data> getData() { return this.data; } /** * @return maxResults */ public Integer getMaxResults() { return this.maxResults; } /** * @return nextToken */ public String getNextToken() { return this.nextToken; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private java.util.List < Data> data; private Integer maxResults; private String nextToken; private String requestId; private Integer totalCount; /** * The summary of job information. */ public Builder data(java.util.List < Data> data) { this.data = data; return this; } /** * The maximum number of entries returned. */ public Builder maxResults(Integer maxResults) { this.maxResults = maxResults; return this; } /** * A pagination token. */ public Builder nextToken(String nextToken) { this.nextToken = nextToken; return this; } /** * The request ID. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * The total number of entries returned. */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public ListDoctorJobsStatsResponseBody build() { return new ListDoctorJobsStatsResponseBody(this); } } public static class AppsCount extends TeaModel { @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("Unit") private String unit; @com.aliyun.core.annotation.NameInMap("Value") private Long value; private AppsCount(Builder builder) { this.description = builder.description; this.name = builder.name; this.unit = builder.unit; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static AppsCount create() { return builder().build(); } /** * @return description */ public String getDescription() { return this.description; } /** * @return name */ public String getName() { return this.name; } /** * @return unit */ public String getUnit() { return this.unit; } /** * @return value */ public Long getValue() { return this.value; } public static final class Builder { private String description; private String name; private String unit; private Long value; /** * The description of the metric. */ public Builder description(String description) { this.description = description; return this; } /** * The name of the metric. */ public Builder name(String name) { this.name = name; return this; } /** * The unit of the metric. */ public Builder unit(String unit) { this.unit = unit; return this; } /** * The value of the metric. */ public Builder value(Long value) { this.value = value; return this; } public AppsCount build() { return new AppsCount(this); } } } public static class MemSeconds extends TeaModel { @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("Unit") private String unit; @com.aliyun.core.annotation.NameInMap("Value") private Long value; private MemSeconds(Builder builder) { this.description = builder.description; this.name = builder.name; this.unit = builder.unit; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static MemSeconds create() { return builder().build(); } /** * @return description */ public String getDescription() { return this.description; } /** * @return name */ public String getName() { return this.name; } /** * @return unit */ public String getUnit() { return this.unit; } /** * @return value */ public Long getValue() { return this.value; } public static final class Builder { private String description; private String name; private String unit; private Long value; /** * The description of the metric. */ public Builder description(String description) { this.description = description; return this; } /** * The name of the metric. */ public Builder name(String name) { this.name = name; return this; } /** * The unit of the metric. */ public Builder unit(String unit) { this.unit = unit; return this; } /** * The value of the metric. */ public Builder value(Long value) { this.value = value; return this; } public MemSeconds build() { return new MemSeconds(this); } } } public static class VcoreSeconds extends TeaModel { @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("Unit") private String unit; @com.aliyun.core.annotation.NameInMap("Value") private Long value; private VcoreSeconds(Builder builder) { this.description = builder.description; this.name = builder.name; this.unit = builder.unit; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static VcoreSeconds create() { return builder().build(); } /** * @return description */ public String getDescription() { return this.description; } /** * @return name */ public String getName() { return this.name; } /** * @return unit */ public String getUnit() { return this.unit; } /** * @return value */ public Long getValue() { return this.value; } public static final class Builder { private String description; private String name; private String unit; private Long value; /** * The description of the metric. */ public Builder description(String description) { this.description = description; return this; } /** * The name of the metric. */ public Builder name(String name) { this.name = name; return this; } /** * The unit of the metric. */ public Builder unit(String unit) { this.unit = unit; return this; } /** * The value of the metric. */ public Builder value(Long value) { this.value = value; return this; } public VcoreSeconds build() { return new VcoreSeconds(this); } } } public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("AppsCount") private AppsCount appsCount; @com.aliyun.core.annotation.NameInMap("MemSeconds") private MemSeconds memSeconds; @com.aliyun.core.annotation.NameInMap("Queue") private String queue; @com.aliyun.core.annotation.NameInMap("Type") private String type; @com.aliyun.core.annotation.NameInMap("User") private String user; @com.aliyun.core.annotation.NameInMap("VcoreSeconds") private VcoreSeconds vcoreSeconds; private Data(Builder builder) { this.appsCount = builder.appsCount; this.memSeconds = builder.memSeconds; this.queue = builder.queue; this.type = builder.type; this.user = builder.user; this.vcoreSeconds = builder.vcoreSeconds; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return appsCount */ public AppsCount getAppsCount() { return this.appsCount; } /** * @return memSeconds */ public MemSeconds getMemSeconds() { return this.memSeconds; } /** * @return queue */ public String getQueue() { return this.queue; } /** * @return type */ public String getType() { return this.type; } /** * @return user */ public String getUser() { return this.user; } /** * @return vcoreSeconds */ public VcoreSeconds getVcoreSeconds() { return this.vcoreSeconds; } public static final class Builder { private AppsCount appsCount; private MemSeconds memSeconds; private String queue; private String type; private String user; private VcoreSeconds vcoreSeconds; /** * The total number of jobs. */ public Builder appsCount(AppsCount appsCount) { this.appsCount = appsCount; return this; } /** * The aggregated amount of memory that is allocated to the job multiplied by the number of seconds the job has been running. */ public Builder memSeconds(MemSeconds memSeconds) { this.memSeconds = memSeconds; return this; } /** * The YARN queue to which the job was submitted. */ public Builder queue(String queue) { this.queue = queue; return this; } /** * The type of the compute engine. */ public Builder type(String type) { this.type = type; return this; } /** * The username that is used to submit the job. */ public Builder user(String user) { this.user = user; return this; } /** * The aggregated number of vCPUs that are allocated to the job multiplied by the number of seconds the job has been running. */ public Builder vcoreSeconds(VcoreSeconds vcoreSeconds) { this.vcoreSeconds = vcoreSeconds; return this; } public Data build() { return new Data(this); } } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy