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

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

DescribeDBClusterAttributeResponseBody

*/ public class DescribeDBClusterAttributeResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("AiCreatingTime") private String aiCreatingTime; @com.aliyun.core.annotation.NameInMap("AiType") private String aiType; @com.aliyun.core.annotation.NameInMap("Architecture") private String architecture; @com.aliyun.core.annotation.NameInMap("BlktagTotal") private Long blktagTotal; @com.aliyun.core.annotation.NameInMap("BlktagUsed") private Long blktagUsed; @com.aliyun.core.annotation.NameInMap("Category") private String category; @com.aliyun.core.annotation.NameInMap("CompressStorageMode") private String compressStorageMode; @com.aliyun.core.annotation.NameInMap("CompressStorageUsed") private Long compressStorageUsed; @com.aliyun.core.annotation.NameInMap("CreationTime") private String creationTime; @com.aliyun.core.annotation.NameInMap("DBClusterDescription") private String DBClusterDescription; @com.aliyun.core.annotation.NameInMap("DBClusterId") private String DBClusterId; @com.aliyun.core.annotation.NameInMap("DBClusterNetworkType") private String DBClusterNetworkType; @com.aliyun.core.annotation.NameInMap("DBClusterStatus") private String DBClusterStatus; @com.aliyun.core.annotation.NameInMap("DBNodes") private java.util.List < DBNodes> DBNodes; @com.aliyun.core.annotation.NameInMap("DBType") private String DBType; @com.aliyun.core.annotation.NameInMap("DBVersion") private String DBVersion; @com.aliyun.core.annotation.NameInMap("DBVersionStatus") private String DBVersionStatus; @com.aliyun.core.annotation.NameInMap("DataLevel1BackupChainSize") private Long dataLevel1BackupChainSize; @com.aliyun.core.annotation.NameInMap("DataSyncMode") private String dataSyncMode; @com.aliyun.core.annotation.NameInMap("DeletionLock") private Integer deletionLock; @com.aliyun.core.annotation.NameInMap("Engine") private String engine; @com.aliyun.core.annotation.NameInMap("ExpireTime") private String expireTime; @com.aliyun.core.annotation.NameInMap("Expired") private String expired; @com.aliyun.core.annotation.NameInMap("HasCompleteStandbyRes") private Boolean hasCompleteStandbyRes; @com.aliyun.core.annotation.NameInMap("HotStandbyCluster") private String hotStandbyCluster; @com.aliyun.core.annotation.NameInMap("InodeTotal") private Long inodeTotal; @com.aliyun.core.annotation.NameInMap("InodeUsed") private Long inodeUsed; @com.aliyun.core.annotation.NameInMap("IsLatestVersion") private Boolean isLatestVersion; @com.aliyun.core.annotation.NameInMap("IsProxyLatestVersion") private Boolean isProxyLatestVersion; @com.aliyun.core.annotation.NameInMap("LockMode") private String lockMode; @com.aliyun.core.annotation.NameInMap("MaintainTime") private String maintainTime; @com.aliyun.core.annotation.NameInMap("Orca") private String orca; @com.aliyun.core.annotation.NameInMap("PayType") private String payType; @com.aliyun.core.annotation.NameInMap("ProvisionedIops") private String provisionedIops; @com.aliyun.core.annotation.NameInMap("ProxyCpuCores") private String proxyCpuCores; @com.aliyun.core.annotation.NameInMap("ProxyServerlessType") private String proxyServerlessType; @com.aliyun.core.annotation.NameInMap("ProxyStandardCpuCores") private String proxyStandardCpuCores; @com.aliyun.core.annotation.NameInMap("ProxyStatus") private String proxyStatus; @com.aliyun.core.annotation.NameInMap("ProxyType") private String proxyType; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("ResourceGroupId") private String resourceGroupId; @com.aliyun.core.annotation.NameInMap("RestoreDataPoint") private String restoreDataPoint; @com.aliyun.core.annotation.NameInMap("RestoreType") private String restoreType; @com.aliyun.core.annotation.NameInMap("SQLSize") private Long SQLSize; @com.aliyun.core.annotation.NameInMap("ServerlessType") private String serverlessType; @com.aliyun.core.annotation.NameInMap("SourceDBCluster") private String sourceDBCluster; @com.aliyun.core.annotation.NameInMap("SourceRegionId") private String sourceRegionId; @com.aliyun.core.annotation.NameInMap("StandbyHAMode") private String standbyHAMode; @com.aliyun.core.annotation.NameInMap("StorageMax") private Long storageMax; @com.aliyun.core.annotation.NameInMap("StoragePayType") private String storagePayType; @com.aliyun.core.annotation.NameInMap("StorageSpace") private Long storageSpace; @com.aliyun.core.annotation.NameInMap("StorageType") private String storageType; @com.aliyun.core.annotation.NameInMap("StorageUsed") private Long storageUsed; @com.aliyun.core.annotation.NameInMap("StrictConsistency") private String strictConsistency; @com.aliyun.core.annotation.NameInMap("SubCategory") private String subCategory; @com.aliyun.core.annotation.NameInMap("SupportInstantSwitchWithImci") private String supportInstantSwitchWithImci; @com.aliyun.core.annotation.NameInMap("Tags") private java.util.List < Tags> tags; @com.aliyun.core.annotation.NameInMap("VPCId") private String VPCId; @com.aliyun.core.annotation.NameInMap("VSwitchId") private String vSwitchId; @com.aliyun.core.annotation.NameInMap("ZoneIds") private String zoneIds; private DescribeDBClusterAttributeResponseBody(Builder builder) { this.aiCreatingTime = builder.aiCreatingTime; this.aiType = builder.aiType; this.architecture = builder.architecture; this.blktagTotal = builder.blktagTotal; this.blktagUsed = builder.blktagUsed; this.category = builder.category; this.compressStorageMode = builder.compressStorageMode; this.compressStorageUsed = builder.compressStorageUsed; this.creationTime = builder.creationTime; this.DBClusterDescription = builder.DBClusterDescription; this.DBClusterId = builder.DBClusterId; this.DBClusterNetworkType = builder.DBClusterNetworkType; this.DBClusterStatus = builder.DBClusterStatus; this.DBNodes = builder.DBNodes; this.DBType = builder.DBType; this.DBVersion = builder.DBVersion; this.DBVersionStatus = builder.DBVersionStatus; this.dataLevel1BackupChainSize = builder.dataLevel1BackupChainSize; this.dataSyncMode = builder.dataSyncMode; this.deletionLock = builder.deletionLock; this.engine = builder.engine; this.expireTime = builder.expireTime; this.expired = builder.expired; this.hasCompleteStandbyRes = builder.hasCompleteStandbyRes; this.hotStandbyCluster = builder.hotStandbyCluster; this.inodeTotal = builder.inodeTotal; this.inodeUsed = builder.inodeUsed; this.isLatestVersion = builder.isLatestVersion; this.isProxyLatestVersion = builder.isProxyLatestVersion; this.lockMode = builder.lockMode; this.maintainTime = builder.maintainTime; this.orca = builder.orca; this.payType = builder.payType; this.provisionedIops = builder.provisionedIops; this.proxyCpuCores = builder.proxyCpuCores; this.proxyServerlessType = builder.proxyServerlessType; this.proxyStandardCpuCores = builder.proxyStandardCpuCores; this.proxyStatus = builder.proxyStatus; this.proxyType = builder.proxyType; this.regionId = builder.regionId; this.requestId = builder.requestId; this.resourceGroupId = builder.resourceGroupId; this.restoreDataPoint = builder.restoreDataPoint; this.restoreType = builder.restoreType; this.SQLSize = builder.SQLSize; this.serverlessType = builder.serverlessType; this.sourceDBCluster = builder.sourceDBCluster; this.sourceRegionId = builder.sourceRegionId; this.standbyHAMode = builder.standbyHAMode; this.storageMax = builder.storageMax; this.storagePayType = builder.storagePayType; this.storageSpace = builder.storageSpace; this.storageType = builder.storageType; this.storageUsed = builder.storageUsed; this.strictConsistency = builder.strictConsistency; this.subCategory = builder.subCategory; this.supportInstantSwitchWithImci = builder.supportInstantSwitchWithImci; this.tags = builder.tags; this.VPCId = builder.VPCId; this.vSwitchId = builder.vSwitchId; this.zoneIds = builder.zoneIds; } public static Builder builder() { return new Builder(); } public static DescribeDBClusterAttributeResponseBody create() { return builder().build(); } /** * @return aiCreatingTime */ public String getAiCreatingTime() { return this.aiCreatingTime; } /** * @return aiType */ public String getAiType() { return this.aiType; } /** * @return architecture */ public String getArchitecture() { return this.architecture; } /** * @return blktagTotal */ public Long getBlktagTotal() { return this.blktagTotal; } /** * @return blktagUsed */ public Long getBlktagUsed() { return this.blktagUsed; } /** * @return category */ public String getCategory() { return this.category; } /** * @return compressStorageMode */ public String getCompressStorageMode() { return this.compressStorageMode; } /** * @return compressStorageUsed */ public Long getCompressStorageUsed() { return this.compressStorageUsed; } /** * @return creationTime */ public String getCreationTime() { return this.creationTime; } /** * @return DBClusterDescription */ public String getDBClusterDescription() { return this.DBClusterDescription; } /** * @return DBClusterId */ public String getDBClusterId() { return this.DBClusterId; } /** * @return DBClusterNetworkType */ public String getDBClusterNetworkType() { return this.DBClusterNetworkType; } /** * @return DBClusterStatus */ public String getDBClusterStatus() { return this.DBClusterStatus; } /** * @return DBNodes */ public java.util.List < DBNodes> getDBNodes() { return this.DBNodes; } /** * @return DBType */ public String getDBType() { return this.DBType; } /** * @return DBVersion */ public String getDBVersion() { return this.DBVersion; } /** * @return DBVersionStatus */ public String getDBVersionStatus() { return this.DBVersionStatus; } /** * @return dataLevel1BackupChainSize */ public Long getDataLevel1BackupChainSize() { return this.dataLevel1BackupChainSize; } /** * @return dataSyncMode */ public String getDataSyncMode() { return this.dataSyncMode; } /** * @return deletionLock */ public Integer getDeletionLock() { return this.deletionLock; } /** * @return engine */ public String getEngine() { return this.engine; } /** * @return expireTime */ public String getExpireTime() { return this.expireTime; } /** * @return expired */ public String getExpired() { return this.expired; } /** * @return hasCompleteStandbyRes */ public Boolean getHasCompleteStandbyRes() { return this.hasCompleteStandbyRes; } /** * @return hotStandbyCluster */ public String getHotStandbyCluster() { return this.hotStandbyCluster; } /** * @return inodeTotal */ public Long getInodeTotal() { return this.inodeTotal; } /** * @return inodeUsed */ public Long getInodeUsed() { return this.inodeUsed; } /** * @return isLatestVersion */ public Boolean getIsLatestVersion() { return this.isLatestVersion; } /** * @return isProxyLatestVersion */ public Boolean getIsProxyLatestVersion() { return this.isProxyLatestVersion; } /** * @return lockMode */ public String getLockMode() { return this.lockMode; } /** * @return maintainTime */ public String getMaintainTime() { return this.maintainTime; } /** * @return orca */ public String getOrca() { return this.orca; } /** * @return payType */ public String getPayType() { return this.payType; } /** * @return provisionedIops */ public String getProvisionedIops() { return this.provisionedIops; } /** * @return proxyCpuCores */ public String getProxyCpuCores() { return this.proxyCpuCores; } /** * @return proxyServerlessType */ public String getProxyServerlessType() { return this.proxyServerlessType; } /** * @return proxyStandardCpuCores */ public String getProxyStandardCpuCores() { return this.proxyStandardCpuCores; } /** * @return proxyStatus */ public String getProxyStatus() { return this.proxyStatus; } /** * @return proxyType */ public String getProxyType() { return this.proxyType; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } /** * @return restoreDataPoint */ public String getRestoreDataPoint() { return this.restoreDataPoint; } /** * @return restoreType */ public String getRestoreType() { return this.restoreType; } /** * @return SQLSize */ public Long getSQLSize() { return this.SQLSize; } /** * @return serverlessType */ public String getServerlessType() { return this.serverlessType; } /** * @return sourceDBCluster */ public String getSourceDBCluster() { return this.sourceDBCluster; } /** * @return sourceRegionId */ public String getSourceRegionId() { return this.sourceRegionId; } /** * @return standbyHAMode */ public String getStandbyHAMode() { return this.standbyHAMode; } /** * @return storageMax */ public Long getStorageMax() { return this.storageMax; } /** * @return storagePayType */ public String getStoragePayType() { return this.storagePayType; } /** * @return storageSpace */ public Long getStorageSpace() { return this.storageSpace; } /** * @return storageType */ public String getStorageType() { return this.storageType; } /** * @return storageUsed */ public Long getStorageUsed() { return this.storageUsed; } /** * @return strictConsistency */ public String getStrictConsistency() { return this.strictConsistency; } /** * @return subCategory */ public String getSubCategory() { return this.subCategory; } /** * @return supportInstantSwitchWithImci */ public String getSupportInstantSwitchWithImci() { return this.supportInstantSwitchWithImci; } /** * @return tags */ public java.util.List < Tags> getTags() { return this.tags; } /** * @return VPCId */ public String getVPCId() { return this.VPCId; } /** * @return vSwitchId */ public String getVSwitchId() { return this.vSwitchId; } /** * @return zoneIds */ public String getZoneIds() { return this.zoneIds; } public static final class Builder { private String aiCreatingTime; private String aiType; private String architecture; private Long blktagTotal; private Long blktagUsed; private String category; private String compressStorageMode; private Long compressStorageUsed; private String creationTime; private String DBClusterDescription; private String DBClusterId; private String DBClusterNetworkType; private String DBClusterStatus; private java.util.List < DBNodes> DBNodes; private String DBType; private String DBVersion; private String DBVersionStatus; private Long dataLevel1BackupChainSize; private String dataSyncMode; private Integer deletionLock; private String engine; private String expireTime; private String expired; private Boolean hasCompleteStandbyRes; private String hotStandbyCluster; private Long inodeTotal; private Long inodeUsed; private Boolean isLatestVersion; private Boolean isProxyLatestVersion; private String lockMode; private String maintainTime; private String orca; private String payType; private String provisionedIops; private String proxyCpuCores; private String proxyServerlessType; private String proxyStandardCpuCores; private String proxyStatus; private String proxyType; private String regionId; private String requestId; private String resourceGroupId; private String restoreDataPoint; private String restoreType; private Long SQLSize; private String serverlessType; private String sourceDBCluster; private String sourceRegionId; private String standbyHAMode; private Long storageMax; private String storagePayType; private Long storageSpace; private String storageType; private Long storageUsed; private String strictConsistency; private String subCategory; private String supportInstantSwitchWithImci; private java.util.List < Tags> tags; private String VPCId; private String vSwitchId; private String zoneIds; /** * AiCreatingTime. */ public Builder aiCreatingTime(String aiCreatingTime) { this.aiCreatingTime = aiCreatingTime; return this; } /** * The information status of the AI node. Valid values: *

* * * SearchNode: search node. * * DLNode: AI node */ public Builder aiType(String aiType) { this.aiType = aiType; return this; } /** * Architecture. */ public Builder architecture(String architecture) { this.architecture = architecture; return this; } /** * Maximum blktags in file system. */ public Builder blktagTotal(Long blktagTotal) { this.blktagTotal = blktagTotal; return this; } /** * The current blktag usage. */ public Builder blktagUsed(Long blktagUsed) { this.blktagUsed = blktagUsed; return this; } /** * [The edition of PolarDB](~~183258~~). Valid values: *

* * * **Normal**: Cluster Edition. * * **Basic**: Single Node Edition. * * **Archive**: X-Engine Edition. * * **NormalMultimaster**: Multi-master Cluster Edition. * * **SENormal**: Standard Edition. * * >- Only PolarDB for MySQL supports Single Node Edition. * >- Only PolarDB for MySQL 8.0.1 supports Standard Edition. * >- Only PolarDB for MySQL 8.0 supports X-Engine Edition and Multi-master Cluster Edition. */ public Builder category(String category) { this.category = category; return this; } /** * CompressStorageMode. */ public Builder compressStorageMode(String compressStorageMode) { this.compressStorageMode = compressStorageMode; return this; } /** * CompressStorageUsed. */ public Builder compressStorageUsed(Long compressStorageUsed) { this.compressStorageUsed = compressStorageUsed; return this; } /** * The time when the cluster was created. */ public Builder creationTime(String creationTime) { this.creationTime = creationTime; return this; } /** * The description of the cluster. */ public Builder DBClusterDescription(String DBClusterDescription) { this.DBClusterDescription = DBClusterDescription; return this; } /** * The ID of cluster. */ public Builder DBClusterId(String DBClusterId) { this.DBClusterId = DBClusterId; return this; } /** * The network type of the cluster. */ public Builder DBClusterNetworkType(String DBClusterNetworkType) { this.DBClusterNetworkType = DBClusterNetworkType; return this; } /** * The status of the cluster. For information about the valid values, see [Cluster states](~~99286~~). */ public Builder DBClusterStatus(String DBClusterStatus) { this.DBClusterStatus = DBClusterStatus; return this; } /** * The information about the nodes. */ public Builder DBNodes(java.util.List < DBNodes> DBNodes) { this.DBNodes = DBNodes; return this; } /** * The type of the database engine. */ public Builder DBType(String DBType) { this.DBType = DBType; return this; } /** * The version of the database engine. */ 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 upgrade the cluster to the latest version. * * > For more information about how to upgrade the minor version, see [Upgrade versions](~~158572~~). */ public Builder DBVersionStatus(String DBVersionStatus) { this.DBVersionStatus = DBVersionStatus; return this; } /** * The total physical storage of level-1 backups (snapshots). Unit: bytes. */ public Builder dataLevel1BackupChainSize(Long dataLevel1BackupChainSize) { this.dataLevel1BackupChainSize = dataLevel1BackupChainSize; return this; } /** * Indicates the rule of data replication. Valid values: AsyncSync: asynchronous. SemiSync: semi-synchronous. */ public Builder dataSyncMode(String dataSyncMode) { this.dataSyncMode = dataSyncMode; return this; } /** * Indicates whether the cluster is locked and can be deleted. Valid values: *

* * * **0**: The cluster is not locked and can be deleted. * * **1**: The cluster is locked and cannot be deleted. */ public Builder deletionLock(Integer deletionLock) { this.deletionLock = deletionLock; return this; } /** * The database type. */ public Builder engine(String engine) { this.engine = engine; return this; } /** * The time when the cluster expires. *

* * > A specific value will be returned only for subscription (**Prepaid**) clusters. For pay-as-you-go (**Postpaid**) clusters, an empty string will be returned. */ public Builder expireTime(String expireTime) { this.expireTime = expireTime; return this; } /** * Indicates whether the cluster has expired. Valid values: *

* * > This parameter is returned only for subscription (**Prepaid**) clusters. */ public Builder expired(String expired) { this.expired = expired; return this; } /** * Indicates whether to replenish resources for the primary database after a cross-zone switchover. Valid values: true false */ public Builder hasCompleteStandbyRes(Boolean hasCompleteStandbyRes) { this.hasCompleteStandbyRes = hasCompleteStandbyRes; return this; } /** * HotStandbyCluster. */ public Builder hotStandbyCluster(String hotStandbyCluster) { this.hotStandbyCluster = hotStandbyCluster; return this; } /** * Maximum inodes in file system. */ public Builder inodeTotal(Long inodeTotal) { this.inodeTotal = inodeTotal; return this; } /** * The current inode usage. */ public Builder inodeUsed(Long inodeUsed) { this.inodeUsed = inodeUsed; return this; } /** * Indicates whether the kernel is of the latest version. Valid values: *

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

* * * **true** * * **false** */ public Builder isProxyLatestVersion(Boolean isProxyLatestVersion) { this.isProxyLatestVersion = isProxyLatestVersion; return this; } /** * The lock mode. Valid values: *

* * * **Unlock**: The cluster is not locked. * * **ManualLock**: The cluster is manually locked. * * **LockByExpiration**: The cluster is automatically locked due to cluster expiration. */ public Builder lockMode(String lockMode) { this.lockMode = lockMode; return this; } /** * The maintenance window of the cluster. The format is `HH:mmZ-HH:mmZ`. The time is displayed in UTC. For example, the value `16:00Z-17:00Z` indicates that the cluster can be maintained from 00:00 to 01:00 (UTC+08:00). */ public Builder maintainTime(String maintainTime) { this.maintainTime = maintainTime; return this; } /** * Orca. */ public Builder orca(String orca) { this.orca = orca; return this; } /** * The billing method of the cluster. Valid values: *

* * * **Postpaid**: pay-as-you-go. * * **Prepaid**: subscription */ public Builder payType(String payType) { this.payType = payType; return this; } /** * ProvisionedIops. */ public Builder provisionedIops(String provisionedIops) { this.provisionedIops = provisionedIops; return this; } /** * The number of CPU cores for PolarProxy. */ public Builder proxyCpuCores(String proxyCpuCores) { this.proxyCpuCores = proxyCpuCores; return this; } /** * The type of the serverless PolarProxy. Valid value: AgileServerless. */ public Builder proxyServerlessType(String proxyServerlessType) { this.proxyServerlessType = proxyServerlessType; return this; } /** * The number of CPU cores for PolarProxy Standard Enterprise Edition. */ public Builder proxyStandardCpuCores(String proxyStandardCpuCores) { this.proxyStandardCpuCores = proxyStandardCpuCores; return this; } /** * The status of PolarProxy. Valid values: *

* * * **Creating**: PolarProxy is being created. * * **Running**: PolarProxy is running. * * **Deleting**: PolarProxy is being released. * * **Rebooting**: PolarProxy is restarting. * * **DBNodeCreating**: PolarProxy is being added. * * **DBNodeDeleting**: PolarProxy is being deleted. * * **ClassChanging**: The specifications of PolarProxy are being changed. * * **NetAddressCreating**: The network connection is being created. * * **NetAddressDeleting**: The network connection is being deleted. * * **NetAddressModifying**: The network connection is being modified. * * **Deleted**: PolarProxy is released. */ public Builder proxyStatus(String proxyStatus) { this.proxyStatus = proxyStatus; return this; } /** * The type of PolarProxy. Valid values: *

* * * **Exclusive**: Dedicated Enterprise Edition * * **General**: Standard Enterprise Edition */ public Builder proxyType(String proxyType) { this.proxyType = proxyType; return this; } /** * The region ID of the security group. */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * The ID of the request. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * The ID of your Alibaba Cloud resource group. */ public Builder resourceGroupId(String resourceGroupId) { this.resourceGroupId = resourceGroupId; return this; } /** * RestoreDataPoint. */ public Builder restoreDataPoint(String restoreDataPoint) { this.restoreDataPoint = restoreDataPoint; return this; } /** * RestoreType. */ public Builder restoreType(String restoreType) { this.restoreType = restoreType; return this; } /** * The storage of SQL. Unit: bytes. If the value is -1, no data is stored. */ public Builder SQLSize(Long SQLSize) { this.SQLSize = SQLSize; return this; } /** * The type of the serverless cluster. Only **AgileServerless** can be returned. */ public Builder serverlessType(String serverlessType) { this.serverlessType = serverlessType; return this; } /** * SourceDBCluster. */ public Builder sourceDBCluster(String sourceDBCluster) { this.sourceDBCluster = sourceDBCluster; return this; } /** * SourceRegionId. */ public Builder sourceRegionId(String sourceRegionId) { this.sourceRegionId = sourceRegionId; return this; } /** * Indicates whether the cross-zone disaster recovery feature is enabled. Valid values: ON OFF 0: Customer Drill Mode */ public Builder standbyHAMode(String standbyHAMode) { this.standbyHAMode = standbyHAMode; return this; } /** * The maximum storage capacity of the current cluster specification. Unit: bytes. */ public Builder storageMax(Long storageMax) { this.storageMax = storageMax; return this; } /** * The billing method of the storage. Valid values: *

* * * **Postpaid**: pay-as-you-go * * **Prepaid**: subscription. */ public Builder storagePayType(String storagePayType) { this.storagePayType = storagePayType; return this; } /** * The storage space that uses the subscription billing method. Unit: bytes. */ public Builder storageSpace(Long storageSpace) { this.storageSpace = storageSpace; return this; } /** * The storage type. Set the value to **HighPerformance**. */ public Builder storageType(String storageType) { this.storageType = storageType; return this; } /** * The storage space consumed by the cluster. Unit: bytes. */ public Builder storageUsed(Long storageUsed) { this.storageUsed = storageUsed; return this; } /** * Indicates whether the multi-zone data consistency feature is enabled for the cluster. Valid values: *

* * * **ON**: Multi-zone data consistency is enabled, which is suitable for Standard Edition clusters that run Multi-zone Edition. * * **OFF** */ public Builder strictConsistency(String strictConsistency) { this.strictConsistency = strictConsistency; return this; } /** * The specification type of the compute node. Valid values: *

* * * **Exclusive**: dedicated. * * **General**: general-purpose. * * > This parameter is supported only for PolarDB for MySQL clusters of Cluster Edition. */ public Builder subCategory(String subCategory) { this.subCategory = subCategory; return this; } /** * SupportInstantSwitchWithImci. */ public Builder supportInstantSwitchWithImci(String supportInstantSwitchWithImci) { this.supportInstantSwitchWithImci = supportInstantSwitchWithImci; return this; } /** * Details about the tags. */ public Builder tags(java.util.List < Tags> tags) { this.tags = tags; return this; } /** * The VPC ID of the cluster. */ public Builder VPCId(String VPCId) { this.VPCId = VPCId; return this; } /** * The vSwitch ID of the cluster. */ public Builder vSwitchId(String vSwitchId) { this.vSwitchId = vSwitchId; return this; } /** * The zone ID of the cluster. */ public Builder zoneIds(String zoneIds) { this.zoneIds = zoneIds; return this; } public DescribeDBClusterAttributeResponseBody build() { return new DescribeDBClusterAttributeResponseBody(this); } } public static class DBNodes extends TeaModel { @com.aliyun.core.annotation.NameInMap("AddedCpuCores") private String addedCpuCores; @com.aliyun.core.annotation.NameInMap("CpuCores") private String cpuCores; @com.aliyun.core.annotation.NameInMap("CreationTime") private String creationTime; @com.aliyun.core.annotation.NameInMap("DBNodeClass") private String DBNodeClass; @com.aliyun.core.annotation.NameInMap("DBNodeId") private String DBNodeId; @com.aliyun.core.annotation.NameInMap("DBNodeRole") private String DBNodeRole; @com.aliyun.core.annotation.NameInMap("DBNodeStatus") private String DBNodeStatus; @com.aliyun.core.annotation.NameInMap("FailoverPriority") private Integer failoverPriority; @com.aliyun.core.annotation.NameInMap("HotReplicaMode") private String hotReplicaMode; @com.aliyun.core.annotation.NameInMap("ImciSwitch") private String imciSwitch; @com.aliyun.core.annotation.NameInMap("MasterId") private String masterId; @com.aliyun.core.annotation.NameInMap("MaxConnections") private Integer maxConnections; @com.aliyun.core.annotation.NameInMap("MaxIOPS") private Integer maxIOPS; @com.aliyun.core.annotation.NameInMap("MemorySize") private String memorySize; @com.aliyun.core.annotation.NameInMap("MirrorInsName") private String mirrorInsName; @com.aliyun.core.annotation.NameInMap("Orca") private String orca; @com.aliyun.core.annotation.NameInMap("RemoteMemorySize") private String remoteMemorySize; @com.aliyun.core.annotation.NameInMap("SccMode") @com.aliyun.core.annotation.Validation(required = true) private String sccMode; @com.aliyun.core.annotation.NameInMap("ServerWeight") private String serverWeight; @com.aliyun.core.annotation.NameInMap("ServerlessType") private String serverlessType; @com.aliyun.core.annotation.NameInMap("SubCluster") private String subCluster; @com.aliyun.core.annotation.NameInMap("ZoneId") private String zoneId; private DBNodes(Builder builder) { this.addedCpuCores = builder.addedCpuCores; this.cpuCores = builder.cpuCores; this.creationTime = builder.creationTime; this.DBNodeClass = builder.DBNodeClass; this.DBNodeId = builder.DBNodeId; this.DBNodeRole = builder.DBNodeRole; this.DBNodeStatus = builder.DBNodeStatus; this.failoverPriority = builder.failoverPriority; this.hotReplicaMode = builder.hotReplicaMode; this.imciSwitch = builder.imciSwitch; this.masterId = builder.masterId; this.maxConnections = builder.maxConnections; this.maxIOPS = builder.maxIOPS; this.memorySize = builder.memorySize; this.mirrorInsName = builder.mirrorInsName; this.orca = builder.orca; this.remoteMemorySize = builder.remoteMemorySize; this.sccMode = builder.sccMode; this.serverWeight = builder.serverWeight; this.serverlessType = builder.serverlessType; this.subCluster = builder.subCluster; this.zoneId = builder.zoneId; } public static Builder builder() { return new Builder(); } public static DBNodes create() { return builder().build(); } /** * @return addedCpuCores */ public String getAddedCpuCores() { return this.addedCpuCores; } /** * @return cpuCores */ public String getCpuCores() { return this.cpuCores; } /** * @return creationTime */ public String getCreationTime() { return this.creationTime; } /** * @return DBNodeClass */ public String getDBNodeClass() { return this.DBNodeClass; } /** * @return DBNodeId */ public String getDBNodeId() { return this.DBNodeId; } /** * @return DBNodeRole */ public String getDBNodeRole() { return this.DBNodeRole; } /** * @return DBNodeStatus */ public String getDBNodeStatus() { return this.DBNodeStatus; } /** * @return failoverPriority */ public Integer getFailoverPriority() { return this.failoverPriority; } /** * @return hotReplicaMode */ public String getHotReplicaMode() { return this.hotReplicaMode; } /** * @return imciSwitch */ public String getImciSwitch() { return this.imciSwitch; } /** * @return masterId */ public String getMasterId() { return this.masterId; } /** * @return maxConnections */ public Integer getMaxConnections() { return this.maxConnections; } /** * @return maxIOPS */ public Integer getMaxIOPS() { return this.maxIOPS; } /** * @return memorySize */ public String getMemorySize() { return this.memorySize; } /** * @return mirrorInsName */ public String getMirrorInsName() { return this.mirrorInsName; } /** * @return orca */ public String getOrca() { return this.orca; } /** * @return remoteMemorySize */ public String getRemoteMemorySize() { return this.remoteMemorySize; } /** * @return sccMode */ public String getSccMode() { return this.sccMode; } /** * @return serverWeight */ public String getServerWeight() { return this.serverWeight; } /** * @return serverlessType */ public String getServerlessType() { return this.serverlessType; } /** * @return subCluster */ public String getSubCluster() { return this.subCluster; } /** * @return zoneId */ public String getZoneId() { return this.zoneId; } public static final class Builder { private String addedCpuCores; private String cpuCores; private String creationTime; private String DBNodeClass; private String DBNodeId; private String DBNodeRole; private String DBNodeStatus; private Integer failoverPriority; private String hotReplicaMode; private String imciSwitch; private String masterId; private Integer maxConnections; private Integer maxIOPS; private String memorySize; private String mirrorInsName; private String orca; private String remoteMemorySize; private String sccMode; private String serverWeight; private String serverlessType; private String subCluster; private String zoneId; /** * The number of CPU cores for compute node scale-out within seconds. */ public Builder addedCpuCores(String addedCpuCores) { this.addedCpuCores = addedCpuCores; return this; } /** * CpuCores. */ public Builder cpuCores(String cpuCores) { this.cpuCores = cpuCores; return this; } /** * The time when the node was created. */ public Builder creationTime(String creationTime) { this.creationTime = creationTime; return this; } /** * The type of the node. */ public Builder DBNodeClass(String DBNodeClass) { this.DBNodeClass = DBNodeClass; return this; } /** * The ID of the node. */ public Builder DBNodeId(String DBNodeId) { this.DBNodeId = DBNodeId; return this; } /** * The role of the node. Valid values: *

* * * **Writer**: The node is the primary node. * * **Reader**: The node is a read-only node. */ public Builder DBNodeRole(String DBNodeRole) { this.DBNodeRole = DBNodeRole; return this; } /** * The status of the node. Valid values: *

* * * **Creating**: The cluster is being created. * * **Running**: The cluster is running. * * **Deleting**: The cluster is being deleted. * * **Rebooting**: The cluster is restarting. * * **DBNodeCreating**: PolarProxy is being added. * * **DBNodeDeleting**: PolarProxy is being deleted. * * **ClassChanging**: The specification type of PolarProxy are being modified. * * **NetAddressCreating**: The network connection is being created. * * **NetAddressDeleting**: The network connection is being deleted. * * **NetAddressModifying**: The network connection is being modified. * * **MinorVersionUpgrading**: The minor version is being updated. * * **Maintaining**: The cluster is being maintained. * * **Switching**: A failover is being performed. */ public Builder DBNodeStatus(String DBNodeStatus) { this.DBNodeStatus = DBNodeStatus; return this; } /** * The failover priority. Each node is assigned a failover priority. If a failover occurs, a node can be selected as a primary node. The priority determines the probability at which a node is selected as a primary node. A larger value indicates a higher priority. Valid values: 1 to 15. */ public Builder failoverPriority(Integer failoverPriority) { this.failoverPriority = failoverPriority; return this; } /** * Indicates whether the hot standby feature is enabled. Valid values: *

* * * **ON** * * **OFF** */ public Builder hotReplicaMode(String hotReplicaMode) { this.hotReplicaMode = hotReplicaMode; return this; } /** * Indicates whether the In-Memory Column Index (IMCI) feature is enabled. Valid values: *

* * * **ON** * * **OFF** */ public Builder imciSwitch(String imciSwitch) { this.imciSwitch = imciSwitch; return this; } /** * The ID of the primary node in the cluster that runs Multi-master Cluster Edition. */ public Builder masterId(String masterId) { this.masterId = masterId; return this; } /** * The maximum number of concurrent connections in the cluster. */ public Builder maxConnections(Integer maxConnections) { this.maxConnections = maxConnections; return this; } /** * The maximum input/output operations per second (IOPS). */ public Builder maxIOPS(Integer maxIOPS) { this.maxIOPS = maxIOPS; return this; } /** * MemorySize. */ public Builder memorySize(String memorySize) { this.memorySize = memorySize; return this; } /** * MirrorInsName. */ public Builder mirrorInsName(String mirrorInsName) { this.mirrorInsName = mirrorInsName; return this; } /** * Orca. */ public Builder orca(String orca) { this.orca = orca; return this; } /** * RemoteMemorySize. */ public Builder remoteMemorySize(String remoteMemorySize) { this.remoteMemorySize = remoteMemorySize; return this; } /** * Indicates whether the global consistency (high-performance mode) feature is enabled for the node. Valid values: *

* * * **ON** * * **OFF** */ public Builder sccMode(String sccMode) { this.sccMode = sccMode; return this; } /** * The routing weight of the node. Valid values: 1 to 100 Default value: 1. */ public Builder serverWeight(String serverWeight) { this.serverWeight = serverWeight; return this; } /** * The type of the serverless node. Only **AgileServerless** can be returned. *

* * > This parameter is supported only for serverless clusters. */ public Builder serverlessType(String serverlessType) { this.serverlessType = serverlessType; return this; } /** * SubCluster. */ public Builder subCluster(String subCluster) { this.subCluster = subCluster; return this; } /** * The ID of the zone. */ public Builder zoneId(String zoneId) { this.zoneId = zoneId; return this; } public DBNodes build() { return new DBNodes(this); } } } public static class Tags extends TeaModel { @com.aliyun.core.annotation.NameInMap("Key") private String key; @com.aliyun.core.annotation.NameInMap("Value") private String value; private Tags(Builder builder) { this.key = builder.key; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static Tags create() { return builder().build(); } /** * @return key */ public String getKey() { return this.key; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder { private String key; private String value; /** * The key of the tag. */ public Builder key(String key) { this.key = key; return this; } /** * The value of the tag. */ public Builder value(String value) { this.value = value; return this; } public Tags build() { return new Tags(this); } } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy