public static final class ManagePrivateRdsRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
ManagePrivateRdsRequest |
build() |
ManagePrivateRdsRequest.Builder |
DBInstanceId(String DBInstanceId)
The ID of the custom ApsaraDB RDS instance at the storage layer.
|
ManagePrivateRdsRequest.Builder |
drdsInstanceId(String drdsInstanceId)
The ID of the PolarDB-X 1.0 instance.
|
ManagePrivateRdsRequest.Builder |
params(String params)
The JSON string that consists of request parameters and the values of the request parameters of an operation that you need to call for the custom ApsaraDB RDS instance.
|
ManagePrivateRdsRequest.Builder |
rdsAction(String rdsAction)
The operation that you want to perform on the custom ApsaraDB RDS instance.
|
ManagePrivateRdsRequest.Builder |
regionId(String regionId)
The ID of the region in which the PolarDB-X 1.0 instance resides.
|
public ManagePrivateRdsRequest.Builder DBInstanceId(String DBInstanceId)
> You can call the [DescribeDrdsRdsInstances](~~215526~~) operation to query the details of all ApsaraDB RDS instances, including the ID of the instance.
public ManagePrivateRdsRequest.Builder drdsInstanceId(String drdsInstanceId)
> You can call the [DescribeDrdsInstances](~~139284~~) operation to query the details of all PolarDB-X 1.0 instances within an Alibaba Cloud account, including the IDs of the instances.
public ManagePrivateRdsRequest.Builder params(String params)
For more information about the request parameters and valid values of the request parameters of each operation, see the request parameter sections in the following topics: * [DescribeDBInstanceAttribute](~~26231~~) * [DescribeAvailableClasses](~~196546~~) * [DescribeSQLCollectorPolicy](~~26292~~) * [ModifySQLCollectorPolicy](~~26293~~) * [DescribeParameters](~~26285~~) * [ModifyParameter](~~26286~~) * [DescribeDBInstanceHAConfig](~~26244~~) * [SwitchDBInstanceHA](~~26251~~) > Among the required request parameters of the preceding operations, you do not need to specify the `Action` and `DBInstanceId` parameters. You must specify all the other required request parameters.
public ManagePrivateRdsRequest.Builder rdsAction(String rdsAction)
* **DescribeDBInstanceAttribute**: queries the details of the custom ApsaraDB RDS instance. * **DescribeAvailableClasses**: queries the specifications that are supported for a custom ApsaraDB RDS instance. The specifications include the instance type and the storage capacity. * **DescribeSQLCollectorPolicy**: queries whether the SQL Explorer (SQL Audit) feature is enabled for custom ApsaraDB RDS instance. * **ModifySQLCollectorPolicy**: enables or disables the SQL Explorer (SQL Audit) feature for the custom ApsaraDB RDS instance. * **DescribeParameters**: queries the parameter settings of the custom ApsaraDB RDS instance. * **ModifyParameter**: modifies the parameters of the custom ApsaraDB RDS instance. * **DescribeDBInstanceHAConfig**: queries the high availability mode and data replication mode of the custom ApsaraDB RDS instance. * **SwitchDBInstanceHA**: switches workloads between the primary and secondary custom ApsaraDB RDS instances.
public ManagePrivateRdsRequest.Builder regionId(String regionId)
> You can call the [DescribeDrdsInstances](~~139284~~) operation to query the details of all PolarDB-X 1.0 instances within an Alibaba Cloud account, including the IDs of regions in which the instances reside.
public ManagePrivateRdsRequest build()
Copyright © 2024. All rights reserved.