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

com.aliyun.sdk.service.polardb20170801.models.DescribeDBClusterVersionResponseBody Maven / Gradle / Ivy

There is a newer version: 4.0.29
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.polardb20170801.models;

import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * {@link DescribeDBClusterVersionResponseBody} extends {@link TeaModel}
 *
 * 

DescribeDBClusterVersionResponseBody

*/ public class DescribeDBClusterVersionResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("DBClusterId") private String DBClusterId; @com.aliyun.core.annotation.NameInMap("DBLatestVersion") private String DBLatestVersion; @com.aliyun.core.annotation.NameInMap("DBMinorVersion") private String DBMinorVersion; @com.aliyun.core.annotation.NameInMap("DBRevisionVersion") private String DBRevisionVersion; @com.aliyun.core.annotation.NameInMap("DBRevisionVersionList") private java.util.List < DBRevisionVersionList> DBRevisionVersionList; @com.aliyun.core.annotation.NameInMap("DBVersion") private String DBVersion; @com.aliyun.core.annotation.NameInMap("DBVersionStatus") private String DBVersionStatus; @com.aliyun.core.annotation.NameInMap("IsLatestVersion") private String isLatestVersion; @com.aliyun.core.annotation.NameInMap("IsProxyLatestVersion") private String isProxyLatestVersion; @com.aliyun.core.annotation.NameInMap("ProxyLatestVersion") private String proxyLatestVersion; @com.aliyun.core.annotation.NameInMap("ProxyRevisionVersion") private String proxyRevisionVersion; @com.aliyun.core.annotation.NameInMap("ProxyRevisionVersionList") private java.util.List < ProxyRevisionVersionList> proxyRevisionVersionList; @com.aliyun.core.annotation.NameInMap("ProxyVersionStatus") private String proxyVersionStatus; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeDBClusterVersionResponseBody(Builder builder) { this.DBClusterId = builder.DBClusterId; this.DBLatestVersion = builder.DBLatestVersion; this.DBMinorVersion = builder.DBMinorVersion; this.DBRevisionVersion = builder.DBRevisionVersion; this.DBRevisionVersionList = builder.DBRevisionVersionList; this.DBVersion = builder.DBVersion; this.DBVersionStatus = builder.DBVersionStatus; this.isLatestVersion = builder.isLatestVersion; this.isProxyLatestVersion = builder.isProxyLatestVersion; this.proxyLatestVersion = builder.proxyLatestVersion; this.proxyRevisionVersion = builder.proxyRevisionVersion; this.proxyRevisionVersionList = builder.proxyRevisionVersionList; this.proxyVersionStatus = builder.proxyVersionStatus; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeDBClusterVersionResponseBody create() { return builder().build(); } /** * @return DBClusterId */ public String getDBClusterId() { return this.DBClusterId; } /** * @return DBLatestVersion */ public String getDBLatestVersion() { return this.DBLatestVersion; } /** * @return DBMinorVersion */ public String getDBMinorVersion() { return this.DBMinorVersion; } /** * @return DBRevisionVersion */ public String getDBRevisionVersion() { return this.DBRevisionVersion; } /** * @return DBRevisionVersionList */ public java.util.List < DBRevisionVersionList> getDBRevisionVersionList() { return this.DBRevisionVersionList; } /** * @return DBVersion */ public String getDBVersion() { return this.DBVersion; } /** * @return DBVersionStatus */ public String getDBVersionStatus() { return this.DBVersionStatus; } /** * @return isLatestVersion */ public String getIsLatestVersion() { return this.isLatestVersion; } /** * @return isProxyLatestVersion */ public String getIsProxyLatestVersion() { return this.isProxyLatestVersion; } /** * @return proxyLatestVersion */ public String getProxyLatestVersion() { return this.proxyLatestVersion; } /** * @return proxyRevisionVersion */ public String getProxyRevisionVersion() { return this.proxyRevisionVersion; } /** * @return proxyRevisionVersionList */ public java.util.List < ProxyRevisionVersionList> getProxyRevisionVersionList() { return this.proxyRevisionVersionList; } /** * @return proxyVersionStatus */ public String getProxyVersionStatus() { return this.proxyVersionStatus; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String DBClusterId; private String DBLatestVersion; private String DBMinorVersion; private String DBRevisionVersion; private java.util.List < DBRevisionVersionList> DBRevisionVersionList; private String DBVersion; private String DBVersionStatus; private String isLatestVersion; private String isProxyLatestVersion; private String proxyLatestVersion; private String proxyRevisionVersion; private java.util.List < ProxyRevisionVersionList> proxyRevisionVersionList; private String proxyVersionStatus; private String requestId; /** * The ID of cluster. */ public Builder DBClusterId(String DBClusterId) { this.DBClusterId = DBClusterId; return this; } /** * The latest version of the database engine. */ public Builder DBLatestVersion(String DBLatestVersion) { this.DBLatestVersion = DBLatestVersion; return this; } /** * The minor version of the database engine. *

* * - If DBVersion is 8.0, the valid values of this parameter are: * - 8.0.2 * - 8.0.1 * - If DBVersion is 5.7, set the value of this parameter to 5.7.28. * - If DBVersion is 5.6, the value of this parameter is 5.6.16. */ public Builder DBMinorVersion(String DBMinorVersion) { this.DBMinorVersion = DBMinorVersion; return this; } /** * The revision version of the database engine. *

* >For a cluster of the PolarDB for MySQL 5.6, the DBRevisionVersion parameter returns the revision version information only if the Revision Version is released later than August 31, 2020. Otherwise, this parameter returns an empty value. */ public Builder DBRevisionVersion(String DBRevisionVersion) { this.DBRevisionVersion = DBRevisionVersion; return this; } /** * DBRevisionVersionList. */ public Builder DBRevisionVersionList(java.util.List < DBRevisionVersionList> DBRevisionVersionList) { this.DBRevisionVersionList = DBRevisionVersionList; return this; } /** * The version of the database engine. Valid values: *

* * - 5.6 * - 5.7 * - 8.0 */ public Builder DBVersion(String DBVersion) { this.DBVersion = DBVersion; return this; } /** * The status of the minor version. Valid values: *

* * * **Stable**: The minor version is stable. * * **Old**: The minor version is outdated. We recommend that you upgrade the cluster to the latest version. * * **HighRisk**: The minor version has critical defects. We recommend that you immediately update the cluster to the latest minor version. * * > For more information about how to update the minor version, see [Minor version update](~~158572~~). */ public Builder DBVersionStatus(String DBVersionStatus) { this.DBVersionStatus = DBVersionStatus; return this; } /** * Indicates whether the kernel is of the latest version. Valid values: *

* * - true * - false */ public Builder isLatestVersion(String isLatestVersion) { this.isLatestVersion = isLatestVersion; return this; } /** * Indicates whether PolarProxy uses the latest version. Valid values: *

* * - true * - false */ public Builder isProxyLatestVersion(String isProxyLatestVersion) { this.isProxyLatestVersion = isProxyLatestVersion; return this; } /** * The latest version of PolarProxy. */ public Builder proxyLatestVersion(String proxyLatestVersion) { this.proxyLatestVersion = proxyLatestVersion; return this; } /** * The revision version of the database engine. */ public Builder proxyRevisionVersion(String proxyRevisionVersion) { this.proxyRevisionVersion = proxyRevisionVersion; return this; } /** * The release status of the PolarProxy version. Valid values: *

* * * **Stable**: The PolarProxy revision version is stable. * * **Old**: The PolarProxy revision version is outdated. We recommend that you do not update the PolarProxy to this revision version. * * **HighRisk**: The PolarProxy revision version has critical defects. We recommend that you do not update the PolarProxy to this revision version. * * **Beta**: The PolarProxy revision version is a Beta version. */ public Builder proxyRevisionVersionList(java.util.List < ProxyRevisionVersionList> proxyRevisionVersionList) { this.proxyRevisionVersionList = proxyRevisionVersionList; return this; } /** * The status of PolarProxy. Valid values: *

* * - Stable: The minor version is stable. * - Old: The minor version is outdated. We recommend that you upgrade the cluster to the latest version. * - HighRisk: The minor version has critical defects. We recommend that you immediately upgrade the cluster to the latest version. * - Beta: The minor version is a beta version. */ public Builder proxyVersionStatus(String proxyVersionStatus) { this.proxyVersionStatus = proxyVersionStatus; return this; } /** * The ID of the request. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeDBClusterVersionResponseBody build() { return new DescribeDBClusterVersionResponseBody(this); } } public static class DBRevisionVersionList extends TeaModel { @com.aliyun.core.annotation.NameInMap("ReleaseNote") private String releaseNote; @com.aliyun.core.annotation.NameInMap("ReleaseType") private String releaseType; @com.aliyun.core.annotation.NameInMap("RevisionVersionCode") private String revisionVersionCode; @com.aliyun.core.annotation.NameInMap("RevisionVersionName") private String revisionVersionName; private DBRevisionVersionList(Builder builder) { this.releaseNote = builder.releaseNote; this.releaseType = builder.releaseType; this.revisionVersionCode = builder.revisionVersionCode; this.revisionVersionName = builder.revisionVersionName; } public static Builder builder() { return new Builder(); } public static DBRevisionVersionList create() { return builder().build(); } /** * @return releaseNote */ public String getReleaseNote() { return this.releaseNote; } /** * @return releaseType */ public String getReleaseType() { return this.releaseType; } /** * @return revisionVersionCode */ public String getRevisionVersionCode() { return this.revisionVersionCode; } /** * @return revisionVersionName */ public String getRevisionVersionName() { return this.revisionVersionName; } public static final class Builder { private String releaseNote; private String releaseType; private String revisionVersionCode; private String revisionVersionName; /** * The release notes for the database engine revision version. */ public Builder releaseNote(String releaseNote) { this.releaseNote = releaseNote; return this; } /** * The release status of the database engine revision version. Valid values: *

* * * **Stable**: The database engine revision version is stable. * * **Old**: The database engine revision version is outdated. We recommend that you do not update the database engine to this revision version. * * **HighRisk**: The database engine revision version has critical defects. We recommend that you do not update the database engine to this revision version. * * **Beta**: The database engine revision version is a Beta version. */ public Builder releaseType(String releaseType) { this.releaseType = releaseType; return this; } /** * The code of the database engine revision version. You can use the code to specify the database engine revision version. */ public Builder revisionVersionCode(String revisionVersionCode) { this.revisionVersionCode = revisionVersionCode; return this; } /** * The database engine revision version number. */ public Builder revisionVersionName(String revisionVersionName) { this.revisionVersionName = revisionVersionName; return this; } public DBRevisionVersionList build() { return new DBRevisionVersionList(this); } } } public static class ProxyRevisionVersionList extends TeaModel { @com.aliyun.core.annotation.NameInMap("ReleaseNote") private String releaseNote; @com.aliyun.core.annotation.NameInMap("ReleaseType") private String releaseType; @com.aliyun.core.annotation.NameInMap("RevisionVersionCode") private String revisionVersionCode; @com.aliyun.core.annotation.NameInMap("RevisionVersionName") private String revisionVersionName; private ProxyRevisionVersionList(Builder builder) { this.releaseNote = builder.releaseNote; this.releaseType = builder.releaseType; this.revisionVersionCode = builder.revisionVersionCode; this.revisionVersionName = builder.revisionVersionName; } public static Builder builder() { return new Builder(); } public static ProxyRevisionVersionList create() { return builder().build(); } /** * @return releaseNote */ public String getReleaseNote() { return this.releaseNote; } /** * @return releaseType */ public String getReleaseType() { return this.releaseType; } /** * @return revisionVersionCode */ public String getRevisionVersionCode() { return this.revisionVersionCode; } /** * @return revisionVersionName */ public String getRevisionVersionName() { return this.revisionVersionName; } public static final class Builder { private String releaseNote; private String releaseType; private String revisionVersionCode; private String revisionVersionName; /** * The release notes for the PolarProxy revision version. */ public Builder releaseNote(String releaseNote) { this.releaseNote = releaseNote; return this; } /** * The release type. Valid values: *

* * * **LTS**: a long-term version * * **BETA**: a preview version */ public Builder releaseType(String releaseType) { this.releaseType = releaseType; return this; } /** * The PolarProxy revision version code. You can use this code to specify the PolarProxy revision version. */ public Builder revisionVersionCode(String revisionVersionCode) { this.revisionVersionCode = revisionVersionCode; return this; } /** * The PolarProxy revision version number. */ public Builder revisionVersionName(String revisionVersionName) { this.revisionVersionName = revisionVersionName; return this; } public ProxyRevisionVersionList build() { return new ProxyRevisionVersionList(this); } } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy