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

com.aliyun.sdk.service.emr20210320.models.ListClustersResponseBody 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 ListClustersResponseBody} extends {@link TeaModel}
 *
 * 

ListClustersResponseBody

*/ public class ListClustersResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Clusters") private java.util.List < ClusterSummary > clusters; @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 ListClustersResponseBody(Builder builder) { this.clusters = builder.clusters; 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 ListClustersResponseBody create() { return builder().build(); } /** * @return clusters */ public java.util.List < ClusterSummary > getClusters() { return this.clusters; } /** * @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 < ClusterSummary > clusters; private Integer maxResults; private String nextToken; private String requestId; private Integer totalCount; /** * The clusters. */ public Builder clusters(java.util.List < ClusterSummary > clusters) { this.clusters = clusters; return this; } /** * The number of entries returned per page. */ public Builder maxResults(Integer maxResults) { this.maxResults = maxResults; return this; } /** * The page number of the next page returned. */ public Builder nextToken(String nextToken) { this.nextToken = nextToken; return this; } /** * The ID of the request. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * The total number of pages. */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public ListClustersResponseBody build() { return new ListClustersResponseBody(this); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy