public class UpdateCollectionDataMetadataShrinkRequest
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.
|
String |
idsShrink
The row IDs of the data to be updated.
|
String |
metadataShrink
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 |
| 构造器和说明 |
|---|
UpdateCollectionDataMetadataShrinkRequest() |
@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 String idsShrink
The row IDs of the data to be updated. You cannot leave both this parameter and Filter empty.
@NameInMap(value="Metadata") public String metadataShrink
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 UpdateCollectionDataMetadataShrinkRequest()
public static UpdateCollectionDataMetadataShrinkRequest build(Map<String,?> map) throws Exception
Exceptionpublic UpdateCollectionDataMetadataShrinkRequest setCollection(String collection)
public String getCollection()
public UpdateCollectionDataMetadataShrinkRequest setDBInstanceId(String DBInstanceId)
public String getDBInstanceId()
public UpdateCollectionDataMetadataShrinkRequest setFilter(String filter)
public String getFilter()
public UpdateCollectionDataMetadataShrinkRequest setIdsShrink(String idsShrink)
public String getIdsShrink()
public UpdateCollectionDataMetadataShrinkRequest setMetadataShrink(String metadataShrink)
public String getMetadataShrink()
public UpdateCollectionDataMetadataShrinkRequest setNamespace(String namespace)
public String getNamespace()
public UpdateCollectionDataMetadataShrinkRequest setNamespacePassword(String namespacePassword)
public String getNamespacePassword()
public UpdateCollectionDataMetadataShrinkRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public UpdateCollectionDataMetadataShrinkRequest setRegionId(String regionId)
public String getRegionId()
public UpdateCollectionDataMetadataShrinkRequest setWorkspaceId(String workspaceId)
public String getWorkspaceId()
Copyright © 2024. All rights reserved.