public class GetDatabaseRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
host
The endpoint that is used to connect to the database.
|
Integer |
port
The port that is used to connect to the database.
|
String |
schemaName
The name of the database.
|
String |
sid
The system identifier (SID) of the database.
|
Long |
tid
The ID of the tenant.
|
| 构造器和说明 |
|---|
GetDatabaseRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static GetDatabaseRequest |
build(Map<String,?> map) |
String |
getHost() |
Integer |
getPort() |
String |
getSchemaName() |
String |
getSid() |
Long |
getTid() |
GetDatabaseRequest |
setHost(String host) |
GetDatabaseRequest |
setPort(Integer port) |
GetDatabaseRequest |
setSchemaName(String schemaName) |
GetDatabaseRequest |
setSid(String sid) |
GetDatabaseRequest |
setTid(Long tid) |
@NameInMap(value="Host") public String host
The endpoint that is used to connect to the database.
This parameter is required.
example:192.168.XX.XX
@NameInMap(value="Port") public Integer port
The port that is used to connect to the database.
This parameter is required.
example:3306
@NameInMap(value="SchemaName") public String schemaName
The name of the database.
This parameter is required.
example:mysql
@NameInMap(value="Sid") public String sid
The system identifier (SID) of the database.
example:The SID uniquely identifies an Oracle database. After a database is created, a SID is generated for the database.
test_sid
@NameInMap(value="Tid") public Long tid
The ID of the tenant. You can call the GetUserActiveTenant operation to query the ID of the tenant.
example:-1
public static GetDatabaseRequest build(Map<String,?> map) throws Exception
Exceptionpublic GetDatabaseRequest setHost(String host)
public String getHost()
public GetDatabaseRequest setPort(Integer port)
public Integer getPort()
public GetDatabaseRequest setSchemaName(String schemaName)
public String getSchemaName()
public GetDatabaseRequest setSid(String sid)
public String getSid()
public GetDatabaseRequest setTid(Long tid)
public Long getTid()
Copyright © 2025. All rights reserved.