com.aliyun.sdk.service.emr20210320.models.Page Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-emr20210320 Show documentation
Show all versions of alibabacloud-emr20210320 Show documentation
Alibaba Cloud Emr (20210320) Async SDK for Java
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 Page} extends {@link TeaModel}
*
* Page
*/
public class Page extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Items")
private java.util.List < String > items;
@com.aliyun.core.annotation.NameInMap("MaxResults")
private Long maxResults;
@com.aliyun.core.annotation.NameInMap("NextToken")
private String nextToken;
@com.aliyun.core.annotation.NameInMap("TotalCount")
private Long totalCount;
private Page(Builder builder) {
this.items = builder.items;
this.maxResults = builder.maxResults;
this.nextToken = builder.nextToken;
this.totalCount = builder.totalCount;
}
public static Builder builder() {
return new Builder();
}
public static Page create() {
return builder().build();
}
/**
* @return items
*/
public java.util.List < String > getItems() {
return this.items;
}
/**
* @return maxResults
*/
public Long getMaxResults() {
return this.maxResults;
}
/**
* @return nextToken
*/
public String getNextToken() {
return this.nextToken;
}
/**
* @return totalCount
*/
public Long getTotalCount() {
return this.totalCount;
}
public static final class Builder {
private java.util.List < String > items;
private Long maxResults;
private String nextToken;
private Long totalCount;
/**
* Items.
*/
public Builder items(java.util.List < String > items) {
this.items = items;
return this;
}
/**
* MaxResults.
*/
public Builder maxResults(Long maxResults) {
this.maxResults = maxResults;
return this;
}
/**
* NextToken.
*/
public Builder nextToken(String nextToken) {
this.nextToken = nextToken;
return this;
}
/**
* TotalCount.
*/
public Builder totalCount(Long totalCount) {
this.totalCount = totalCount;
return this;
}
public Page build() {
return new Page(this);
}
}
}