public class UpsertChunksRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 类和说明 |
|---|---|
static class |
UpsertChunksRequest.UpsertChunksRequestTextChunks |
| 限定符和类型 | 字段和说明 |
|---|---|
String |
collection
The name of the document collection.
|
String |
DBInstanceId
This parameter is required.
|
String |
fileName
example:
mydoc.txt
|
String |
namespace
The name of the namespace.
|
String |
namespacePassword
The password of the namespace.
|
Long |
ownerId |
String |
regionId
This parameter is required.
|
List<UpsertChunksRequest.UpsertChunksRequestTextChunks> |
textChunks |
| 构造器和说明 |
|---|
UpsertChunksRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static UpsertChunksRequest |
build(Map<String,?> map) |
String |
getCollection() |
String |
getDBInstanceId() |
String |
getFileName() |
String |
getNamespace() |
String |
getNamespacePassword() |
Long |
getOwnerId() |
String |
getRegionId() |
List<UpsertChunksRequest.UpsertChunksRequestTextChunks> |
getTextChunks() |
UpsertChunksRequest |
setCollection(String collection) |
UpsertChunksRequest |
setDBInstanceId(String DBInstanceId) |
UpsertChunksRequest |
setFileName(String fileName) |
UpsertChunksRequest |
setNamespace(String namespace) |
UpsertChunksRequest |
setNamespacePassword(String namespacePassword) |
UpsertChunksRequest |
setOwnerId(Long ownerId) |
UpsertChunksRequest |
setRegionId(String regionId) |
UpsertChunksRequest |
setTextChunks(List<UpsertChunksRequest.UpsertChunksRequestTextChunks> textChunks) |
@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="FileName") public String fileName
mydoc.txt
@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="OwnerId") public Long ownerId
@NameInMap(value="RegionId") public String regionId
This parameter is required.
example:cn-hangzhou
@NameInMap(value="TextChunks") public List<UpsertChunksRequest.UpsertChunksRequestTextChunks> textChunks
public static UpsertChunksRequest build(Map<String,?> map) throws Exception
Exceptionpublic UpsertChunksRequest setCollection(String collection)
public String getCollection()
public UpsertChunksRequest setDBInstanceId(String DBInstanceId)
public String getDBInstanceId()
public UpsertChunksRequest setFileName(String fileName)
public String getFileName()
public UpsertChunksRequest setNamespace(String namespace)
public String getNamespace()
public UpsertChunksRequest setNamespacePassword(String namespacePassword)
public String getNamespacePassword()
public UpsertChunksRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public UpsertChunksRequest setRegionId(String regionId)
public String getRegionId()
public UpsertChunksRequest setTextChunks(List<UpsertChunksRequest.UpsertChunksRequestTextChunks> textChunks)
public List<UpsertChunksRequest.UpsertChunksRequestTextChunks> getTextChunks()
Copyright © 2024. All rights reserved.