public static final class DescribeDrdsDbInstancesResponseBody.DbInstance.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
DescribeDrdsDbInstancesResponseBody.DbInstance |
build() |
DescribeDrdsDbInstancesResponseBody.DbInstance.Builder |
connectUrl(String connectUrl)
Indicates the endpoint that is used to connect to an ApsaraDB RDS for MySQL instance that is used to store the data of the specified database.
|
DescribeDrdsDbInstancesResponseBody.DbInstance.Builder |
DBInstanceId(String DBInstanceId)
Indicates the ID of the ApsaraDB RDS for MySQL instance that is used to store the data of the specified database.
|
DescribeDrdsDbInstancesResponseBody.DbInstance.Builder |
DBInstanceStatus(String DBInstanceStatus)
Indicates the state of the ApsaraDB RDS for MySQL instance that is used to store the data of the specified database.
|
DescribeDrdsDbInstancesResponseBody.DbInstance.Builder |
dbInstType(String dbInstType)
Indicates the type of the ApsaraDB RDS for MySQL instance that is used to store the data of the specified database.
|
DescribeDrdsDbInstancesResponseBody.DbInstance.Builder |
dmInstanceId(String dmInstanceId)
Indicates the ID of a resource.
|
DescribeDrdsDbInstancesResponseBody.DbInstance.Builder |
engine(String engine)
Indicates the engine of the ApsaraDB RDS for MySQL instance that is used to store the data of the specified database.
|
DescribeDrdsDbInstancesResponseBody.DbInstance.Builder |
engineVersion(String engineVersion)
Indicates the engine version of the ApsaraDB RDS for MySQL instance that is used to store the data of the specified database.
|
DescribeDrdsDbInstancesResponseBody.DbInstance.Builder |
expireTime(String expireTime)
Indicates the point in time when the ApsaraDB RDS for MySQL instance that is used to store the data of the specified database expires.
|
DescribeDrdsDbInstancesResponseBody.DbInstance.Builder |
networkType(String networkType)
Indicates the network type of the ApsaraDB RDS for MySQL instance.
|
DescribeDrdsDbInstancesResponseBody.DbInstance.Builder |
payType(String payType)
Indicates the billing method of the ApsaraDB RDS for MySQL instance that is used to store the data of the specified database.
|
DescribeDrdsDbInstancesResponseBody.DbInstance.Builder |
port(Integer port)
Indicates the port that is used to connect to the ApsaraDB RDS for MySQL instance that is used to store the data of the specified database.
|
DescribeDrdsDbInstancesResponseBody.DbInstance.Builder |
rdsInstType(String rdsInstType)
Indicates whether the ApsaraDB RDS for MySQL instance that is used to store the data of the specified database is a primary instance or a read-only instance.
|
DescribeDrdsDbInstancesResponseBody.DbInstance.Builder |
readOnlyInstances(DescribeDrdsDbInstancesResponseBody.ReadOnlyInstances readOnlyInstances)
Indicates information about the read-only instances of the ApsaraDB RDS for MySQL instance that is used to store the data of the specified database.
|
DescribeDrdsDbInstancesResponseBody.DbInstance.Builder |
readWeight(Integer readWeight)
Indicates the read weight of the read-only instance.
|
DescribeDrdsDbInstancesResponseBody.DbInstance.Builder |
remainDays(Integer remainDays)
Indicates the number of remaining days before a subscription instance expires.
|
public DescribeDrdsDbInstancesResponseBody.DbInstance.Builder connectUrl(String connectUrl)
public DescribeDrdsDbInstancesResponseBody.DbInstance.Builder DBInstanceId(String DBInstanceId)
public DescribeDrdsDbInstancesResponseBody.DbInstance.Builder DBInstanceStatus(String DBInstanceStatus)
* **0**: The ApsaraDB RDS for MySQL instance is being created. * **1**: The ApsaraDB RDS for MySQL instance is running. * **3**: The ApsaraDB RDS for MySQL instance is being deleted. * **5**: The ApsaraDB RDS for MySQL instance is being restarted. * **6**: The ApsaraDB RDS for MySQL instance is being upgraded or downgraded. * **7**: The ApsaraDB RDS for MySQL instance is being backed up. * **8**: The network type of the ApsaraDB RDS for MySQL instance is being changed. * **9**: The ApsaraDB RDS for MySQL instance is being migrated. * **11**: The data of the ApsaraDB RDS for MySQL instance is being migrated. * **12**: A disaster-recovery instance is being generated. * **13**: Data is being imported to the ApsaraDB RDS for MySQL instance. * **14**: Data is being imported to the ApsaraDB RDS for MySQL instance from an another ApsaraDB RDS for MySQL instance. * **15**: A failover is being performed. * **16**: A temporary instance is being created. * **17**: A network is being created for the ApsaraDB RDS for MySQL instance. * **18**: The ApsaraDB RDS for MySQL instance is being cloned. * **19**: The link is being changed. * **20**: The read-only instances of the ApsaraDB RDS for MySQL instance are being migrated.
public DescribeDrdsDbInstancesResponseBody.DbInstance.Builder dbInstType(String dbInstType)
public DescribeDrdsDbInstancesResponseBody.DbInstance.Builder dmInstanceId(String dmInstanceId)
public DescribeDrdsDbInstancesResponseBody.DbInstance.Builder engine(String engine)
public DescribeDrdsDbInstancesResponseBody.DbInstance.Builder engineVersion(String engineVersion)
public DescribeDrdsDbInstancesResponseBody.DbInstance.Builder expireTime(String expireTime)
public DescribeDrdsDbInstancesResponseBody.DbInstance.Builder networkType(String networkType)
public DescribeDrdsDbInstancesResponseBody.DbInstance.Builder payType(String payType)
* **drdsPre**: The instance uses the subscription billing method. * **drdsPost**: The instance uses the pay-as-you-go billing method.
public DescribeDrdsDbInstancesResponseBody.DbInstance.Builder port(Integer port)
public DescribeDrdsDbInstancesResponseBody.DbInstance.Builder rdsInstType(String rdsInstType)
* **Primary**: The instance is a primary instance. * **Readonly**: The instance is a read-only instance.
public DescribeDrdsDbInstancesResponseBody.DbInstance.Builder readOnlyInstances(DescribeDrdsDbInstancesResponseBody.ReadOnlyInstances readOnlyInstances)
public DescribeDrdsDbInstancesResponseBody.DbInstance.Builder readWeight(Integer readWeight)
public DescribeDrdsDbInstancesResponseBody.DbInstance.Builder remainDays(Integer remainDays)
public DescribeDrdsDbInstancesResponseBody.DbInstance build()
Copyright © 2024. All rights reserved.