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

com.aliyun.sdk.service.gpdb20160503.models.DescribeDBInstanceAttributeResponseBody Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.gpdb20160503.models;

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

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

DescribeDBInstanceAttributeResponseBody

*/ public class DescribeDBInstanceAttributeResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Items") private Items items; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeDBInstanceAttributeResponseBody(Builder builder) { this.items = builder.items; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeDBInstanceAttributeResponseBody create() { return builder().build(); } /** * @return items */ public Items getItems() { return this.items; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private Items items; private String requestId; /** * The queried instance. */ public Builder items(Items items) { this.items = items; return this; } /** * The request ID. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeDBInstanceAttributeResponseBody build() { return new DescribeDBInstanceAttributeResponseBody(this); } } public static class Tag extends TeaModel { @com.aliyun.core.annotation.NameInMap("Key") private String key; @com.aliyun.core.annotation.NameInMap("Value") private String value; private Tag(Builder builder) { this.key = builder.key; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static Tag 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 tag key. */ public Builder key(String key) { this.key = key; return this; } /** * The tag value. */ public Builder value(String value) { this.value = value; return this; } public Tag build() { return new Tag(this); } } } public static class Tags extends TeaModel { @com.aliyun.core.annotation.NameInMap("Tag") private java.util.List < Tag> tag; private Tags(Builder builder) { this.tag = builder.tag; } public static Builder builder() { return new Builder(); } public static Tags create() { return builder().build(); } /** * @return tag */ public java.util.List < Tag> getTag() { return this.tag; } public static final class Builder { private java.util.List < Tag> tag; /** * Tag. */ public Builder tag(java.util.List < Tag> tag) { this.tag = tag; return this; } public Tags build() { return new Tags(this); } } } public static class DBInstanceAttribute extends TeaModel { @com.aliyun.core.annotation.NameInMap("AvailabilityValue") private String availabilityValue; @com.aliyun.core.annotation.NameInMap("ConnectionMode") private String connectionMode; @com.aliyun.core.annotation.NameInMap("ConnectionString") private String connectionString; @com.aliyun.core.annotation.NameInMap("CoreVersion") private String coreVersion; @com.aliyun.core.annotation.NameInMap("CpuCores") private Integer cpuCores; @com.aliyun.core.annotation.NameInMap("CpuCoresPerNode") private Integer cpuCoresPerNode; @com.aliyun.core.annotation.NameInMap("CreationTime") private String creationTime; @com.aliyun.core.annotation.NameInMap("DBInstanceCategory") private String DBInstanceCategory; @com.aliyun.core.annotation.NameInMap("DBInstanceClass") private String DBInstanceClass; @com.aliyun.core.annotation.NameInMap("DBInstanceClassType") private String DBInstanceClassType; @com.aliyun.core.annotation.NameInMap("DBInstanceCpuCores") private Integer DBInstanceCpuCores; @com.aliyun.core.annotation.NameInMap("DBInstanceDescription") private String DBInstanceDescription; @com.aliyun.core.annotation.NameInMap("DBInstanceDiskMBPS") private Long DBInstanceDiskMBPS; @com.aliyun.core.annotation.NameInMap("DBInstanceGroupCount") private String DBInstanceGroupCount; @com.aliyun.core.annotation.NameInMap("DBInstanceId") private String DBInstanceId; @com.aliyun.core.annotation.NameInMap("DBInstanceMemory") private Long DBInstanceMemory; @com.aliyun.core.annotation.NameInMap("DBInstanceMode") private String DBInstanceMode; @com.aliyun.core.annotation.NameInMap("DBInstanceNetType") private String DBInstanceNetType; @com.aliyun.core.annotation.NameInMap("DBInstanceStatus") private String DBInstanceStatus; @com.aliyun.core.annotation.NameInMap("DBInstanceStorage") private Long DBInstanceStorage; @com.aliyun.core.annotation.NameInMap("EncryptionKey") private String encryptionKey; @com.aliyun.core.annotation.NameInMap("EncryptionType") private String encryptionType; @com.aliyun.core.annotation.NameInMap("Engine") private String engine; @com.aliyun.core.annotation.NameInMap("EngineVersion") private String engineVersion; @com.aliyun.core.annotation.NameInMap("ExpireTime") private String expireTime; @com.aliyun.core.annotation.NameInMap("HostType") private String hostType; @com.aliyun.core.annotation.NameInMap("IdleTime") private Integer idleTime; @com.aliyun.core.annotation.NameInMap("InstanceNetworkType") private String instanceNetworkType; @com.aliyun.core.annotation.NameInMap("LockMode") private String lockMode; @com.aliyun.core.annotation.NameInMap("LockReason") private String lockReason; @com.aliyun.core.annotation.NameInMap("MaintainEndTime") private String maintainEndTime; @com.aliyun.core.annotation.NameInMap("MaintainStartTime") private String maintainStartTime; @com.aliyun.core.annotation.NameInMap("MasterCU") private Integer masterCU; @com.aliyun.core.annotation.NameInMap("MasterNodeNum") private Integer masterNodeNum; @com.aliyun.core.annotation.NameInMap("MaxConnections") private Integer maxConnections; @com.aliyun.core.annotation.NameInMap("MemoryPerNode") private Integer memoryPerNode; @com.aliyun.core.annotation.NameInMap("MemorySize") private Long memorySize; @com.aliyun.core.annotation.NameInMap("MemoryUnit") private String memoryUnit; @com.aliyun.core.annotation.NameInMap("MinorVersion") private String minorVersion; @com.aliyun.core.annotation.NameInMap("PayType") private String payType; @com.aliyun.core.annotation.NameInMap("Port") private String port; @com.aliyun.core.annotation.NameInMap("ProdType") private String prodType; @com.aliyun.core.annotation.NameInMap("ReadDelayTime") private String readDelayTime; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("ResourceGroupId") private String resourceGroupId; @com.aliyun.core.annotation.NameInMap("RunningTime") private String runningTime; @com.aliyun.core.annotation.NameInMap("SecurityIPList") private String securityIPList; @com.aliyun.core.annotation.NameInMap("SegDiskPerformanceLevel") private String segDiskPerformanceLevel; @com.aliyun.core.annotation.NameInMap("SegNodeNum") private Integer segNodeNum; @com.aliyun.core.annotation.NameInMap("SegmentCounts") private Integer segmentCounts; @com.aliyun.core.annotation.NameInMap("ServerlessMode") private String serverlessMode; @com.aliyun.core.annotation.NameInMap("ServerlessResource") private Integer serverlessResource; @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; @com.aliyun.core.annotation.NameInMap("StoragePerNode") private Integer storagePerNode; @com.aliyun.core.annotation.NameInMap("StorageSize") private Long storageSize; @com.aliyun.core.annotation.NameInMap("StorageType") private String storageType; @com.aliyun.core.annotation.NameInMap("StorageUnit") private String storageUnit; @com.aliyun.core.annotation.NameInMap("SupportRestore") private Boolean supportRestore; @com.aliyun.core.annotation.NameInMap("Tags") private Tags tags; @com.aliyun.core.annotation.NameInMap("VSwitchId") private String vSwitchId; @com.aliyun.core.annotation.NameInMap("VectorConfigurationStatus") private String vectorConfigurationStatus; @com.aliyun.core.annotation.NameInMap("VpcId") private String vpcId; @com.aliyun.core.annotation.NameInMap("ZoneId") private String zoneId; private DBInstanceAttribute(Builder builder) { this.availabilityValue = builder.availabilityValue; this.connectionMode = builder.connectionMode; this.connectionString = builder.connectionString; this.coreVersion = builder.coreVersion; this.cpuCores = builder.cpuCores; this.cpuCoresPerNode = builder.cpuCoresPerNode; this.creationTime = builder.creationTime; this.DBInstanceCategory = builder.DBInstanceCategory; this.DBInstanceClass = builder.DBInstanceClass; this.DBInstanceClassType = builder.DBInstanceClassType; this.DBInstanceCpuCores = builder.DBInstanceCpuCores; this.DBInstanceDescription = builder.DBInstanceDescription; this.DBInstanceDiskMBPS = builder.DBInstanceDiskMBPS; this.DBInstanceGroupCount = builder.DBInstanceGroupCount; this.DBInstanceId = builder.DBInstanceId; this.DBInstanceMemory = builder.DBInstanceMemory; this.DBInstanceMode = builder.DBInstanceMode; this.DBInstanceNetType = builder.DBInstanceNetType; this.DBInstanceStatus = builder.DBInstanceStatus; this.DBInstanceStorage = builder.DBInstanceStorage; this.encryptionKey = builder.encryptionKey; this.encryptionType = builder.encryptionType; this.engine = builder.engine; this.engineVersion = builder.engineVersion; this.expireTime = builder.expireTime; this.hostType = builder.hostType; this.idleTime = builder.idleTime; this.instanceNetworkType = builder.instanceNetworkType; this.lockMode = builder.lockMode; this.lockReason = builder.lockReason; this.maintainEndTime = builder.maintainEndTime; this.maintainStartTime = builder.maintainStartTime; this.masterCU = builder.masterCU; this.masterNodeNum = builder.masterNodeNum; this.maxConnections = builder.maxConnections; this.memoryPerNode = builder.memoryPerNode; this.memorySize = builder.memorySize; this.memoryUnit = builder.memoryUnit; this.minorVersion = builder.minorVersion; this.payType = builder.payType; this.port = builder.port; this.prodType = builder.prodType; this.readDelayTime = builder.readDelayTime; this.regionId = builder.regionId; this.resourceGroupId = builder.resourceGroupId; this.runningTime = builder.runningTime; this.securityIPList = builder.securityIPList; this.segDiskPerformanceLevel = builder.segDiskPerformanceLevel; this.segNodeNum = builder.segNodeNum; this.segmentCounts = builder.segmentCounts; this.serverlessMode = builder.serverlessMode; this.serverlessResource = builder.serverlessResource; this.startTime = builder.startTime; this.storagePerNode = builder.storagePerNode; this.storageSize = builder.storageSize; this.storageType = builder.storageType; this.storageUnit = builder.storageUnit; this.supportRestore = builder.supportRestore; this.tags = builder.tags; this.vSwitchId = builder.vSwitchId; this.vectorConfigurationStatus = builder.vectorConfigurationStatus; this.vpcId = builder.vpcId; this.zoneId = builder.zoneId; } public static Builder builder() { return new Builder(); } public static DBInstanceAttribute create() { return builder().build(); } /** * @return availabilityValue */ public String getAvailabilityValue() { return this.availabilityValue; } /** * @return connectionMode */ public String getConnectionMode() { return this.connectionMode; } /** * @return connectionString */ public String getConnectionString() { return this.connectionString; } /** * @return coreVersion */ public String getCoreVersion() { return this.coreVersion; } /** * @return cpuCores */ public Integer getCpuCores() { return this.cpuCores; } /** * @return cpuCoresPerNode */ public Integer getCpuCoresPerNode() { return this.cpuCoresPerNode; } /** * @return creationTime */ public String getCreationTime() { return this.creationTime; } /** * @return DBInstanceCategory */ public String getDBInstanceCategory() { return this.DBInstanceCategory; } /** * @return DBInstanceClass */ public String getDBInstanceClass() { return this.DBInstanceClass; } /** * @return DBInstanceClassType */ public String getDBInstanceClassType() { return this.DBInstanceClassType; } /** * @return DBInstanceCpuCores */ public Integer getDBInstanceCpuCores() { return this.DBInstanceCpuCores; } /** * @return DBInstanceDescription */ public String getDBInstanceDescription() { return this.DBInstanceDescription; } /** * @return DBInstanceDiskMBPS */ public Long getDBInstanceDiskMBPS() { return this.DBInstanceDiskMBPS; } /** * @return DBInstanceGroupCount */ public String getDBInstanceGroupCount() { return this.DBInstanceGroupCount; } /** * @return DBInstanceId */ public String getDBInstanceId() { return this.DBInstanceId; } /** * @return DBInstanceMemory */ public Long getDBInstanceMemory() { return this.DBInstanceMemory; } /** * @return DBInstanceMode */ public String getDBInstanceMode() { return this.DBInstanceMode; } /** * @return DBInstanceNetType */ public String getDBInstanceNetType() { return this.DBInstanceNetType; } /** * @return DBInstanceStatus */ public String getDBInstanceStatus() { return this.DBInstanceStatus; } /** * @return DBInstanceStorage */ public Long getDBInstanceStorage() { return this.DBInstanceStorage; } /** * @return encryptionKey */ public String getEncryptionKey() { return this.encryptionKey; } /** * @return encryptionType */ public String getEncryptionType() { return this.encryptionType; } /** * @return engine */ public String getEngine() { return this.engine; } /** * @return engineVersion */ public String getEngineVersion() { return this.engineVersion; } /** * @return expireTime */ public String getExpireTime() { return this.expireTime; } /** * @return hostType */ public String getHostType() { return this.hostType; } /** * @return idleTime */ public Integer getIdleTime() { return this.idleTime; } /** * @return instanceNetworkType */ public String getInstanceNetworkType() { return this.instanceNetworkType; } /** * @return lockMode */ public String getLockMode() { return this.lockMode; } /** * @return lockReason */ public String getLockReason() { return this.lockReason; } /** * @return maintainEndTime */ public String getMaintainEndTime() { return this.maintainEndTime; } /** * @return maintainStartTime */ public String getMaintainStartTime() { return this.maintainStartTime; } /** * @return masterCU */ public Integer getMasterCU() { return this.masterCU; } /** * @return masterNodeNum */ public Integer getMasterNodeNum() { return this.masterNodeNum; } /** * @return maxConnections */ public Integer getMaxConnections() { return this.maxConnections; } /** * @return memoryPerNode */ public Integer getMemoryPerNode() { return this.memoryPerNode; } /** * @return memorySize */ public Long getMemorySize() { return this.memorySize; } /** * @return memoryUnit */ public String getMemoryUnit() { return this.memoryUnit; } /** * @return minorVersion */ public String getMinorVersion() { return this.minorVersion; } /** * @return payType */ public String getPayType() { return this.payType; } /** * @return port */ public String getPort() { return this.port; } /** * @return prodType */ public String getProdType() { return this.prodType; } /** * @return readDelayTime */ public String getReadDelayTime() { return this.readDelayTime; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } /** * @return runningTime */ public String getRunningTime() { return this.runningTime; } /** * @return securityIPList */ public String getSecurityIPList() { return this.securityIPList; } /** * @return segDiskPerformanceLevel */ public String getSegDiskPerformanceLevel() { return this.segDiskPerformanceLevel; } /** * @return segNodeNum */ public Integer getSegNodeNum() { return this.segNodeNum; } /** * @return segmentCounts */ public Integer getSegmentCounts() { return this.segmentCounts; } /** * @return serverlessMode */ public String getServerlessMode() { return this.serverlessMode; } /** * @return serverlessResource */ public Integer getServerlessResource() { return this.serverlessResource; } /** * @return startTime */ public String getStartTime() { return this.startTime; } /** * @return storagePerNode */ public Integer getStoragePerNode() { return this.storagePerNode; } /** * @return storageSize */ public Long getStorageSize() { return this.storageSize; } /** * @return storageType */ public String getStorageType() { return this.storageType; } /** * @return storageUnit */ public String getStorageUnit() { return this.storageUnit; } /** * @return supportRestore */ public Boolean getSupportRestore() { return this.supportRestore; } /** * @return tags */ public Tags getTags() { return this.tags; } /** * @return vSwitchId */ public String getVSwitchId() { return this.vSwitchId; } /** * @return vectorConfigurationStatus */ public String getVectorConfigurationStatus() { return this.vectorConfigurationStatus; } /** * @return vpcId */ public String getVpcId() { return this.vpcId; } /** * @return zoneId */ public String getZoneId() { return this.zoneId; } public static final class Builder { private String availabilityValue; private String connectionMode; private String connectionString; private String coreVersion; private Integer cpuCores; private Integer cpuCoresPerNode; private String creationTime; private String DBInstanceCategory; private String DBInstanceClass; private String DBInstanceClassType; private Integer DBInstanceCpuCores; private String DBInstanceDescription; private Long DBInstanceDiskMBPS; private String DBInstanceGroupCount; private String DBInstanceId; private Long DBInstanceMemory; private String DBInstanceMode; private String DBInstanceNetType; private String DBInstanceStatus; private Long DBInstanceStorage; private String encryptionKey; private String encryptionType; private String engine; private String engineVersion; private String expireTime; private String hostType; private Integer idleTime; private String instanceNetworkType; private String lockMode; private String lockReason; private String maintainEndTime; private String maintainStartTime; private Integer masterCU; private Integer masterNodeNum; private Integer maxConnections; private Integer memoryPerNode; private Long memorySize; private String memoryUnit; private String minorVersion; private String payType; private String port; private String prodType; private String readDelayTime; private String regionId; private String resourceGroupId; private String runningTime; private String securityIPList; private String segDiskPerformanceLevel; private Integer segNodeNum; private Integer segmentCounts; private String serverlessMode; private Integer serverlessResource; private String startTime; private Integer storagePerNode; private Long storageSize; private String storageType; private String storageUnit; private Boolean supportRestore; private Tags tags; private String vSwitchId; private String vectorConfigurationStatus; private String vpcId; private String zoneId; /** * The service availability of the instance. Unit: %. *

