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

com.aliyun.sdk.service.gpdb20160503.models.CancelUpsertCollectionDataJobRequest 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 CancelUpsertCollectionDataJobRequest} extends {@link RequestModel}
 *
 * 

CancelUpsertCollectionDataJobRequest

*/ public class CancelUpsertCollectionDataJobRequest extends Request { @com.aliyun.core.annotation.Body @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("DBInstanceId") private String DBInstanceId; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("JobId") @com.aliyun.core.annotation.Validation(required = true) private String jobId; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("Namespace") private String namespace; @com.aliyun.core.annotation.Body @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 CancelUpsertCollectionDataJobRequest(Builder builder) { super(builder); this.collection = builder.collection; this.DBInstanceId = builder.DBInstanceId; this.jobId = builder.jobId; 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 CancelUpsertCollectionDataJobRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return collection */ public String getCollection() { return this.collection; } /** * @return DBInstanceId */ public String getDBInstanceId() { return this.DBInstanceId; } /** * @return jobId */ public String getJobId() { return this.jobId; } /** * @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 DBInstanceId; private String jobId; private String namespace; private String namespacePassword; private Long ownerId; private String regionId; private String workspaceId; private Builder() { super(); } private Builder(CancelUpsertCollectionDataJobRequest request) { super(request); this.collection = request.collection; this.DBInstanceId = request.DBInstanceId; this.jobId = request.jobId; 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. *

* * > You can call the [ListCollections](~~2401503~~) operation to query a list of collections. */ public Builder collection(String collection) { this.putBodyParameter("Collection", collection); this.collection = collection; return this; } /** * The instance ID. *

* * > You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs. */ public Builder DBInstanceId(String DBInstanceId) { this.putQueryParameter("DBInstanceId", DBInstanceId); this.DBInstanceId = DBInstanceId; return this; } /** * The ID of the vector data upload job. You can call the `UpsertCollectionDataAsync` operation to query the job ID. */ public Builder jobId(String jobId) { this.putBodyParameter("JobId", jobId); this.jobId = jobId; return this; } /** * The name of the namespace. Default value: public. *

* * > You can call the CreateNamespace operation to create a namespace and call the ListNamespaces operation to query a list of namespaces. */ public Builder namespace(String namespace) { this.putBodyParameter("Namespace", namespace); this.namespace = namespace; return this; } /** * The password of the namespace. *

* * > The value of this parameter is specified when you call the CreateNamespace operation. */ public Builder namespacePassword(String namespacePassword) { this.putBodyParameter("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. */ 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 CancelUpsertCollectionDataJobRequest build() { return new CancelUpsertCollectionDataJobRequest(this); } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy