com.aliyun.sdk.service.gpdb20160503.models.DeleteVectorIndexRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.gpdb20160503.models;
import com.aliyun.core.annotation.*;
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 {
@Query
@NameInMap("Collection")
@Validation(required = true)
private String collection;
@Query
@NameInMap("DBInstanceId")
@Validation(required = true)
private String DBInstanceId;
@Query
@NameInMap("ManagerAccount")
@Validation(required = true)
private String managerAccount;
@Query
@NameInMap("ManagerAccountPassword")
@Validation(required = true)
private String managerAccountPassword;
@Query
@NameInMap("Namespace")
private String namespace;
@Query
@NameInMap("OwnerId")
private Long ownerId;
@Query
@NameInMap("RegionId")
@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.
*/
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.
*/
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.
*/
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.
*
*
* > 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;
}
@Override
public DeleteVectorIndexRequest build() {
return new DeleteVectorIndexRequest(this);
}
}
}