public class DescribeTableRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
database
The name of the database.
|
String |
DBInstanceId
The instance ID.
|
Long |
ownerId |
String |
regionId
The region ID of the instance.
|
String |
schema
The name of the schema to which the table belongs.
|
String |
secretArn
The Alibaba Cloud Resource Name (ARN) of the access credential for the created Data API account.
|
String |
table
The name of the table.
|
| 构造器和说明 |
|---|
DescribeTableRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static DescribeTableRequest |
build(Map<String,?> map) |
String |
getDatabase() |
String |
getDBInstanceId() |
Long |
getOwnerId() |
String |
getRegionId() |
String |
getSchema() |
String |
getSecretArn() |
String |
getTable() |
DescribeTableRequest |
setDatabase(String database) |
DescribeTableRequest |
setDBInstanceId(String DBInstanceId) |
DescribeTableRequest |
setOwnerId(Long ownerId) |
DescribeTableRequest |
setRegionId(String regionId) |
DescribeTableRequest |
setSchema(String schema) |
DescribeTableRequest |
setSecretArn(String secretArn) |
DescribeTableRequest |
setTable(String table) |
@NameInMap(value="DBInstanceId") public String DBInstanceId
The instance ID.
You can call the DescribeDBInstances operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.
This parameter is required.
example:gp-xxxxxxxxx
@NameInMap(value="Database") public String database
The name of the database.
This parameter is required.
example:adbtest
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="RegionId") public String regionId
The region ID of the instance.
This parameter is required.
example:cn-beijing
@NameInMap(value="Schema") public String schema
The name of the schema to which the table belongs.
This parameter is required.
example:public
@NameInMap(value="SecretArn") public String secretArn
The Alibaba Cloud Resource Name (ARN) of the access credential for the created Data API account. You can call the CreateSecret operation to create an access credential.
To call the DescribeTable operation as a Resource Access Management (RAM) user, the RAM user must have the permissions to call the UseSecret or GetSecretValue operation on the ARN of the access credential.
This parameter is required.
example:acs:gpdb:cn-beijing:1033**:secret/testsecret-eG2AQGRIwQ0zFp4VA7mYL3uiCXTfDQbQ
@NameInMap(value="Table") public String table
The name of the table.
This parameter is required.
example:mytable
public static DescribeTableRequest build(Map<String,?> map) throws Exception
Exceptionpublic DescribeTableRequest setDBInstanceId(String DBInstanceId)
public String getDBInstanceId()
public DescribeTableRequest setDatabase(String database)
public String getDatabase()
public DescribeTableRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public DescribeTableRequest setRegionId(String regionId)
public String getRegionId()
public DescribeTableRequest setSchema(String schema)
public String getSchema()
public DescribeTableRequest setSecretArn(String secretArn)
public String getSecretArn()
public DescribeTableRequest setTable(String table)
public String getTable()
Copyright © 2024. All rights reserved.