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

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

ListNodeGroupsResponseBody

*/ public class ListNodeGroupsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("MaxResults") private Integer maxResults; @com.aliyun.core.annotation.NameInMap("NextToken") private String nextToken; @com.aliyun.core.annotation.NameInMap("NodeGroups") private java.util.List < NodeGroup > nodeGroups; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private ListNodeGroupsResponseBody(Builder builder) { this.maxResults = builder.maxResults; this.nextToken = builder.nextToken; this.nodeGroups = builder.nodeGroups; this.requestId = builder.requestId; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static ListNodeGroupsResponseBody create() { return builder().build(); } /** * @return maxResults */ public Integer getMaxResults() { return this.maxResults; } /** * @return nextToken */ public String getNextToken() { return this.nextToken; } /** * @return nodeGroups */ public java.util.List < NodeGroup > getNodeGroups() { return this.nodeGroups; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer maxResults; private String nextToken; private java.util.List < NodeGroup > nodeGroups; private String requestId; private Integer totalCount; /** * The maximum number of entries returned. */ public Builder maxResults(Integer maxResults) { this.maxResults = maxResults; return this; } /** * Returns the location of the data that was read. Empty indicates that the data has been read. */ public Builder nextToken(String nextToken) { this.nextToken = nextToken; return this; } /** * The array of node groups. */ public Builder nodeGroups(java.util.List < NodeGroup > nodeGroups) { this.nodeGroups = nodeGroups; return this; } /** * The ID of the request. */ 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 ListNodeGroupsResponseBody build() { return new ListNodeGroupsResponseBody(this); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy