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

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

DeleteVectorIndexRequest

*/ public class DeleteVectorIndexRequest 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("DBInstanceId") @com.aliyun.core.annotation.Validation(required = true) private String DBInstanceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ManagerAccount") @com.aliyun.core.annotation.Validation(required = true) private String managerAccount; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ManagerAccountPassword") @com.aliyun.core.annotation.Validation(required = true) private String managerAccountPassword; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Namespace") private String namespace; @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; private DeleteVectorIndexRequest(Builder builder) { super(builder); this.collection = builder.collection; this.DBInstanceId = builder.DBInstanceId; this.managerAccount = builder.managerAccount; this.managerAccountPassword = builder.managerAccountPassword; this.namespace = builder.namespace; this.ownerId = builder.ownerId; this.regionId = builder.regionId; } public static Builder builder() { return new Builder(); } public static DeleteVectorIndexRequest 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 managerAccount */ public String getManagerAccount() { return this.managerAccount; } /** * @return managerAccountPassword */ public String getManagerAccountPassword() { return this.managerAccountPassword; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return regionId */ public String getRegionId() { return this.regionId; } public static final class Builder extends Request.Builder { private String collection; private String DBInstanceId; private String managerAccount; private String managerAccountPassword; private String namespace; private Long ownerId; private String regionId; private Builder() { super(); } private Builder(DeleteVectorIndexRequest request) { super(request); this.collection = request.collection; this.DBInstanceId = request.DBInstanceId; this.managerAccount = request.managerAccount; this.managerAccountPassword = request.managerAccountPassword; this.namespace = request.namespace; this.ownerId = request.ownerId; this.regionId = request.regionId; } /** * The name of the collection. *

* * > You can call the [ListCollections](~~2401503~~) operation to query a list of collections. */ public Builder collection(String collection) { this.putQueryParameter("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 name of the manager account that has the rds_superuser permission. *

* * > You can create an account on the **Account Management** page of the AnalyticDB for PostgreSQL console or by calling the [CreateAccount](~~2361789~~) operation. */ public Builder managerAccount(String managerAccount) { this.putQueryParameter("ManagerAccount", managerAccount); this.managerAccount = managerAccount; return this; } /** * The password of the manager account. */ public Builder managerAccountPassword(String managerAccountPassword) { this.putQueryParameter("ManagerAccountPassword", managerAccountPassword); this.managerAccountPassword = managerAccountPassword; return this; } /** * The name of the namespace. Default value: public. *

* * > You can call the [ListNamespaces](~~2401502~~) operation to query a list of namespaces. */ public Builder namespace(String namespace) { this.putQueryParameter("Namespace", namespace); this.namespace = namespace; 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; } @Override public DeleteVectorIndexRequest build() { return new DeleteVectorIndexRequest(this); } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy