public class ListSchemasRequest
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 |
schemaPattern
The schema name pattern for matching.
|
String |
secretArn
The Alibaba Cloud Resource Name (ARN) of the access credential for the created Data API account.
|
| 构造器和说明 |
|---|
ListSchemasRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ListSchemasRequest |
build(Map<String,?> map) |
String |
getDatabase() |
String |
getDBInstanceId() |
Integer |
getMaxResults() |
String |
getNextToken() |
Long |
getOwnerId() |
String |
getRegionId() |
String |
getSchemaPattern() |
String |
getSecretArn() |
ListSchemasRequest |
setDatabase(String database) |
ListSchemasRequest |
setDBInstanceId(String DBInstanceId) |
ListSchemasRequest |
setMaxResults(Integer maxResults) |
ListSchemasRequest |
setNextToken(String nextToken) |
ListSchemasRequest |
setOwnerId(Long ownerId) |
ListSchemasRequest |
setRegionId(String regionId) |
ListSchemasRequest |
setSchemaPattern(String schemaPattern) |
ListSchemasRequest |
setSecretArn(String secretArn) |
@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:20
@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="SchemaPattern") public String schemaPattern
The schema name pattern for matching. For example, ab% specifies to match schema names that start with ab.
aaa%
@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 ListSchemas 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
public static ListSchemasRequest build(Map<String,?> map) throws Exception
Exceptionpublic ListSchemasRequest setDBInstanceId(String DBInstanceId)
public String getDBInstanceId()
public ListSchemasRequest setDatabase(String database)
public String getDatabase()
public ListSchemasRequest setMaxResults(Integer maxResults)
public Integer getMaxResults()
public ListSchemasRequest setNextToken(String nextToken)
public String getNextToken()
public ListSchemasRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public ListSchemasRequest setRegionId(String regionId)
public String getRegionId()
public ListSchemasRequest setSchemaPattern(String schemaPattern)
public String getSchemaPattern()
public ListSchemasRequest setSecretArn(String secretArn)
public String getSecretArn()
Copyright © 2024. All rights reserved.