public class ListTablesRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
database
The name of the database.
|
String |
DBInstanceId
The instance ID.
|
Integer |
maxResults
The maximum number of entries per page.
|
String |
nextToken
The pagination token that is used in the next request to retrieve a new page of results.
|
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 |
tablePattern
The table name pattern for matching.
|
| 构造器和说明 |
|---|
ListTablesRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ListTablesRequest |
build(Map<String,?> map) |
String |
getDatabase() |
String |
getDBInstanceId() |
Integer |
getMaxResults() |
String |
getNextToken() |
Long |
getOwnerId() |
String |
getRegionId() |
String |
getSchema() |
String |
getSecretArn() |
String |
getTablePattern() |
ListTablesRequest |
setDatabase(String database) |
ListTablesRequest |
setDBInstanceId(String DBInstanceId) |
ListTablesRequest |
setMaxResults(Integer maxResults) |
ListTablesRequest |
setNextToken(String nextToken) |
ListTablesRequest |
setOwnerId(Long ownerId) |
ListTablesRequest |
setRegionId(String regionId) |
ListTablesRequest |
setSchema(String schema) |
ListTablesRequest |
setSecretArn(String secretArn) |
ListTablesRequest |
setTablePattern(String tablePattern) |
@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="MaxResults") public Integer maxResults
The maximum number of entries per page. Valid values: 1 to 100.
example:100
@NameInMap(value="NextToken") public String nextToken
The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.
example:caeba0bbb2be03f84eb48b699f0a4883
@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 ListTables 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="TablePattern") public String tablePattern
The table name pattern for matching. For example, ab% specifies to match table names that start with ab.
ab%
public static ListTablesRequest build(Map<String,?> map) throws Exception
Exceptionpublic ListTablesRequest setDBInstanceId(String DBInstanceId)
public String getDBInstanceId()
public ListTablesRequest setDatabase(String database)
public String getDatabase()
public ListTablesRequest setMaxResults(Integer maxResults)
public Integer getMaxResults()
public ListTablesRequest setNextToken(String nextToken)
public String getNextToken()
public ListTablesRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public ListTablesRequest setRegionId(String regionId)
public String getRegionId()
public ListTablesRequest setSchema(String schema)
public String getSchema()
public ListTablesRequest setSecretArn(String secretArn)
public String getSecretArn()
public ListTablesRequest setTablePattern(String tablePattern)
public String getTablePattern()
Copyright © 2024. All rights reserved.