* * > This parameter is returned only for instances in reserved storage mode. */ public Builder availabilityValue(String availabilityValue) { this.availabilityValue = availabilityValue; return this; } /** * The access mode of the instance. Valid values: *

* * * **Performance**: standard mode. * * **Safety**: safe mode. * * **LVS**: Linux Virtual Server (LVS) mode. */ public Builder connectionMode(String connectionMode) { this.connectionMode = connectionMode; return this; } /** * The endpoint that is used to connect to the instance. */ public Builder connectionString(String connectionString) { this.connectionString = connectionString; return this; } /** * The number of the minor version. */ public Builder coreVersion(String coreVersion) { this.coreVersion = coreVersion; return this; } /** * The number of CPU cores per compute node. */ public Builder cpuCores(Integer cpuCores) { this.cpuCores = cpuCores; return this; } /** * The number of CPU cores per node. *

* * > This parameter is returned only for instances in reserved storage mode. */ public Builder cpuCoresPerNode(Integer cpuCoresPerNode) { this.cpuCoresPerNode = cpuCoresPerNode; return this; } /** * The time when the instance was created. */ public Builder creationTime(String creationTime) { this.creationTime = creationTime; return this; } /** * The edition of the instance. Valid values: *

* * * **Basic**: Basic Edition. * * **HighAvailability**: High-availability Edition. */ public Builder DBInstanceCategory(String DBInstanceCategory) { this.DBInstanceCategory = DBInstanceCategory; return this; } /** * The instance type of the instance. *

* * > This parameter is returned only for instances in reserved storage mode. */ public Builder DBInstanceClass(String DBInstanceClass) { this.DBInstanceClass = DBInstanceClass; return this; } /** * The instance family of the instance. Valid values: *

* * * **s**: shared. * * **x**: general-purpose. * * **d**: dedicated. * * **h**: dedicated host. */ public Builder DBInstanceClassType(String DBInstanceClassType) { this.DBInstanceClassType = DBInstanceClassType; return this; } /** * The number of CPU cores. */ public Builder DBInstanceCpuCores(Integer DBInstanceCpuCores) { this.DBInstanceCpuCores = DBInstanceCpuCores; return this; } /** * The description of the instance. */ public Builder DBInstanceDescription(String DBInstanceDescription) { this.DBInstanceDescription = DBInstanceDescription; return this; } /** * The maximum disk throughput of the compute group. Unit: Mbit/s. *

* * > This parameter is returned only for instances in reserved storage mode. */ public Builder DBInstanceDiskMBPS(Long DBInstanceDiskMBPS) { this.DBInstanceDiskMBPS = DBInstanceDiskMBPS; return this; } /** * The number of compute groups. *

* * > This parameter is returned only for instances in reserved storage mode. */ public Builder DBInstanceGroupCount(String DBInstanceGroupCount) { this.DBInstanceGroupCount = DBInstanceGroupCount; return this; } /** * The instance ID. */ public Builder DBInstanceId(String DBInstanceId) { this.DBInstanceId = DBInstanceId; return this; } /** * The memory capacity per compute node. *

* * > The unit of this parameter is MB for instances in reserved storage mode and GB for instances in Serverless mode or elastic storage mode. */ public Builder DBInstanceMemory(Long DBInstanceMemory) { this.DBInstanceMemory = DBInstanceMemory; return this; } /** * The resource type of the instance. Valid values: *

* * * **Serverless**: Serverless mode. * * **StorageElastic**: elastic storage mode. * * **Classic**: reserved storage mode. */ public Builder DBInstanceMode(String DBInstanceMode) { this.DBInstanceMode = DBInstanceMode; return this; } /** * An invalid parameter. It is no longer returned when you call this operation. */ public Builder DBInstanceNetType(String DBInstanceNetType) { this.DBInstanceNetType = DBInstanceNetType; return this; } /** * The state of the instance. For more information, see the "Additional description of DBInstanceStatus" section of this topic. */ public Builder DBInstanceStatus(String DBInstanceStatus) { this.DBInstanceStatus = DBInstanceStatus; return this; } /** * The maximum storage capacity per node. Unit: GB. */ public Builder DBInstanceStorage(Long DBInstanceStorage) { this.DBInstanceStorage = DBInstanceStorage; return this; } /** * The encryption key. *

* * > This parameter is returned only for instances that have disk encryption enabled. */ public Builder encryptionKey(String encryptionKey) { this.encryptionKey = encryptionKey; return this; } /** * The encryption type. Valid values: *

* * * **CloudDisk**: disk encryption. * * > This parameter is returned only for instances that have disk encryption enabled. */ public Builder encryptionType(String encryptionType) { this.encryptionType = encryptionType; return this; } /** * The database engine of the instance. */ public Builder engine(String engine) { this.engine = engine; return this; } /** * The database engine version of the instance. */ public Builder engineVersion(String engineVersion) { this.engineVersion = engineVersion; return this; } /** * The expiration time of the instance. The time is displayed in UTC. *

* * > The expiration time of a pay-as-you-go instance is `2999-09-08T16:00:00Z`. */ public Builder expireTime(String expireTime) { this.expireTime = expireTime; return this; } /** * The disk type of the compute group. Valid values: *

* * * **0**: SSD. * * **1**: HDD. * * > This parameter is returned only for instances in reserved storage mode. */ public Builder hostType(String hostType) { this.hostType = hostType; return this; } /** * The wait period for the instance that has no traffic to become idle. Unit: seconds. *

* * > This parameter is returned only for instances in Serverless automatic scheduling mode. */ public Builder idleTime(Integer idleTime) { this.idleTime = idleTime; return this; } /** * The network type of the instance. Valid values: *

* * * **Classic**: classic network. * * **VPC**: VPC. */ public Builder instanceNetworkType(String instanceNetworkType) { this.instanceNetworkType = instanceNetworkType; return this; } /** * The lock mode of the instance. Valid values: *

* * * **Unlock**: The instance is not locked. * * **ManualLock**: The instance is manually locked. * * **LockByExpiration**: The instance is automatically locked due to instance expiration. * * **LockByRestoration**: The instance is automatically locked due to instance restoration. * * **LockByDiskQuota**: The instance is a read-only instance and is automatically locked when the disk space is full. */ public Builder lockMode(String lockMode) { this.lockMode = lockMode; return this; } /** * An invalid parameter. It is no longer returned when you call this operation. */ public Builder lockReason(String lockReason) { this.lockReason = lockReason; return this; } /** * The end time of the maintenance window. */ public Builder maintainEndTime(String maintainEndTime) { this.maintainEndTime = maintainEndTime; return this; } /** * The start time of the maintenance window. */ public Builder maintainStartTime(String maintainStartTime) { this.maintainStartTime = maintainStartTime; return this; } /** * The amount of coordinator node resources. */ public Builder masterCU(Integer masterCU) { this.masterCU = masterCU; return this; } /** * The number of coordinator nodes. */ public Builder masterNodeNum(Integer masterNodeNum) { this.masterNodeNum = masterNodeNum; return this; } /** * The maximum number of concurrent connections to the instance. *

* * > This parameter is returned only for instances in reserved storage mode. */ public Builder maxConnections(Integer maxConnections) { this.maxConnections = maxConnections; return this; } /** * The memory capacity per node. The unit of this parameter can be one of the valid values of **MemoryUnit**. *

* * > This parameter is returned only for instances in reserved storage mode. */ public Builder memoryPerNode(Integer memoryPerNode) { this.memoryPerNode = memoryPerNode; return this; } /** * The memory capacity per compute node. *

* * > The unit of this parameter is MB for instances in reserved storage mode and GB for instances in Serverless mode or elastic storage mode. */ public Builder memorySize(Long memorySize) { this.memorySize = memorySize; return this; } /** * The unit of the memory capacity. *

* * > This parameter is returned only for instances in reserved storage mode. */ public Builder memoryUnit(String memoryUnit) { this.memoryUnit = memoryUnit; return this; } /** * The minor version of the instance. */ public Builder minorVersion(String minorVersion) { this.minorVersion = minorVersion; return this; } /** * The billing method of the instance. Valid values: *

* * * **Postpaid**: pay-as-you-go. * * **Prepaid**: subscription. */ public Builder payType(String payType) { this.payType = payType; return this; } /** * The port number that is used to connect to the instance. */ public Builder port(String port) { this.port = port; return this; } /** * ProdType. */ public Builder prodType(String prodType) { this.prodType = prodType; return this; } /** * An invalid parameter. It is no longer returned when you call this operation. */ public Builder readDelayTime(String readDelayTime) { this.readDelayTime = readDelayTime; return this; } /** * The region ID of the instance. */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * The ID of the resource group to which the instance belongs. */ public Builder resourceGroupId(String resourceGroupId) { this.resourceGroupId = resourceGroupId; return this; } /** * The running duration of the instance. */ public Builder runningTime(String runningTime) { this.runningTime = runningTime; return this; } /** * An invalid parameter. It is no longer returned when you call this operation. */ public Builder securityIPList(String securityIPList) { this.securityIPList = securityIPList; return this; } /** * The performance level of ESSDs. Only **PL1** is supported. */ public Builder segDiskPerformanceLevel(String segDiskPerformanceLevel) { this.segDiskPerformanceLevel = segDiskPerformanceLevel; return this; } /** * The number of compute nodes. *

* * > This parameter is returned only for instances in elastic storage mode or Serverless manual scheduling mode. */ public Builder segNodeNum(Integer segNodeNum) { this.segNodeNum = segNodeNum; return this; } /** * The number of compute groups. *

* * > This parameter is returned only for instances in reserved storage mode. */ public Builder segmentCounts(Integer segmentCounts) { this.segmentCounts = segmentCounts; return this; } /** * The type of the Serverless mode. Valid values: *

* * * **Manual**: manual scheduling. * * **Auto**: automatic scheduling. * * > This parameter is returned only for instances in Serverless mode. */ public Builder serverlessMode(String serverlessMode) { this.serverlessMode = serverlessMode; return this; } /** * The threshold of computing resources. Unit: AnalyticDB compute units (ACUs). *

* * > This parameter is returned only for instances in Serverless automatic scheduling mode. */ public Builder serverlessResource(Integer serverlessResource) { this.serverlessResource = serverlessResource; return this; } /** * The time when the instance started to run. */ public Builder startTime(String startTime) { this.startTime = startTime; return this; } /** * The storage capacity per node. The unit of this parameter can be one of the valid values of **StorageUnit**. *

* * > This parameter is returned only for instances in reserved storage mode. */ public Builder storagePerNode(Integer storagePerNode) { this.storagePerNode = storagePerNode; return this; } /** * The storage capacity of the instance. Unit: GB. */ public Builder storageSize(Long storageSize) { this.storageSize = storageSize; return this; } /** * The storage type of the instance. Valid values: *

* * * **cloud_essd**: enhanced SSD (ESSD). * * **cloud_efficiency**: ultra disk. * * > This parameter is returned only for instances in elastic storage mode. */ public Builder storageType(String storageType) { this.storageType = storageType; return this; } /** * The unit of the storage capacity. Valid values: *

* * * **GB SSD** * * **TB SSD** * * **GB HDD** * * > This parameter is returned only for instances in reserved storage mode. */ public Builder storageUnit(String storageUnit) { this.storageUnit = storageUnit; return this; } /** * Indicates whether the instance supports backup and restoration. Valid values: *

* * * **true** * * **false** */ public Builder supportRestore(Boolean supportRestore) { this.supportRestore = supportRestore; return this; } /** * The tags that are added to the instance. */ public Builder tags(Tags tags) { this.tags = tags; return this; } /** * The vSwitch ID of the instance. */ public Builder vSwitchId(String vSwitchId) { this.vSwitchId = vSwitchId; return this; } /** * Indicates whether vector search engine optimization is enabled. Valid values: *

* * * **enabled** * * **disabled** */ public Builder vectorConfigurationStatus(String vectorConfigurationStatus) { this.vectorConfigurationStatus = vectorConfigurationStatus; return this; } /** * The virtual private cloud (VPC) ID of the instance. */ public Builder vpcId(String vpcId) { this.vpcId = vpcId; return this; } /** * The zone ID of the instance. */ public Builder zoneId(String zoneId) { this.zoneId = zoneId; return this; } public DBInstanceAttribute build() { return new DBInstanceAttribute(this); } } } public static class Items extends TeaModel { @com.aliyun.core.annotation.NameInMap("DBInstanceAttribute") private java.util.List < DBInstanceAttribute> DBInstanceAttribute; private Items(Builder builder) { this.DBInstanceAttribute = builder.DBInstanceAttribute; } public static Builder builder() { return new Builder(); } public static Items create() { return builder().build(); } /** * @return DBInstanceAttribute */ public java.util.List < DBInstanceAttribute> getDBInstanceAttribute() { return this.DBInstanceAttribute; } public static final class Builder { private java.util.List < DBInstanceAttribute> DBInstanceAttribute; /** * DBInstanceAttribute. */ public Builder DBInstanceAttribute(java.util.List < DBInstanceAttribute> DBInstanceAttribute) { this.DBInstanceAttribute = DBInstanceAttribute; return this; } public Items build() { return new Items(this); } } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy