public class GetInstanceRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
host
The endpoint of the database instance.
|
Integer |
port
The port number that is used to connect to the database instance.
|
String |
sid
The system ID (SID) of the database instance.
|
Long |
tid
The ID of the tenant.
|
| 构造器和说明 |
|---|
GetInstanceRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static GetInstanceRequest |
build(Map<String,?> map) |
String |
getHost() |
Integer |
getPort() |
String |
getSid() |
Long |
getTid() |
GetInstanceRequest |
setHost(String host) |
GetInstanceRequest |
setPort(Integer port) |
GetInstanceRequest |
setSid(String sid) |
GetInstanceRequest |
setTid(Long tid) |
@NameInMap(value="Host") public String host
The endpoint of the database instance. You can call the ListInstances operation to obtain the endpoint.
This parameter is required.
example:172.17.XXX.XXX
@NameInMap(value="Port") public Integer port
The port number that is used to connect to the database instance. You can call the ListInstances operation to obtain the port number.
This parameter is required.
example:5432
@NameInMap(value="Sid") public String sid
The system ID (SID) of the database instance. You can call the ListInstances operation to obtain the SID.
example:test
@NameInMap(value="Tid") public Long tid
The ID of the tenant. You can call the GetUserActiveTenant operation to obtain the tenant ID.
example:2***
public static GetInstanceRequest build(Map<String,?> map) throws Exception
Exceptionpublic GetInstanceRequest setHost(String host)
public String getHost()
public GetInstanceRequest setPort(Integer port)
public Integer getPort()
public GetInstanceRequest setSid(String sid)
public String getSid()
public GetInstanceRequest setTid(Long tid)
public Long getTid()
Copyright © 2025. All rights reserved.