public static final class EditLogicDatabaseRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
EditLogicDatabaseRequest.Builder |
alias(String alias)
- The alias of the logical database.
|
EditLogicDatabaseRequest |
build() |
EditLogicDatabaseRequest.Builder |
databaseIds(List<Long> databaseIds)
- The IDs of the physical databases that compose the logical database.
|
EditLogicDatabaseRequest.Builder |
logicDbId(Long logicDbId)
The ID of the logical database.
|
EditLogicDatabaseRequest.Builder |
regionId(String regionId)
RegionId.
|
EditLogicDatabaseRequest.Builder |
tid(Long tid)
The ID of the tenant.
|
public EditLogicDatabaseRequest.Builder regionId(String regionId)
public EditLogicDatabaseRequest.Builder alias(String alias)
- If you do not need to change the alias of the logical database, call the [GetLogicDatabase](https://www.alibabacloud.com/help/en/data-management-service/latest/getlogicdatabase) or [GetDBTopology](https://www.alibabacloud.com/help/en/data-management-service/latest/getdbtopology) operation to query the alias of the logical database.
public EditLogicDatabaseRequest.Builder databaseIds(List<Long> databaseIds)
- If you do not want to change the physical databases, you can call the [GetDBTopology](https://www.alibabacloud.com/help/en/data-management-service/latest/getdbtopology) operation to query the IDs of the physical databases that compose the logical database.
public EditLogicDatabaseRequest.Builder logicDbId(Long logicDbId)
public EditLogicDatabaseRequest.Builder tid(Long tid)
> To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see the "View information about the current tenant" section of the [Manage DMS tenants](https://www.alibabacloud.com/help/en/data-management-service/latest/manage-dms-tenants) topic.
public EditLogicDatabaseRequest build()
Copyright © 2023. All rights reserved.