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

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

ListNodesResponseBody

*/ public class ListNodesResponseBody 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("Nodes") private java.util.List < Node > nodes; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private ListNodesResponseBody(Builder builder) { this.maxResults = builder.maxResults; this.nextToken = builder.nextToken; this.nodes = builder.nodes; this.requestId = builder.requestId; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static ListNodesResponseBody create() { return builder().build(); } /** * @return maxResults */ public Integer getMaxResults() { return this.maxResults; } /** * @return nextToken */ public String getNextToken() { return this.nextToken; } /** * @return nodes */ public java.util.List < Node > getNodes() { return this.nodes; } /** * @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 < Node > nodes; private String requestId; private Integer totalCount; /** * The maximum number of entries returned. */ public Builder maxResults(Integer maxResults) { this.maxResults = maxResults; return this; } /** * The position at which the next read starts. If null is returned, the data has been read. */ public Builder nextToken(String nextToken) { this.nextToken = nextToken; return this; } /** * Details about nodes. */ public Builder nodes(java.util.List < Node > nodes) { this.nodes = nodes; return this; } /** * The ID of the request. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * The total number of records in this request. */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public ListNodesResponseBody build() { return new ListNodesResponseBody(this); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy