com.aliyun.sdk.service.emr20210320.models.ListReleaseVersionsResponseBody 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 ListReleaseVersionsResponseBody} extends {@link TeaModel}
*
* ListReleaseVersionsResponseBody
*/
public class ListReleaseVersionsResponseBody 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("ReleaseVersions")
private java.util.List < ReleaseVersions> releaseVersions;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("TotalCount")
private Integer totalCount;
private ListReleaseVersionsResponseBody(Builder builder) {
this.maxResults = builder.maxResults;
this.nextToken = builder.nextToken;
this.releaseVersions = builder.releaseVersions;
this.requestId = builder.requestId;
this.totalCount = builder.totalCount;
}
public static Builder builder() {
return new Builder();
}
public static ListReleaseVersionsResponseBody create() {
return builder().build();
}
/**
* @return maxResults
*/
public Integer getMaxResults() {
return this.maxResults;
}
/**
* @return nextToken
*/
public String getNextToken() {
return this.nextToken;
}
/**
* @return releaseVersions
*/
public java.util.List < ReleaseVersions> getReleaseVersions() {
return this.releaseVersions;
}
/**
* @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 < ReleaseVersions> releaseVersions;
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.
*/
public Builder nextToken(String nextToken) {
this.nextToken = nextToken;
return this;
}
/**
* The major EMR versions.
*/
public Builder releaseVersions(java.util.List < ReleaseVersions> releaseVersions) {
this.releaseVersions = releaseVersions;
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 ListReleaseVersionsResponseBody build() {
return new ListReleaseVersionsResponseBody(this);
}
}
public static class ReleaseVersions extends TeaModel {
@com.aliyun.core.annotation.NameInMap("IaasType")
private String iaasType;
@com.aliyun.core.annotation.NameInMap("ReleaseVersion")
private String releaseVersion;
@com.aliyun.core.annotation.NameInMap("Series")
private String series;
private ReleaseVersions(Builder builder) {
this.iaasType = builder.iaasType;
this.releaseVersion = builder.releaseVersion;
this.series = builder.series;
}
public static Builder builder() {
return new Builder();
}
public static ReleaseVersions create() {
return builder().build();
}
/**
* @return iaasType
*/
public String getIaasType() {
return this.iaasType;
}
/**
* @return releaseVersion
*/
public String getReleaseVersion() {
return this.releaseVersion;
}
/**
* @return series
*/
public String getSeries() {
return this.series;
}
public static final class Builder {
private String iaasType;
private String releaseVersion;
private String series;
/**
* The IaaS type.
*/
public Builder iaasType(String iaasType) {
this.iaasType = iaasType;
return this;
}
/**
* The EMR version.
*/
public Builder releaseVersion(String releaseVersion) {
this.releaseVersion = releaseVersion;
return this;
}
/**
* The version series.
*/
public Builder series(String series) {
this.series = series;
return this;
}
public ReleaseVersions build() {
return new ReleaseVersions(this);
}
}
}
}