public class CreateLogicDatabaseRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
alias
The alias of the logical database.
|
List<Long> |
databaseIds
The IDs of the physical databases that compose the logical database.
|
Long |
tid
The ID of the tenant.
|
| 构造器和说明 |
|---|
CreateLogicDatabaseRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static CreateLogicDatabaseRequest |
build(Map<String,?> map) |
String |
getAlias() |
List<Long> |
getDatabaseIds() |
Long |
getTid() |
CreateLogicDatabaseRequest |
setAlias(String alias) |
CreateLogicDatabaseRequest |
setDatabaseIds(List<Long> databaseIds) |
CreateLogicDatabaseRequest |
setTid(Long tid) |
@NameInMap(value="Alias") public String alias
The alias of the logical database.
This parameter is required.
example:test_logic_db
@NameInMap(value="DatabaseIds") public List<Long> databaseIds
The IDs of the physical databases that compose the logical database. You can specify one or more database IDs. You can call the ListDatabases or SearchDatabase operation to query the IDs of the physical databases.
This parameter is required.
@NameInMap(value="Tid") public Long tid
The ID of the tenant.
example:To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the DMS console. For more information, see the "View information about the current tenant" section of the Manage DMS tenants topic.
3***
public static CreateLogicDatabaseRequest build(Map<String,?> map) throws Exception
Exceptionpublic CreateLogicDatabaseRequest setAlias(String alias)
public String getAlias()
public CreateLogicDatabaseRequest setDatabaseIds(List<Long> databaseIds)
public CreateLogicDatabaseRequest setTid(Long tid)
public Long getTid()
Copyright © 2025. All rights reserved.