All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.sdk.service.gpdb20160503.models.DeleteCollectionDataRequest Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.gpdb20160503.models;

import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * {@link DeleteCollectionDataRequest} extends {@link RequestModel}
 *
 * 

DeleteCollectionDataRequest

*/ public class DeleteCollectionDataRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Collection") @com.aliyun.core.annotation.Validation(required = true) private String collection; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CollectionData") private String collectionData; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CollectionDataFilter") private String collectionDataFilter; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DBInstanceId") private String DBInstanceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Namespace") private String namespace; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NamespacePassword") @com.aliyun.core.annotation.Validation(required = true) private String namespacePassword; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("WorkspaceId") private String workspaceId; private DeleteCollectionDataRequest(Builder builder) { super(builder); this.collection = builder.collection; this.collectionData = builder.collectionData; this.collectionDataFilter = builder.collectionDataFilter; this.DBInstanceId = builder.DBInstanceId; this.namespace = builder.namespace; this.namespacePassword = builder.namespacePassword; this.ownerId = builder.ownerId; this.regionId = builder.regionId; this.workspaceId = builder.workspaceId; } public static Builder builder() { return new Builder(); } public static DeleteCollectionDataRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return collection */ public String getCollection() { return this.collection; } /** * @return collectionData */ public String getCollectionData() { return this.collectionData; } /** * @return collectionDataFilter */ public String getCollectionDataFilter() { return this.collectionDataFilter; } /** * @return DBInstanceId */ public String getDBInstanceId() { return this.DBInstanceId; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return namespacePassword */ public String getNamespacePassword() { return this.namespacePassword; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return workspaceId */ public String getWorkspaceId() { return this.workspaceId; } public static final class Builder extends Request.Builder { private String collection; private String collectionData; private String collectionDataFilter; private String DBInstanceId; private String namespace; private String namespacePassword; private Long ownerId; private String regionId; private String workspaceId; private Builder() { super(); } private Builder(DeleteCollectionDataRequest request) { super(request); this.collection = request.collection; this.collectionData = request.collectionData; this.collectionDataFilter = request.collectionDataFilter; this.DBInstanceId = request.DBInstanceId; this.namespace = request.namespace; this.namespacePassword = request.namespacePassword; this.ownerId = request.ownerId; this.regionId = request.regionId; this.workspaceId = request.workspaceId; } /** * The name of the collection. */ public Builder collection(String collection) { this.putQueryParameter("Collection", collection); this.collection = collection; return this; } /** * The data that you want to delete. */ public Builder collectionData(String collectionData) { this.putQueryParameter("CollectionData", collectionData); this.collectionData = collectionData; return this; } /** * The filter conditions for the data to be deleted. */ public Builder collectionDataFilter(String collectionDataFilter) { this.putQueryParameter("CollectionDataFilter", collectionDataFilter); this.collectionDataFilter = collectionDataFilter; return this; } /** * The instance ID. *

* * > You can call the [DescribeDBInstances](~~86911~~) operation to query the IDs of all AnalyticDB for PostgreSQL instances within a region. */ public Builder DBInstanceId(String DBInstanceId) { this.putQueryParameter("DBInstanceId", DBInstanceId); this.DBInstanceId = DBInstanceId; return this; } /** * The name of the namespace. */ public Builder namespace(String namespace) { this.putQueryParameter("Namespace", namespace); this.namespace = namespace; return this; } /** * The password of the namespace. */ public Builder namespacePassword(String namespacePassword) { this.putQueryParameter("NamespacePassword", namespacePassword); this.namespacePassword = namespacePassword; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * The region ID of the instance. *

* * > You can call the [DescribeRegions](~~86912~~) operation to query the most recent region list. */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * WorkspaceId. */ public Builder workspaceId(String workspaceId) { this.putQueryParameter("WorkspaceId", workspaceId); this.workspaceId = workspaceId; return this; } @Override public DeleteCollectionDataRequest build() { return new DeleteCollectionDataRequest(this); } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy