public class UpdateCollectionDataMetadataRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
collection
The name of the collection.
|
String |
DBInstanceId
The instance ID.
|
String |
filter
The condition that is used to filter the data to be updated.
|
List<String> |
ids
The row IDs of the data to be updated.
|
Map<String,?> |
metadata
The data to be updated, which is a JSON string in the MAP format.
|
String |
namespace
The name of the namespace.
|
String |
namespacePassword
The password of the namespace.
|
Long |
ownerId |
String |
regionId
The region ID.
|
String |
workspaceId |
| 构造器和说明 |
|---|
UpdateCollectionDataMetadataRequest() |
@NameInMap(value="Collection") public String collection
The name of the collection.
This parameter is required.
example:document
@NameInMap(value="DBInstanceId") public String DBInstanceId
The instance ID.
example:You can call the DescribeDBInstances operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.
gp-xxxxxxxxx
@NameInMap(value="Filter") public String filter
The condition that is used to filter the data to be updated. Specify this parameter in a format that is the same as the WHERE clause. You cannot leave both this parameter and Ids empty.
example:business_value = \"chat_file_1\"
@NameInMap(value="Ids") public List<String> ids
The row IDs of the data to be updated. You cannot leave both this parameter and Filter empty.
@NameInMap(value="Metadata") public Map<String,?> metadata
The data to be updated, which is a JSON string in the MAP format. In the JSON string, key specifies the field name and value specifies the new data value.
This parameter is required.
example:{ "title": "new title", "content": "new content" }
@NameInMap(value="Namespace") public String namespace
The name of the namespace.
example:mynamespace
@NameInMap(value="NamespacePassword") public String namespacePassword
The password of the namespace.
This parameter is required.
example:testpassword
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="RegionId") public String regionId
The region ID.
You can call the DescribeRegions operation to query the most recent region list.
This parameter is required.
example:cn-hangzhou
@NameInMap(value="WorkspaceId") public String workspaceId
public static UpdateCollectionDataMetadataRequest build(Map<String,?> map) throws Exception
Exceptionpublic UpdateCollectionDataMetadataRequest setCollection(String collection)
public String getCollection()
public UpdateCollectionDataMetadataRequest setDBInstanceId(String DBInstanceId)
public String getDBInstanceId()
public UpdateCollectionDataMetadataRequest setFilter(String filter)
public String getFilter()
public UpdateCollectionDataMetadataRequest setIds(List<String> ids)
public UpdateCollectionDataMetadataRequest setMetadata(Map<String,?> metadata)
public UpdateCollectionDataMetadataRequest setNamespace(String namespace)
public String getNamespace()
public UpdateCollectionDataMetadataRequest setNamespacePassword(String namespacePassword)
public String getNamespacePassword()
public UpdateCollectionDataMetadataRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public UpdateCollectionDataMetadataRequest setRegionId(String regionId)
public String getRegionId()
public UpdateCollectionDataMetadataRequest setWorkspaceId(String workspaceId)
public String getWorkspaceId()
Copyright © 2024. All rights reserved.