public class ListDocumentsRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
collection
The name of the document collection.
|
String |
DBInstanceId
This parameter is required.
|
Integer |
maxResults
The maximum number of entries per page.
|
String |
namespace
The name of the namespace.
|
String |
namespacePassword
The password of the namespace.
|
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.
|
| 构造器和说明 |
|---|
ListDocumentsRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ListDocumentsRequest |
build(Map<String,?> map) |
String |
getCollection() |
String |
getDBInstanceId() |
Integer |
getMaxResults() |
String |
getNamespace() |
String |
getNamespacePassword() |
String |
getNextToken() |
Long |
getOwnerId() |
String |
getRegionId() |
ListDocumentsRequest |
setCollection(String collection) |
ListDocumentsRequest |
setDBInstanceId(String DBInstanceId) |
ListDocumentsRequest |
setMaxResults(Integer maxResults) |
ListDocumentsRequest |
setNamespace(String namespace) |
ListDocumentsRequest |
setNamespacePassword(String namespacePassword) |
ListDocumentsRequest |
setNextToken(String nextToken) |
ListDocumentsRequest |
setOwnerId(Long ownerId) |
ListDocumentsRequest |
setRegionId(String regionId) |
@NameInMap(value="Collection") public String collection
The name of the document collection.
You can call the CreateDocumentCollection operation to create a document collection and call the ListDocumentCollections operation to query a list of document collections.
This parameter is required.
example:document
@NameInMap(value="DBInstanceId") public String DBInstanceId
This parameter is required.
example:gp-xxxxxxxxx
@NameInMap(value="MaxResults") public Integer maxResults
The maximum number of entries per page. Valid values: 1 to 100.
example:100
@NameInMap(value="Namespace") public String namespace
The name of the namespace. Default value: public.
example:You can call the CreateNamespace operation to create a namespace and call the ListNamespaces operation to query a list of namespaces.
mynamespace
@NameInMap(value="NamespacePassword") public String namespacePassword
The password of the namespace.
This value is specified when you call the CreateNamespace operation.
This parameter is required.
example:testpassword
@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-hangzhou
public static ListDocumentsRequest build(Map<String,?> map) throws Exception
Exceptionpublic ListDocumentsRequest setCollection(String collection)
public String getCollection()
public ListDocumentsRequest setDBInstanceId(String DBInstanceId)
public String getDBInstanceId()
public ListDocumentsRequest setMaxResults(Integer maxResults)
public Integer getMaxResults()
public ListDocumentsRequest setNamespace(String namespace)
public String getNamespace()
public ListDocumentsRequest setNamespacePassword(String namespacePassword)
public String getNamespacePassword()
public ListDocumentsRequest setNextToken(String nextToken)
public String getNextToken()
public ListDocumentsRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public ListDocumentsRequest setRegionId(String regionId)
public String getRegionId()
Copyright © 2024. All rights reserved.