index int64 | repo_id string | file_path string | content string |
|---|---|---|---|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/GetIndexOnlineStrategyResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetIndexOnlineStrategyResponseBody} extends {@link TeaModel}
*
* <p>GetIndexOnlineStrategyResponseBody</p>
*/
public class GetIndexOnlineStrategyResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("requestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("result")
private Result result;
private GetIndexOnlineStrategyResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.result = builder.result;
}
public static Builder builder() {
return new Builder();
}
public static GetIndexOnlineStrategyResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return result
*/
public Result getResult() {
return this.result;
}
public static final class Builder {
private String requestId;
private Result result;
private Builder() {
}
private Builder(GetIndexOnlineStrategyResponseBody model) {
this.requestId = model.requestId;
this.result = model.result;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>FE03180A-0E29-5474-8A86-33F0683294A4</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The result.</p>
*/
public Builder result(Result result) {
this.result = result;
return this;
}
public GetIndexOnlineStrategyResponseBody build() {
return new GetIndexOnlineStrategyResponseBody(this);
}
}
/**
*
* {@link GetIndexOnlineStrategyResponseBody} extends {@link TeaModel}
*
* <p>GetIndexOnlineStrategyResponseBody</p>
*/
public static class Result extends TeaModel {
@com.aliyun.core.annotation.NameInMap("changeRate")
private Integer changeRate;
private Result(Builder builder) {
this.changeRate = builder.changeRate;
}
public static Builder builder() {
return new Builder();
}
public static Result create() {
return builder().build();
}
/**
* @return changeRate
*/
public Integer getChangeRate() {
return this.changeRate;
}
public static final class Builder {
private Integer changeRate;
private Builder() {
}
private Builder(Result model) {
this.changeRate = model.changeRate;
}
/**
* <p>The index change rate.</p>
*
* <strong>example:</strong>
* <p>20</p>
*/
public Builder changeRate(Integer changeRate) {
this.changeRate = changeRate;
return this;
}
public Result build() {
return new Result(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/GetIndexRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetIndexRequest} extends {@link RequestModel}
*
* <p>GetIndexRequest</p>
*/
public class GetIndexRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("instanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String instanceId;
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("indexName")
@com.aliyun.core.annotation.Validation(required = true)
private String indexName;
private GetIndexRequest(Builder builder) {
super(builder);
this.instanceId = builder.instanceId;
this.indexName = builder.indexName;
}
public static Builder builder() {
return new Builder();
}
public static GetIndexRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
/**
* @return indexName
*/
public String getIndexName() {
return this.indexName;
}
public static final class Builder extends Request.Builder<GetIndexRequest, Builder> {
private String instanceId;
private String indexName;
private Builder() {
super();
}
private Builder(GetIndexRequest request) {
super(request);
this.instanceId = request.instanceId;
this.indexName = request.indexName;
}
/**
* <p>The instance ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ha-cn-8ed2j834u03</p>
*/
public Builder instanceId(String instanceId) {
this.putPathParameter("instanceId", instanceId);
this.instanceId = instanceId;
return this;
}
/**
* <p>The index name.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>index_jiayi_text</p>
*/
public Builder indexName(String indexName) {
this.putPathParameter("indexName", indexName);
this.indexName = indexName;
return this;
}
@Override
public GetIndexRequest build() {
return new GetIndexRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/GetIndexResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetIndexResponse} extends {@link TeaModel}
*
* <p>GetIndexResponse</p>
*/
public class GetIndexResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private GetIndexResponseBody body;
private GetIndexResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetIndexResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public GetIndexResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetIndexResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetIndexResponseBody body);
@Override
GetIndexResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetIndexResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetIndexResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetIndexResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(GetIndexResponseBody body) {
this.body = body;
return this;
}
@Override
public GetIndexResponse build() {
return new GetIndexResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/GetIndexResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetIndexResponseBody} extends {@link TeaModel}
*
* <p>GetIndexResponseBody</p>
*/
public class GetIndexResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("requestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("result")
private Result result;
private GetIndexResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.result = builder.result;
}
public static Builder builder() {
return new Builder();
}
public static GetIndexResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return result
*/
public Result getResult() {
return this.result;
}
public static final class Builder {
private String requestId;
private Result result;
private Builder() {
}
private Builder(GetIndexResponseBody model) {
this.requestId = model.requestId;
this.result = model.result;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>4FB0325E-8C37-5525-96AC-0333523170A3</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The index information.</p>
*/
public Builder result(Result result) {
this.result = result;
return this;
}
public GetIndexResponseBody build() {
return new GetIndexResponseBody(this);
}
}
/**
*
* {@link GetIndexResponseBody} extends {@link TeaModel}
*
* <p>GetIndexResponseBody</p>
*/
public static class Config extends TeaModel {
@com.aliyun.core.annotation.NameInMap("accessKey")
private String accessKey;
@com.aliyun.core.annotation.NameInMap("accessSecret")
private String accessSecret;
@com.aliyun.core.annotation.NameInMap("bucket")
private String bucket;
@com.aliyun.core.annotation.NameInMap("catalog")
private String catalog;
@com.aliyun.core.annotation.NameInMap("database")
private String database;
@com.aliyun.core.annotation.NameInMap("endpoint")
private String endpoint;
@com.aliyun.core.annotation.NameInMap("format")
private String format;
@com.aliyun.core.annotation.NameInMap("namespace")
private String namespace;
@com.aliyun.core.annotation.NameInMap("ossPath")
private String ossPath;
@com.aliyun.core.annotation.NameInMap("partition")
private String partition;
@com.aliyun.core.annotation.NameInMap("path")
private String path;
@com.aliyun.core.annotation.NameInMap("project")
private String project;
@com.aliyun.core.annotation.NameInMap("table")
private String table;
@com.aliyun.core.annotation.NameInMap("tag")
private String tag;
private Config(Builder builder) {
this.accessKey = builder.accessKey;
this.accessSecret = builder.accessSecret;
this.bucket = builder.bucket;
this.catalog = builder.catalog;
this.database = builder.database;
this.endpoint = builder.endpoint;
this.format = builder.format;
this.namespace = builder.namespace;
this.ossPath = builder.ossPath;
this.partition = builder.partition;
this.path = builder.path;
this.project = builder.project;
this.table = builder.table;
this.tag = builder.tag;
}
public static Builder builder() {
return new Builder();
}
public static Config create() {
return builder().build();
}
/**
* @return accessKey
*/
public String getAccessKey() {
return this.accessKey;
}
/**
* @return accessSecret
*/
public String getAccessSecret() {
return this.accessSecret;
}
/**
* @return bucket
*/
public String getBucket() {
return this.bucket;
}
/**
* @return catalog
*/
public String getCatalog() {
return this.catalog;
}
/**
* @return database
*/
public String getDatabase() {
return this.database;
}
/**
* @return endpoint
*/
public String getEndpoint() {
return this.endpoint;
}
/**
* @return format
*/
public String getFormat() {
return this.format;
}
/**
* @return namespace
*/
public String getNamespace() {
return this.namespace;
}
/**
* @return ossPath
*/
public String getOssPath() {
return this.ossPath;
}
/**
* @return partition
*/
public String getPartition() {
return this.partition;
}
/**
* @return path
*/
public String getPath() {
return this.path;
}
/**
* @return project
*/
public String getProject() {
return this.project;
}
/**
* @return table
*/
public String getTable() {
return this.table;
}
/**
* @return tag
*/
public String getTag() {
return this.tag;
}
public static final class Builder {
private String accessKey;
private String accessSecret;
private String bucket;
private String catalog;
private String database;
private String endpoint;
private String format;
private String namespace;
private String ossPath;
private String partition;
private String path;
private String project;
private String table;
private String tag;
private Builder() {
}
private Builder(Config model) {
this.accessKey = model.accessKey;
this.accessSecret = model.accessSecret;
this.bucket = model.bucket;
this.catalog = model.catalog;
this.database = model.database;
this.endpoint = model.endpoint;
this.format = model.format;
this.namespace = model.namespace;
this.ossPath = model.ossPath;
this.partition = model.partition;
this.path = model.path;
this.project = model.project;
this.table = model.table;
this.tag = model.tag;
}
/**
* <p>The AccessKey ID of the MaxCompute data source.</p>
*
* <strong>example:</strong>
* <p>L***p</p>
*/
public Builder accessKey(String accessKey) {
this.accessKey = accessKey;
return this;
}
/**
* <p>The AccessKey secret of the MaxCompute data source.</p>
*
* <strong>example:</strong>
* <p>5**9a6</p>
*/
public Builder accessSecret(String accessSecret) {
this.accessSecret = accessSecret;
return this;
}
/**
* <p>The name of the OSS bucket.</p>
*
* <strong>example:</strong>
* <p>ha3test-oss</p>
*/
public Builder bucket(String bucket) {
this.bucket = bucket;
return this;
}
/**
* catalog.
*/
public Builder catalog(String catalog) {
this.catalog = catalog;
return this;
}
/**
* database.
*/
public Builder database(String database) {
this.database = database;
return this;
}
/**
* <p>The endpoint of the MaxCompute data source.</p>
*
* <strong>example:</strong>
* <p><a href="http://service.cn-hangzhou.maxcompute.aliyun-inc.com/api">http://service.cn-hangzhou.maxcompute.aliyun-inc.com/api</a></p>
*/
public Builder endpoint(String endpoint) {
this.endpoint = endpoint;
return this;
}
/**
* format.
*/
public Builder format(String format) {
this.format = format;
return this;
}
/**
* <p>The namespace. This parameter is applicable to the SARO data source used in the intranet of Alibaba Group.</p>
*
* <strong>example:</strong>
* <p>TEST_dump_demo_sj_na61hunbu2_share_holo</p>
*/
public Builder namespace(String namespace) {
this.namespace = namespace;
return this;
}
/**
* <p>The Object Storage Service (OSS) path.</p>
*
* <strong>example:</strong>
* <p>/test_opensearch/sift_oss_test.data</p>
*/
public Builder ossPath(String ossPath) {
this.ossPath = ossPath;
return this;
}
/**
* <p>The partition in the MaxCompute table. Example: ds=20180102.</p>
*
* <strong>example:</strong>
* <p>ds=20220713</p>
*/
public Builder partition(String partition) {
this.partition = partition;
return this;
}
/**
* <p>The file path in the Apsara File Storage for HDFS file system.</p>
*
* <strong>example:</strong>
* <p><a href="http://test_opensearch/sift_oss_test.data">http://test_opensearch/sift_oss_test.data</a></p>
*/
public Builder path(String path) {
this.path = path;
return this;
}
/**
* <p>The name of the MaxCompute project that is used as the data source.</p>
*
* <strong>example:</strong>
* <p>tisplus_dev</p>
*/
public Builder project(String project) {
this.project = project;
return this;
}
/**
* <p>The name of the MaxCompute table that is used as the data source.</p>
*
* <strong>example:</strong>
* <p>dump_odps_demo</p>
*/
public Builder table(String table) {
this.table = table;
return this;
}
/**
* tag.
*/
public Builder tag(String tag) {
this.tag = tag;
return this;
}
public Config build() {
return new Config(this);
}
}
}
/**
*
* {@link GetIndexResponseBody} extends {@link TeaModel}
*
* <p>GetIndexResponseBody</p>
*/
public static class SaroConfig extends TeaModel {
@com.aliyun.core.annotation.NameInMap("namespace")
private String namespace;
@com.aliyun.core.annotation.NameInMap("tableName")
private String tableName;
private SaroConfig(Builder builder) {
this.namespace = builder.namespace;
this.tableName = builder.tableName;
}
public static Builder builder() {
return new Builder();
}
public static SaroConfig create() {
return builder().build();
}
/**
* @return namespace
*/
public String getNamespace() {
return this.namespace;
}
/**
* @return tableName
*/
public String getTableName() {
return this.tableName;
}
public static final class Builder {
private String namespace;
private String tableName;
private Builder() {
}
private Builder(SaroConfig model) {
this.namespace = model.namespace;
this.tableName = model.tableName;
}
/**
* <p>The namespace of the SARO data source.</p>
*
* <strong>example:</strong>
* <p>TEST_dump_demo_sj_na61hunbu2_share_holo</p>
*/
public Builder namespace(String namespace) {
this.namespace = namespace;
return this;
}
/**
* <p>The name of the SARO table.</p>
*
* <strong>example:</strong>
* <p>llm</p>
*/
public Builder tableName(String tableName) {
this.tableName = tableName;
return this;
}
public SaroConfig build() {
return new SaroConfig(this);
}
}
}
/**
*
* {@link GetIndexResponseBody} extends {@link TeaModel}
*
* <p>GetIndexResponseBody</p>
*/
public static class DataSourceInfo extends TeaModel {
@com.aliyun.core.annotation.NameInMap("autoBuildIndex")
private Boolean autoBuildIndex;
@com.aliyun.core.annotation.NameInMap("config")
private Config config;
@com.aliyun.core.annotation.NameInMap("domain")
private String domain;
@com.aliyun.core.annotation.NameInMap("name")
private String name;
@com.aliyun.core.annotation.NameInMap("processParallelNum")
private Integer processParallelNum;
@com.aliyun.core.annotation.NameInMap("processPartitionCount")
private Integer processPartitionCount;
@com.aliyun.core.annotation.NameInMap("saroConfig")
private SaroConfig saroConfig;
@com.aliyun.core.annotation.NameInMap("type")
private String type;
private DataSourceInfo(Builder builder) {
this.autoBuildIndex = builder.autoBuildIndex;
this.config = builder.config;
this.domain = builder.domain;
this.name = builder.name;
this.processParallelNum = builder.processParallelNum;
this.processPartitionCount = builder.processPartitionCount;
this.saroConfig = builder.saroConfig;
this.type = builder.type;
}
public static Builder builder() {
return new Builder();
}
public static DataSourceInfo create() {
return builder().build();
}
/**
* @return autoBuildIndex
*/
public Boolean getAutoBuildIndex() {
return this.autoBuildIndex;
}
/**
* @return config
*/
public Config getConfig() {
return this.config;
}
/**
* @return domain
*/
public String getDomain() {
return this.domain;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return processParallelNum
*/
public Integer getProcessParallelNum() {
return this.processParallelNum;
}
/**
* @return processPartitionCount
*/
public Integer getProcessPartitionCount() {
return this.processPartitionCount;
}
/**
* @return saroConfig
*/
public SaroConfig getSaroConfig() {
return this.saroConfig;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
public static final class Builder {
private Boolean autoBuildIndex;
private Config config;
private String domain;
private String name;
private Integer processParallelNum;
private Integer processPartitionCount;
private SaroConfig saroConfig;
private String type;
private Builder() {
}
private Builder(DataSourceInfo model) {
this.autoBuildIndex = model.autoBuildIndex;
this.config = model.config;
this.domain = model.domain;
this.name = model.name;
this.processParallelNum = model.processParallelNum;
this.processPartitionCount = model.processPartitionCount;
this.saroConfig = model.saroConfig;
this.type = model.type;
}
/**
* <p>Indicates whether the automatic full indexing feature is enabled.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder autoBuildIndex(Boolean autoBuildIndex) {
this.autoBuildIndex = autoBuildIndex;
return this;
}
/**
* <p>The configuration of MaxCompute data sources.</p>
*/
public Builder config(Config config) {
this.config = config;
return this;
}
/**
* <p>The data center in which the data source is deployed.</p>
*
* <strong>example:</strong>
* <p>vpc_hz_domain_1</p>
*/
public Builder domain(String domain) {
this.domain = domain;
return this;
}
/**
* <p>The name of the data source.</p>
*
* <strong>example:</strong>
* <p>ha-cn-pl32rf0****_test_api</p>
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* <p>The maximum number of full indexes that can be concurrently processed.</p>
*
* <strong>example:</strong>
* <p>2</p>
*/
public Builder processParallelNum(Integer processParallelNum) {
this.processParallelNum = processParallelNum;
return this;
}
/**
* <p>The number of resources used for data update.</p>
*
* <strong>example:</strong>
* <p>2</p>
*/
public Builder processPartitionCount(Integer processPartitionCount) {
this.processPartitionCount = processPartitionCount;
return this;
}
/**
* <p>The configurations of the SARO data source.</p>
*/
public Builder saroConfig(SaroConfig saroConfig) {
this.saroConfig = saroConfig;
return this;
}
/**
* <p>The type of the data source. Valid values: odps, swift, saro, oss, and unKnow.</p>
*
* <strong>example:</strong>
* <p>odps</p>
*/
public Builder type(String type) {
this.type = type;
return this;
}
public DataSourceInfo build() {
return new DataSourceInfo(this);
}
}
}
/**
*
* {@link GetIndexResponseBody} extends {@link TeaModel}
*
* <p>GetIndexResponseBody</p>
*/
public static class Files extends TeaModel {
@com.aliyun.core.annotation.NameInMap("fullPathName")
private String fullPathName;
@com.aliyun.core.annotation.NameInMap("isDir")
private Boolean isDir;
@com.aliyun.core.annotation.NameInMap("isTemplate")
private Boolean isTemplate;
@com.aliyun.core.annotation.NameInMap("name")
private String name;
private Files(Builder builder) {
this.fullPathName = builder.fullPathName;
this.isDir = builder.isDir;
this.isTemplate = builder.isTemplate;
this.name = builder.name;
}
public static Builder builder() {
return new Builder();
}
public static Files create() {
return builder().build();
}
/**
* @return fullPathName
*/
public String getFullPathName() {
return this.fullPathName;
}
/**
* @return isDir
*/
public Boolean getIsDir() {
return this.isDir;
}
/**
* @return isTemplate
*/
public Boolean getIsTemplate() {
return this.isTemplate;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
public static final class Builder {
private String fullPathName;
private Boolean isDir;
private Boolean isTemplate;
private String name;
private Builder() {
}
private Builder(Files model) {
this.fullPathName = model.fullPathName;
this.isDir = model.isDir;
this.isTemplate = model.isTemplate;
this.name = model.name;
}
/**
* <p>The full path of the file.</p>
*
* <strong>example:</strong>
* <p>" "</p>
*/
public Builder fullPathName(String fullPathName) {
this.fullPathName = fullPathName;
return this;
}
/**
* <p>Indicates whether the file is a directory.</p>
*
* <strong>example:</strong>
* <p>True</p>
*/
public Builder isDir(Boolean isDir) {
this.isDir = isDir;
return this;
}
/**
* <p>Indicates whether the file is a template.</p>
*
* <strong>example:</strong>
* <p>True</p>
*/
public Builder isTemplate(Boolean isTemplate) {
this.isTemplate = isTemplate;
return this;
}
/**
* <p>The file name.</p>
*
* <strong>example:</strong>
* <p>qrs.json</p>
*/
public Builder name(String name) {
this.name = name;
return this;
}
public Files build() {
return new Files(this);
}
}
}
/**
*
* {@link GetIndexResponseBody} extends {@link TeaModel}
*
* <p>GetIndexResponseBody</p>
*/
public static class Versions extends TeaModel {
@com.aliyun.core.annotation.NameInMap("desc")
private String desc;
@com.aliyun.core.annotation.NameInMap("files")
private java.util.List<Files> files;
@com.aliyun.core.annotation.NameInMap("name")
private String name;
@com.aliyun.core.annotation.NameInMap("status")
private String status;
@com.aliyun.core.annotation.NameInMap("updateTime")
private Long updateTime;
@com.aliyun.core.annotation.NameInMap("versionId")
private Integer versionId;
private Versions(Builder builder) {
this.desc = builder.desc;
this.files = builder.files;
this.name = builder.name;
this.status = builder.status;
this.updateTime = builder.updateTime;
this.versionId = builder.versionId;
}
public static Builder builder() {
return new Builder();
}
public static Versions create() {
return builder().build();
}
/**
* @return desc
*/
public String getDesc() {
return this.desc;
}
/**
* @return files
*/
public java.util.List<Files> getFiles() {
return this.files;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return updateTime
*/
public Long getUpdateTime() {
return this.updateTime;
}
/**
* @return versionId
*/
public Integer getVersionId() {
return this.versionId;
}
public static final class Builder {
private String desc;
private java.util.List<Files> files;
private String name;
private String status;
private Long updateTime;
private Integer versionId;
private Builder() {
}
private Builder(Versions model) {
this.desc = model.desc;
this.files = model.files;
this.name = model.name;
this.status = model.status;
this.updateTime = model.updateTime;
this.versionId = model.versionId;
}
/**
* <p>The description of the version.</p>
*
* <strong>example:</strong>
* <p>close alarm, by 3.9.2 hotfix workflow</p>
*/
public Builder desc(String desc) {
this.desc = desc;
return this;
}
/**
* <p>The information about the files.</p>
*/
public Builder files(java.util.List<Files> files) {
this.files = files;
return this;
}
/**
* <p>The version name.</p>
*
* <strong>example:</strong>
* <p>ha-cn-7pp2ngv4s02_qrs</p>
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* <p>The status of the index version. Valid values:</p>
* <ul>
* <li>NEW: The index version is created.</li>
* <li>PUBLISH: The index version is normal.</li>
* <li>IN_USE: The index version is in use.</li>
* <li>NOT_USE: The index version is not used.</li>
* <li>STOP_USE: The index version is being stopped.</li>
* <li>RESTORE_USE: The index version is being restored.</li>
* <li>FAIL: The index version failed to be created.</li>
* </ul>
*
* <strong>example:</strong>
* <p>2</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* <p>The time when the index version was updated.</p>
*
* <strong>example:</strong>
* <p>" "</p>
*/
public Builder updateTime(Long updateTime) {
this.updateTime = updateTime;
return this;
}
/**
* <p>The version ID.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder versionId(Integer versionId) {
this.versionId = versionId;
return this;
}
public Versions build() {
return new Versions(this);
}
}
}
/**
*
* {@link GetIndexResponseBody} extends {@link TeaModel}
*
* <p>GetIndexResponseBody</p>
*/
public static class Result extends TeaModel {
@com.aliyun.core.annotation.NameInMap("cluster")
private java.util.Map<String, ResultClusterValue> cluster;
@com.aliyun.core.annotation.NameInMap("config")
private java.util.Map<String, java.util.Map<String, ?>> config;
@com.aliyun.core.annotation.NameInMap("configWhenBuild")
private java.util.Map<String, java.util.Map<String, ?>> configWhenBuild;
@com.aliyun.core.annotation.NameInMap("content")
private String content;
@com.aliyun.core.annotation.NameInMap("createTime")
private String createTime;
@com.aliyun.core.annotation.NameInMap("dataSource")
private String dataSource;
@com.aliyun.core.annotation.NameInMap("dataSourceInfo")
private DataSourceInfo dataSourceInfo;
@com.aliyun.core.annotation.NameInMap("description")
private String description;
@com.aliyun.core.annotation.NameInMap("domain")
private String domain;
@com.aliyun.core.annotation.NameInMap("extend")
private java.util.Map<String, java.util.List<String>> extend;
@com.aliyun.core.annotation.NameInMap("fullUpdateTime")
private String fullUpdateTime;
@com.aliyun.core.annotation.NameInMap("fullVersion")
private Long fullVersion;
@com.aliyun.core.annotation.NameInMap("incUpdateTime")
private String incUpdateTime;
@com.aliyun.core.annotation.NameInMap("indexSize")
private Long indexSize;
@com.aliyun.core.annotation.NameInMap("indexStatus")
private String indexStatus;
@com.aliyun.core.annotation.NameInMap("name")
private String name;
@com.aliyun.core.annotation.NameInMap("partition")
private Integer partition;
@com.aliyun.core.annotation.NameInMap("updateTime")
private String updateTime;
@com.aliyun.core.annotation.NameInMap("versions")
private java.util.List<Versions> versions;
private Result(Builder builder) {
this.cluster = builder.cluster;
this.config = builder.config;
this.configWhenBuild = builder.configWhenBuild;
this.content = builder.content;
this.createTime = builder.createTime;
this.dataSource = builder.dataSource;
this.dataSourceInfo = builder.dataSourceInfo;
this.description = builder.description;
this.domain = builder.domain;
this.extend = builder.extend;
this.fullUpdateTime = builder.fullUpdateTime;
this.fullVersion = builder.fullVersion;
this.incUpdateTime = builder.incUpdateTime;
this.indexSize = builder.indexSize;
this.indexStatus = builder.indexStatus;
this.name = builder.name;
this.partition = builder.partition;
this.updateTime = builder.updateTime;
this.versions = builder.versions;
}
public static Builder builder() {
return new Builder();
}
public static Result create() {
return builder().build();
}
/**
* @return cluster
*/
public java.util.Map<String, ResultClusterValue> getCluster() {
return this.cluster;
}
/**
* @return config
*/
public java.util.Map<String, java.util.Map<String, ?>> getConfig() {
return this.config;
}
/**
* @return configWhenBuild
*/
public java.util.Map<String, java.util.Map<String, ?>> getConfigWhenBuild() {
return this.configWhenBuild;
}
/**
* @return content
*/
public String getContent() {
return this.content;
}
/**
* @return createTime
*/
public String getCreateTime() {
return this.createTime;
}
/**
* @return dataSource
*/
public String getDataSource() {
return this.dataSource;
}
/**
* @return dataSourceInfo
*/
public DataSourceInfo getDataSourceInfo() {
return this.dataSourceInfo;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return domain
*/
public String getDomain() {
return this.domain;
}
/**
* @return extend
*/
public java.util.Map<String, java.util.List<String>> getExtend() {
return this.extend;
}
/**
* @return fullUpdateTime
*/
public String getFullUpdateTime() {
return this.fullUpdateTime;
}
/**
* @return fullVersion
*/
public Long getFullVersion() {
return this.fullVersion;
}
/**
* @return incUpdateTime
*/
public String getIncUpdateTime() {
return this.incUpdateTime;
}
/**
* @return indexSize
*/
public Long getIndexSize() {
return this.indexSize;
}
/**
* @return indexStatus
*/
public String getIndexStatus() {
return this.indexStatus;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return partition
*/
public Integer getPartition() {
return this.partition;
}
/**
* @return updateTime
*/
public String getUpdateTime() {
return this.updateTime;
}
/**
* @return versions
*/
public java.util.List<Versions> getVersions() {
return this.versions;
}
public static final class Builder {
private java.util.Map<String, ResultClusterValue> cluster;
private java.util.Map<String, java.util.Map<String, ?>> config;
private java.util.Map<String, java.util.Map<String, ?>> configWhenBuild;
private String content;
private String createTime;
private String dataSource;
private DataSourceInfo dataSourceInfo;
private String description;
private String domain;
private java.util.Map<String, java.util.List<String>> extend;
private String fullUpdateTime;
private Long fullVersion;
private String incUpdateTime;
private Long indexSize;
private String indexStatus;
private String name;
private Integer partition;
private String updateTime;
private java.util.List<Versions> versions;
private Builder() {
}
private Builder(Result model) {
this.cluster = model.cluster;
this.config = model.config;
this.configWhenBuild = model.configWhenBuild;
this.content = model.content;
this.createTime = model.createTime;
this.dataSource = model.dataSource;
this.dataSourceInfo = model.dataSourceInfo;
this.description = model.description;
this.domain = model.domain;
this.extend = model.extend;
this.fullUpdateTime = model.fullUpdateTime;
this.fullVersion = model.fullVersion;
this.incUpdateTime = model.incUpdateTime;
this.indexSize = model.indexSize;
this.indexStatus = model.indexStatus;
this.name = model.name;
this.partition = model.partition;
this.updateTime = model.updateTime;
this.versions = model.versions;
}
/**
* <p>The cluster information.</p>
*/
public Builder cluster(java.util.Map<String, ResultClusterValue> cluster) {
this.cluster = cluster;
return this;
}
/**
* <p>The configuration information.</p>
*/
public Builder config(java.util.Map<String, java.util.Map<String, ?>> config) {
this.config = config;
return this;
}
/**
* <p>The configuration that takes effect next time.</p>
*/
public Builder configWhenBuild(java.util.Map<String, java.util.Map<String, ?>> configWhenBuild) {
this.configWhenBuild = configWhenBuild;
return this;
}
/**
* <p>The file content.</p>
*
* <strong>example:</strong>
* <p>{"summarys":{"parameter":{"file_compressor":"zstd"},"summary_fields":["id"]},"file_compress":[{"name":"file_compressor","type":"zstd"},{"name":"no_compressor","type":""}],"indexs":[{"index_fields":"name","index_name":"ids","index_type":"STRING"},{"has_primary_key_attribute":true,"index_fields":"id","is_primary_key_sorted":false,"index_name":"id","index_type":"PRIMARYKEY64"}],"attributes":[{"file_compress":"no_compressor","field_name":"id"}],"fields":[{"user_defined_param":{},"compress_type":"uniq","field_type":"STRING","field_name":"id"},{"compress_type":"uniq","field_type":"STRING","field_name":"name"}],"table_name":"api"}</p>
*/
public Builder content(String content) {
this.content = content;
return this;
}
/**
* createTime.
*/
public Builder createTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* <p>The name of the data source.</p>
*
* <strong>example:</strong>
* <p>ha-cn-tl32nd2nq01_00</p>
*/
public Builder dataSource(String dataSource) {
this.dataSource = dataSource;
return this;
}
/**
* <p>The information about the data source.</p>
*/
public Builder dataSourceInfo(DataSourceInfo dataSourceInfo) {
this.dataSourceInfo = dataSourceInfo;
return this;
}
/**
* <p>The description of the index version.</p>
*
* <strong>example:</strong>
* <p>test index</p>
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* <p>The deployment name of the index.</p>
*
* <strong>example:</strong>
* <p>sz_vpc_domain_1</p>
*/
public Builder domain(String domain) {
this.domain = domain;
return this;
}
/**
* <p>Extended information</p>
*/
public Builder extend(java.util.Map<String, java.util.List<String>> extend) {
this.extend = extend;
return this;
}
/**
* <p>The time when full data in the index was last updated.</p>
*
* <strong>example:</strong>
* <p>2024-06-20 08:52:54</p>
*/
public Builder fullUpdateTime(String fullUpdateTime) {
this.fullUpdateTime = fullUpdateTime;
return this;
}
/**
* <p>The data version.</p>
*
* <strong>example:</strong>
* <p>1688523414</p>
*/
public Builder fullVersion(Long fullVersion) {
this.fullVersion = fullVersion;
return this;
}
/**
* <p>The time when incremental data in the index was last updated.</p>
*
* <strong>example:</strong>
* <p>2024-06-20 08:52:54</p>
*/
public Builder incUpdateTime(String incUpdateTime) {
this.incUpdateTime = incUpdateTime;
return this;
}
/**
* <p>The index size.</p>
*
* <strong>example:</strong>
* <p>4689</p>
*/
public Builder indexSize(Long indexSize) {
this.indexSize = indexSize;
return this;
}
/**
* <p>The status of the index version. Valid values:</p>
* <ul>
* <li>NEW: The index version is created.</li>
* <li>PUBLISH: The index version is normal.</li>
* <li>IN_USE: The index version is in use.</li>
* <li>NOT_USE: The index version is not used.</li>
* <li>STOP_USE: The index version is being stopped.</li>
* <li>RESTORE_USE: The index version is being restored.</li>
* <li>FAIL: The index version failed to be created.</li>
* </ul>
*
* <strong>example:</strong>
* <p>IN_USE</p>
*/
public Builder indexStatus(String indexStatus) {
this.indexStatus = indexStatus;
return this;
}
/**
* <p>The index name.</p>
*
* <strong>example:</strong>
* <p>general</p>
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* <p>The number of shards.</p>
*
* <strong>example:</strong>
* <p>2</p>
*/
public Builder partition(Integer partition) {
this.partition = partition;
return this;
}
/**
* <p>The time when the index version was updated.</p>
*
* <strong>example:</strong>
* <p>" "</p>
*/
public Builder updateTime(String updateTime) {
this.updateTime = updateTime;
return this;
}
/**
* <p>The information about the versions.</p>
*/
public Builder versions(java.util.List<Versions> versions) {
this.versions = versions;
return this;
}
public Result build() {
return new Result(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/GetIndexVersionRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetIndexVersionRequest} extends {@link RequestModel}
*
* <p>GetIndexVersionRequest</p>
*/
public class GetIndexVersionRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("instanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String instanceId;
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("clusterName")
@com.aliyun.core.annotation.Validation(required = true)
private String clusterName;
private GetIndexVersionRequest(Builder builder) {
super(builder);
this.instanceId = builder.instanceId;
this.clusterName = builder.clusterName;
}
public static Builder builder() {
return new Builder();
}
public static GetIndexVersionRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
/**
* @return clusterName
*/
public String getClusterName() {
return this.clusterName;
}
public static final class Builder extends Request.Builder<GetIndexVersionRequest, Builder> {
private String instanceId;
private String clusterName;
private Builder() {
super();
}
private Builder(GetIndexVersionRequest request) {
super(request);
this.instanceId = request.instanceId;
this.clusterName = request.clusterName;
}
/**
* <p>The instance ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ha-cn-2r42ostoc01</p>
*/
public Builder instanceId(String instanceId) {
this.putPathParameter("instanceId", instanceId);
this.instanceId = instanceId;
return this;
}
/**
* <p>The name of the cluster</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>vpc_hz_domain_1</p>
*/
public Builder clusterName(String clusterName) {
this.putPathParameter("clusterName", clusterName);
this.clusterName = clusterName;
return this;
}
@Override
public GetIndexVersionRequest build() {
return new GetIndexVersionRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/GetIndexVersionResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetIndexVersionResponse} extends {@link TeaModel}
*
* <p>GetIndexVersionResponse</p>
*/
public class GetIndexVersionResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private GetIndexVersionResponseBody body;
private GetIndexVersionResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetIndexVersionResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public GetIndexVersionResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetIndexVersionResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetIndexVersionResponseBody body);
@Override
GetIndexVersionResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetIndexVersionResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetIndexVersionResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetIndexVersionResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(GetIndexVersionResponseBody body) {
this.body = body;
return this;
}
@Override
public GetIndexVersionResponse build() {
return new GetIndexVersionResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/GetIndexVersionResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetIndexVersionResponseBody} extends {@link TeaModel}
*
* <p>GetIndexVersionResponseBody</p>
*/
public class GetIndexVersionResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("requestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("result")
private Result result;
private GetIndexVersionResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.result = builder.result;
}
public static Builder builder() {
return new Builder();
}
public static GetIndexVersionResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return result
*/
public Result getResult() {
return this.result;
}
public static final class Builder {
private String requestId;
private Result result;
private Builder() {
}
private Builder(GetIndexVersionResponseBody model) {
this.requestId = model.requestId;
this.result = model.result;
}
/**
* <p>id of request</p>
*
* <strong>example:</strong>
* <p>E7B7D598-B080-5C8E-AA35-D43EC0D5F886</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The clusters.</p>
*/
public Builder result(Result result) {
this.result = result;
return this;
}
public GetIndexVersionResponseBody build() {
return new GetIndexVersionResponseBody(this);
}
}
/**
*
* {@link GetIndexVersionResponseBody} extends {@link TeaModel}
*
* <p>GetIndexVersionResponseBody</p>
*/
public static class IndexVersions extends TeaModel {
@com.aliyun.core.annotation.NameInMap("buildDeployId")
private String buildDeployId;
@com.aliyun.core.annotation.NameInMap("currentVersion")
private Long currentVersion;
@com.aliyun.core.annotation.NameInMap("indexName")
private String indexName;
@com.aliyun.core.annotation.NameInMap("versions")
private java.util.List<Long> versions;
private IndexVersions(Builder builder) {
this.buildDeployId = builder.buildDeployId;
this.currentVersion = builder.currentVersion;
this.indexName = builder.indexName;
this.versions = builder.versions;
}
public static Builder builder() {
return new Builder();
}
public static IndexVersions create() {
return builder().build();
}
/**
* @return buildDeployId
*/
public String getBuildDeployId() {
return this.buildDeployId;
}
/**
* @return currentVersion
*/
public Long getCurrentVersion() {
return this.currentVersion;
}
/**
* @return indexName
*/
public String getIndexName() {
return this.indexName;
}
/**
* @return versions
*/
public java.util.List<Long> getVersions() {
return this.versions;
}
public static final class Builder {
private String buildDeployId;
private Long currentVersion;
private String indexName;
private java.util.List<Long> versions;
private Builder() {
}
private Builder(IndexVersions model) {
this.buildDeployId = model.buildDeployId;
this.currentVersion = model.currentVersion;
this.indexName = model.indexName;
this.versions = model.versions;
}
/**
* <p>The ID of the offline deployment.</p>
*
* <strong>example:</strong>
* <p>" "</p>
*/
public Builder buildDeployId(String buildDeployId) {
this.buildDeployId = buildDeployId;
return this;
}
/**
* <p>The current online version number.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder currentVersion(Long currentVersion) {
this.currentVersion = currentVersion;
return this;
}
/**
* <p>The name of the index table.</p>
*
* <strong>example:</strong>
* <p>table4</p>
*/
public Builder indexName(String indexName) {
this.indexName = indexName;
return this;
}
/**
* <p>The index versions.</p>
*/
public Builder versions(java.util.List<Long> versions) {
this.versions = versions;
return this;
}
public IndexVersions build() {
return new IndexVersions(this);
}
}
}
/**
*
* {@link GetIndexVersionResponseBody} extends {@link TeaModel}
*
* <p>GetIndexVersionResponseBody</p>
*/
public static class Result extends TeaModel {
@com.aliyun.core.annotation.NameInMap("cluster")
private String cluster;
@com.aliyun.core.annotation.NameInMap("indexVersions")
private java.util.List<IndexVersions> indexVersions;
private Result(Builder builder) {
this.cluster = builder.cluster;
this.indexVersions = builder.indexVersions;
}
public static Builder builder() {
return new Builder();
}
public static Result create() {
return builder().build();
}
/**
* @return cluster
*/
public String getCluster() {
return this.cluster;
}
/**
* @return indexVersions
*/
public java.util.List<IndexVersions> getIndexVersions() {
return this.indexVersions;
}
public static final class Builder {
private String cluster;
private java.util.List<IndexVersions> indexVersions;
private Builder() {
}
private Builder(Result model) {
this.cluster = model.cluster;
this.indexVersions = model.indexVersions;
}
/**
* <p>The cluster name.</p>
*
* <strong>example:</strong>
* <p>ayoss-cn-zhangjiakou-b</p>
*/
public Builder cluster(String cluster) {
this.cluster = cluster;
return this;
}
/**
* <p>The index versions.</p>
*/
public Builder indexVersions(java.util.List<IndexVersions> indexVersions) {
this.indexVersions = indexVersions;
return this;
}
public Result build() {
return new Result(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/GetInstanceRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetInstanceRequest} extends {@link RequestModel}
*
* <p>GetInstanceRequest</p>
*/
public class GetInstanceRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("instanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String instanceId;
private GetInstanceRequest(Builder builder) {
super(builder);
this.instanceId = builder.instanceId;
}
public static Builder builder() {
return new Builder();
}
public static GetInstanceRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
public static final class Builder extends Request.Builder<GetInstanceRequest, Builder> {
private String instanceId;
private Builder() {
super();
}
private Builder(GetInstanceRequest request) {
super(request);
this.instanceId = request.instanceId;
}
/**
* <p>The instance ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ha-cn-7pp2pcna701</p>
*/
public Builder instanceId(String instanceId) {
this.putPathParameter("instanceId", instanceId);
this.instanceId = instanceId;
return this;
}
@Override
public GetInstanceRequest build() {
return new GetInstanceRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/GetInstanceResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetInstanceResponse} extends {@link TeaModel}
*
* <p>GetInstanceResponse</p>
*/
public class GetInstanceResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private GetInstanceResponseBody body;
private GetInstanceResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetInstanceResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public GetInstanceResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetInstanceResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetInstanceResponseBody body);
@Override
GetInstanceResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetInstanceResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetInstanceResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetInstanceResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(GetInstanceResponseBody body) {
this.body = body;
return this;
}
@Override
public GetInstanceResponse build() {
return new GetInstanceResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/GetInstanceResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetInstanceResponseBody} extends {@link TeaModel}
*
* <p>GetInstanceResponseBody</p>
*/
public class GetInstanceResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("requestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("result")
private Result result;
private GetInstanceResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.result = builder.result;
}
public static Builder builder() {
return new Builder();
}
public static GetInstanceResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return result
*/
public Result getResult() {
return this.result;
}
public static final class Builder {
private String requestId;
private Result result;
private Builder() {
}
private Builder(GetInstanceResponseBody model) {
this.requestId = model.requestId;
this.result = model.result;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>E7B7D598-B080-5C8E-AA35-D43EC0D5F886</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>Response parameters</p>
*/
public Builder result(Result result) {
this.result = result;
return this;
}
public GetInstanceResponseBody build() {
return new GetInstanceResponseBody(this);
}
}
/**
*
* {@link GetInstanceResponseBody} extends {@link TeaModel}
*
* <p>GetInstanceResponseBody</p>
*/
public static class Network extends TeaModel {
@com.aliyun.core.annotation.NameInMap("allow")
private String allow;
@com.aliyun.core.annotation.NameInMap("endpoint")
private String endpoint;
@com.aliyun.core.annotation.NameInMap("publicEndpoint")
private String publicEndpoint;
@com.aliyun.core.annotation.NameInMap("vSwitchId")
private String vSwitchId;
@com.aliyun.core.annotation.NameInMap("vpcId")
private String vpcId;
private Network(Builder builder) {
this.allow = builder.allow;
this.endpoint = builder.endpoint;
this.publicEndpoint = builder.publicEndpoint;
this.vSwitchId = builder.vSwitchId;
this.vpcId = builder.vpcId;
}
public static Builder builder() {
return new Builder();
}
public static Network create() {
return builder().build();
}
/**
* @return allow
*/
public String getAllow() {
return this.allow;
}
/**
* @return endpoint
*/
public String getEndpoint() {
return this.endpoint;
}
/**
* @return publicEndpoint
*/
public String getPublicEndpoint() {
return this.publicEndpoint;
}
/**
* @return vSwitchId
*/
public String getVSwitchId() {
return this.vSwitchId;
}
/**
* @return vpcId
*/
public String getVpcId() {
return this.vpcId;
}
public static final class Builder {
private String allow;
private String endpoint;
private String publicEndpoint;
private String vSwitchId;
private String vpcId;
private Builder() {
}
private Builder(Network model) {
this.allow = model.allow;
this.endpoint = model.endpoint;
this.publicEndpoint = model.publicEndpoint;
this.vSwitchId = model.vSwitchId;
this.vpcId = model.vpcId;
}
/**
* <p>The public domain name whitelist.</p>
*
* <strong>example:</strong>
* <p>127.0.0.1</p>
*/
public Builder allow(String allow) {
this.allow = allow;
return this;
}
/**
* <p>The instance endpoint.</p>
*
* <strong>example:</strong>
* <p>ha-cn-35t3r****.ha.aliyuncs.com</p>
*/
public Builder endpoint(String endpoint) {
this.endpoint = endpoint;
return this;
}
/**
* <p>The public endpoint.</p>
*
* <strong>example:</strong>
* <p>ha-cn-35t3ni****.public.ha.aliyuncs.com</p>
*/
public Builder publicEndpoint(String publicEndpoint) {
this.publicEndpoint = publicEndpoint;
return this;
}
/**
* <p>The vSwitch ID.</p>
*
* <strong>example:</strong>
* <p>vsw-bp11ldcf59q2n****</p>
*/
public Builder vSwitchId(String vSwitchId) {
this.vSwitchId = vSwitchId;
return this;
}
/**
* <p>The VPC ID.</p>
*
* <strong>example:</strong>
* <p>vpc-wz9axk41d9vff****</p>
*/
public Builder vpcId(String vpcId) {
this.vpcId = vpcId;
return this;
}
public Network build() {
return new Network(this);
}
}
}
/**
*
* {@link GetInstanceResponseBody} extends {@link TeaModel}
*
* <p>GetInstanceResponseBody</p>
*/
public static class QrsResource extends TeaModel {
@com.aliyun.core.annotation.NameInMap("category")
private String category;
@com.aliyun.core.annotation.NameInMap("cpu")
private Integer cpu;
@com.aliyun.core.annotation.NameInMap("disk")
private Integer disk;
@com.aliyun.core.annotation.NameInMap("mem")
private Integer mem;
@com.aliyun.core.annotation.NameInMap("nodeCount")
private Integer nodeCount;
private QrsResource(Builder builder) {
this.category = builder.category;
this.cpu = builder.cpu;
this.disk = builder.disk;
this.mem = builder.mem;
this.nodeCount = builder.nodeCount;
}
public static Builder builder() {
return new Builder();
}
public static QrsResource create() {
return builder().build();
}
/**
* @return category
*/
public String getCategory() {
return this.category;
}
/**
* @return cpu
*/
public Integer getCpu() {
return this.cpu;
}
/**
* @return disk
*/
public Integer getDisk() {
return this.disk;
}
/**
* @return mem
*/
public Integer getMem() {
return this.mem;
}
/**
* @return nodeCount
*/
public Integer getNodeCount() {
return this.nodeCount;
}
public static final class Builder {
private String category;
private Integer cpu;
private Integer disk;
private Integer mem;
private Integer nodeCount;
private Builder() {
}
private Builder(QrsResource model) {
this.category = model.category;
this.cpu = model.cpu;
this.disk = model.disk;
this.mem = model.mem;
this.nodeCount = model.nodeCount;
}
/**
* <p>The category. Valid values: local_ssd, SSD, and cloud.</p>
*
* <strong>example:</strong>
* <p>local_ssd</p>
*/
public Builder category(String category) {
this.category = category;
return this;
}
/**
* <p>The number of vCPUs.</p>
*
* <strong>example:</strong>
* <p>2</p>
*/
public Builder cpu(Integer cpu) {
this.cpu = cpu;
return this;
}
/**
* <p>The storage capacity. Unit: GB.</p>
*
* <strong>example:</strong>
* <p>100</p>
*/
public Builder disk(Integer disk) {
this.disk = disk;
return this;
}
/**
* <p>The memory of the instance. Unit: GB.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder mem(Integer mem) {
this.mem = mem;
return this;
}
/**
* <p>The number of nodes.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder nodeCount(Integer nodeCount) {
this.nodeCount = nodeCount;
return this;
}
public QrsResource build() {
return new QrsResource(this);
}
}
}
/**
*
* {@link GetInstanceResponseBody} extends {@link TeaModel}
*
* <p>GetInstanceResponseBody</p>
*/
public static class SearchResource extends TeaModel {
@com.aliyun.core.annotation.NameInMap("category")
private String category;
@com.aliyun.core.annotation.NameInMap("cpu")
private Integer cpu;
@com.aliyun.core.annotation.NameInMap("disk")
private Integer disk;
@com.aliyun.core.annotation.NameInMap("mem")
private Integer mem;
@com.aliyun.core.annotation.NameInMap("nodeCount")
private Integer nodeCount;
private SearchResource(Builder builder) {
this.category = builder.category;
this.cpu = builder.cpu;
this.disk = builder.disk;
this.mem = builder.mem;
this.nodeCount = builder.nodeCount;
}
public static Builder builder() {
return new Builder();
}
public static SearchResource create() {
return builder().build();
}
/**
* @return category
*/
public String getCategory() {
return this.category;
}
/**
* @return cpu
*/
public Integer getCpu() {
return this.cpu;
}
/**
* @return disk
*/
public Integer getDisk() {
return this.disk;
}
/**
* @return mem
*/
public Integer getMem() {
return this.mem;
}
/**
* @return nodeCount
*/
public Integer getNodeCount() {
return this.nodeCount;
}
public static final class Builder {
private String category;
private Integer cpu;
private Integer disk;
private Integer mem;
private Integer nodeCount;
private Builder() {
}
private Builder(SearchResource model) {
this.category = model.category;
this.cpu = model.cpu;
this.disk = model.disk;
this.mem = model.mem;
this.nodeCount = model.nodeCount;
}
/**
* <p>The category. Valid values: local_ssd, SSD, and cloud.</p>
*
* <strong>example:</strong>
* <p>local_ssd</p>
*/
public Builder category(String category) {
this.category = category;
return this;
}
/**
* <p>The number of vCPUs.</p>
*
* <strong>example:</strong>
* <p>2</p>
*/
public Builder cpu(Integer cpu) {
this.cpu = cpu;
return this;
}
/**
* <p>The storage capacity. Unit: GB.</p>
*
* <strong>example:</strong>
* <p>100</p>
*/
public Builder disk(Integer disk) {
this.disk = disk;
return this;
}
/**
* <p>The memory of the instance. Unit: GB.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder mem(Integer mem) {
this.mem = mem;
return this;
}
/**
* <p>The number of nodes.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder nodeCount(Integer nodeCount) {
this.nodeCount = nodeCount;
return this;
}
public SearchResource build() {
return new SearchResource(this);
}
}
}
/**
*
* {@link GetInstanceResponseBody} extends {@link TeaModel}
*
* <p>GetInstanceResponseBody</p>
*/
public static class Spec extends TeaModel {
@com.aliyun.core.annotation.NameInMap("qrsResource")
private QrsResource qrsResource;
@com.aliyun.core.annotation.NameInMap("searchResource")
private SearchResource searchResource;
private Spec(Builder builder) {
this.qrsResource = builder.qrsResource;
this.searchResource = builder.searchResource;
}
public static Builder builder() {
return new Builder();
}
public static Spec create() {
return builder().build();
}
/**
* @return qrsResource
*/
public QrsResource getQrsResource() {
return this.qrsResource;
}
/**
* @return searchResource
*/
public SearchResource getSearchResource() {
return this.searchResource;
}
public static final class Builder {
private QrsResource qrsResource;
private SearchResource searchResource;
private Builder() {
}
private Builder(Spec model) {
this.qrsResource = model.qrsResource;
this.searchResource = model.searchResource;
}
/**
* <p>The QRS worker specifications.</p>
*/
public Builder qrsResource(QrsResource qrsResource) {
this.qrsResource = qrsResource;
return this;
}
/**
* <p>The searcher worker specifications.</p>
*/
public Builder searchResource(SearchResource searchResource) {
this.searchResource = searchResource;
return this;
}
public Spec build() {
return new Spec(this);
}
}
}
/**
*
* {@link GetInstanceResponseBody} extends {@link TeaModel}
*
* <p>GetInstanceResponseBody</p>
*/
public static class Tags extends TeaModel {
@com.aliyun.core.annotation.NameInMap("key")
private String key;
@com.aliyun.core.annotation.NameInMap("value")
private String value;
private Tags(Builder builder) {
this.key = builder.key;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static Tags create() {
return builder().build();
}
/**
* @return key
*/
public String getKey() {
return this.key;
}
/**
* @return value
*/
public String getValue() {
return this.value;
}
public static final class Builder {
private String key;
private String value;
private Builder() {
}
private Builder(Tags model) {
this.key = model.key;
this.value = model.value;
}
/**
* <p>The tag key.</p>
*
* <strong>example:</strong>
* <p>env</p>
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* <p>The tag value.</p>
*
* <strong>example:</strong>
* <p>prod</p>
*/
public Builder value(String value) {
this.value = value;
return this;
}
public Tags build() {
return new Tags(this);
}
}
}
/**
*
* {@link GetInstanceResponseBody} extends {@link TeaModel}
*
* <p>GetInstanceResponseBody</p>
*/
public static class Result extends TeaModel {
@com.aliyun.core.annotation.NameInMap("bsVersion")
private String bsVersion;
@com.aliyun.core.annotation.NameInMap("chargeType")
private String chargeType;
@com.aliyun.core.annotation.NameInMap("commodityCode")
private String commodityCode;
@com.aliyun.core.annotation.NameInMap("createTime")
private String createTime;
@com.aliyun.core.annotation.NameInMap("description")
private String description;
@com.aliyun.core.annotation.NameInMap("edition")
private String edition;
@com.aliyun.core.annotation.NameInMap("expiredTime")
private String expiredTime;
@com.aliyun.core.annotation.NameInMap("inDebt")
private Boolean inDebt;
@com.aliyun.core.annotation.NameInMap("instanceId")
private String instanceId;
@com.aliyun.core.annotation.NameInMap("lockMode")
private String lockMode;
@com.aliyun.core.annotation.NameInMap("network")
private Network network;
@com.aliyun.core.annotation.NameInMap("newMode")
private Boolean newMode;
@com.aliyun.core.annotation.NameInMap("noQrs")
private Boolean noQrs;
@com.aliyun.core.annotation.NameInMap("resourceGroupId")
private String resourceGroupId;
@com.aliyun.core.annotation.NameInMap("spec")
private Spec spec;
@com.aliyun.core.annotation.NameInMap("status")
private String status;
@com.aliyun.core.annotation.NameInMap("tags")
private java.util.List<Tags> tags;
@com.aliyun.core.annotation.NameInMap("updateTime")
private String updateTime;
@com.aliyun.core.annotation.NameInMap("userName")
private String userName;
@com.aliyun.core.annotation.NameInMap("version")
private String version;
private Result(Builder builder) {
this.bsVersion = builder.bsVersion;
this.chargeType = builder.chargeType;
this.commodityCode = builder.commodityCode;
this.createTime = builder.createTime;
this.description = builder.description;
this.edition = builder.edition;
this.expiredTime = builder.expiredTime;
this.inDebt = builder.inDebt;
this.instanceId = builder.instanceId;
this.lockMode = builder.lockMode;
this.network = builder.network;
this.newMode = builder.newMode;
this.noQrs = builder.noQrs;
this.resourceGroupId = builder.resourceGroupId;
this.spec = builder.spec;
this.status = builder.status;
this.tags = builder.tags;
this.updateTime = builder.updateTime;
this.userName = builder.userName;
this.version = builder.version;
}
public static Builder builder() {
return new Builder();
}
public static Result create() {
return builder().build();
}
/**
* @return bsVersion
*/
public String getBsVersion() {
return this.bsVersion;
}
/**
* @return chargeType
*/
public String getChargeType() {
return this.chargeType;
}
/**
* @return commodityCode
*/
public String getCommodityCode() {
return this.commodityCode;
}
/**
* @return createTime
*/
public String getCreateTime() {
return this.createTime;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return edition
*/
public String getEdition() {
return this.edition;
}
/**
* @return expiredTime
*/
public String getExpiredTime() {
return this.expiredTime;
}
/**
* @return inDebt
*/
public Boolean getInDebt() {
return this.inDebt;
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
/**
* @return lockMode
*/
public String getLockMode() {
return this.lockMode;
}
/**
* @return network
*/
public Network getNetwork() {
return this.network;
}
/**
* @return newMode
*/
public Boolean getNewMode() {
return this.newMode;
}
/**
* @return noQrs
*/
public Boolean getNoQrs() {
return this.noQrs;
}
/**
* @return resourceGroupId
*/
public String getResourceGroupId() {
return this.resourceGroupId;
}
/**
* @return spec
*/
public Spec getSpec() {
return this.spec;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return tags
*/
public java.util.List<Tags> getTags() {
return this.tags;
}
/**
* @return updateTime
*/
public String getUpdateTime() {
return this.updateTime;
}
/**
* @return userName
*/
public String getUserName() {
return this.userName;
}
/**
* @return version
*/
public String getVersion() {
return this.version;
}
public static final class Builder {
private String bsVersion;
private String chargeType;
private String commodityCode;
private String createTime;
private String description;
private String edition;
private String expiredTime;
private Boolean inDebt;
private String instanceId;
private String lockMode;
private Network network;
private Boolean newMode;
private Boolean noQrs;
private String resourceGroupId;
private Spec spec;
private String status;
private java.util.List<Tags> tags;
private String updateTime;
private String userName;
private String version;
private Builder() {
}
private Builder(Result model) {
this.bsVersion = model.bsVersion;
this.chargeType = model.chargeType;
this.commodityCode = model.commodityCode;
this.createTime = model.createTime;
this.description = model.description;
this.edition = model.edition;
this.expiredTime = model.expiredTime;
this.inDebt = model.inDebt;
this.instanceId = model.instanceId;
this.lockMode = model.lockMode;
this.network = model.network;
this.newMode = model.newMode;
this.noQrs = model.noQrs;
this.resourceGroupId = model.resourceGroupId;
this.spec = model.spec;
this.status = model.status;
this.tags = model.tags;
this.updateTime = model.updateTime;
this.userName = model.userName;
this.version = model.version;
}
/**
* bsVersion.
*/
public Builder bsVersion(String bsVersion) {
this.bsVersion = bsVersion;
return this;
}
/**
* <p>The billing method.</p>
*
* <strong>example:</strong>
* <p>POSYPAY</p>
*/
public Builder chargeType(String chargeType) {
this.chargeType = chargeType;
return this;
}
/**
* <p>The commodity code of the instance.</p>
*
* <strong>example:</strong>
* <p>commodityCode</p>
*/
public Builder commodityCode(String commodityCode) {
this.commodityCode = commodityCode;
return this;
}
/**
* <p>The time when the instance was created.</p>
*
* <strong>example:</strong>
* <p>2022-06-17T02:01:26Z</p>
*/
public Builder createTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* <p>The description of the instance.</p>
*
* <strong>example:</strong>
* <p>ha3_test</p>
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* <p>The edition of the instance. Valid values: vector and engine.</p>
*
* <strong>example:</strong>
* <p>vector</p>
*/
public Builder edition(String edition) {
this.edition = edition;
return this;
}
/**
* <p>The time when the instance expires.</p>
*
* <strong>example:</strong>
* <p>1634609702</p>
*/
public Builder expiredTime(String expiredTime) {
this.expiredTime = expiredTime;
return this;
}
/**
* <p>Indicates whether an overdue payment is involved.</p>
*
* <strong>example:</strong>
* <p>false</p>
*/
public Builder inDebt(Boolean inDebt) {
this.inDebt = inDebt;
return this;
}
/**
* <p>The instance ID.</p>
*
* <strong>example:</strong>
* <p>ha-cn-7mz2qsgq301</p>
*/
public Builder instanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
/**
* <p>The lock status.</p>
*
* <strong>example:</strong>
* <p>Unlock</p>
*/
public Builder lockMode(String lockMode) {
this.lockMode = lockMode;
return this;
}
/**
* <p>The network information of the instance.</p>
*/
public Builder network(Network network) {
this.network = network;
return this;
}
/**
* <p>Specifies whether the instance is of the new version.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder newMode(Boolean newMode) {
this.newMode = newMode;
return this;
}
/**
* <p>Specifies whether the instance has only one node.</p>
*
* <strong>example:</strong>
* <p>false</p>
*/
public Builder noQrs(Boolean noQrs) {
this.noQrs = noQrs;
return this;
}
/**
* <p>The ID of the resource group.</p>
*
* <strong>example:</strong>
* <p>rg-aekzjvw24el5lma</p>
*/
public Builder resourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
return this;
}
/**
* <p>The node specifications.</p>
*/
public Builder spec(Spec spec) {
this.spec = spec;
return this;
}
/**
* <p>The status of the instance. Valid values:</p>
* <ul>
* <li>INIT: being initialized</li>
* <li>WAIT_CONFIG: to be configured</li>
* <li>CONFIG_UPDATING: configuration taking effect</li>
* <li>READY: normal</li>
* </ul>
*
* <strong>example:</strong>
* <p>INIT</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* <p>The tags of the instance.</p>
*/
public Builder tags(java.util.List<Tags> tags) {
this.tags = tags;
return this;
}
/**
* <p>The time when the instance was updated.</p>
*
* <strong>example:</strong>
* <p>1634609702</p>
*/
public Builder updateTime(String updateTime) {
this.updateTime = updateTime;
return this;
}
/**
* <p>The username.</p>
*
* <strong>example:</strong>
* <p>admin</p>
*/
public Builder userName(String userName) {
this.userName = userName;
return this;
}
/**
* <p>The version of the engine.</p>
*
* <strong>example:</strong>
* <p>ha3_3.10.0</p>
*/
public Builder version(String version) {
this.version = version;
return this;
}
public Result build() {
return new Result(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/GetNodeConfigRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetNodeConfigRequest} extends {@link RequestModel}
*
* <p>GetNodeConfigRequest</p>
*/
public class GetNodeConfigRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("instanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String instanceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("clusterName")
private String clusterName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("name")
private String name;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("type")
private String type;
private GetNodeConfigRequest(Builder builder) {
super(builder);
this.instanceId = builder.instanceId;
this.clusterName = builder.clusterName;
this.name = builder.name;
this.type = builder.type;
}
public static Builder builder() {
return new Builder();
}
public static GetNodeConfigRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
/**
* @return clusterName
*/
public String getClusterName() {
return this.clusterName;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
public static final class Builder extends Request.Builder<GetNodeConfigRequest, Builder> {
private String instanceId;
private String clusterName;
private String name;
private String type;
private Builder() {
super();
}
private Builder(GetNodeConfigRequest request) {
super(request);
this.instanceId = request.instanceId;
this.clusterName = request.clusterName;
this.name = request.name;
this.type = request.type;
}
/**
* <p>The instance ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ha-cn-0ju2rewdi02</p>
*/
public Builder instanceId(String instanceId) {
this.putPathParameter("instanceId", instanceId);
this.instanceId = instanceId;
return this;
}
/**
* <p>The name of the cluster</p>
*
* <strong>example:</strong>
* <p>vpc_sh_domain_2</p>
*/
public Builder clusterName(String clusterName) {
this.putQueryParameter("clusterName", clusterName);
this.clusterName = clusterName;
return this;
}
/**
* <p>The node name.</p>
*
* <strong>example:</strong>
* <p>ha-cn-30174dhoz53_qrs</p>
*/
public Builder name(String name) {
this.putQueryParameter("name", name);
this.name = name;
return this;
}
/**
* <p>The node type. Valid values:</p>
* <ul>
* <li>qrs: Query Result Searcher (QRS) worker</li>
* <li>search: Search worker</li>
* <li>index: index</li>
* <li>cluster: cluster</li>
* </ul>
*
* <strong>example:</strong>
* <p>index</p>
*/
public Builder type(String type) {
this.putQueryParameter("type", type);
this.type = type;
return this;
}
@Override
public GetNodeConfigRequest build() {
return new GetNodeConfigRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/GetNodeConfigResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetNodeConfigResponse} extends {@link TeaModel}
*
* <p>GetNodeConfigResponse</p>
*/
public class GetNodeConfigResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private GetNodeConfigResponseBody body;
private GetNodeConfigResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetNodeConfigResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public GetNodeConfigResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetNodeConfigResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetNodeConfigResponseBody body);
@Override
GetNodeConfigResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetNodeConfigResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetNodeConfigResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetNodeConfigResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(GetNodeConfigResponseBody body) {
this.body = body;
return this;
}
@Override
public GetNodeConfigResponse build() {
return new GetNodeConfigResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/GetNodeConfigResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetNodeConfigResponseBody} extends {@link TeaModel}
*
* <p>GetNodeConfigResponseBody</p>
*/
public class GetNodeConfigResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("requestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("result")
private Result result;
private GetNodeConfigResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.result = builder.result;
}
public static Builder builder() {
return new Builder();
}
public static GetNodeConfigResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return result
*/
public Result getResult() {
return this.result;
}
public static final class Builder {
private String requestId;
private Result result;
private Builder() {
}
private Builder(GetNodeConfigResponseBody model) {
this.requestId = model.requestId;
this.result = model.result;
}
/**
* <p>Id of the request</p>
*
* <strong>example:</strong>
* <p>2AE63638-5420-56DC-BF59-37D8174039A0</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The result set.</p>
*/
public Builder result(Result result) {
this.result = result;
return this;
}
public GetNodeConfigResponseBody build() {
return new GetNodeConfigResponseBody(this);
}
}
/**
*
* {@link GetNodeConfigResponseBody} extends {@link TeaModel}
*
* <p>GetNodeConfigResponseBody</p>
*/
public static class Result extends TeaModel {
@com.aliyun.core.annotation.NameInMap("active")
private Boolean active;
@com.aliyun.core.annotation.NameInMap("dataDuplicateNumber")
private Integer dataDuplicateNumber;
@com.aliyun.core.annotation.NameInMap("dataFragmentNumber")
private Integer dataFragmentNumber;
@com.aliyun.core.annotation.NameInMap("flowRatio")
private Integer flowRatio;
@com.aliyun.core.annotation.NameInMap("minServicePercent")
private Integer minServicePercent;
@com.aliyun.core.annotation.NameInMap("published")
private Boolean published;
private Result(Builder builder) {
this.active = builder.active;
this.dataDuplicateNumber = builder.dataDuplicateNumber;
this.dataFragmentNumber = builder.dataFragmentNumber;
this.flowRatio = builder.flowRatio;
this.minServicePercent = builder.minServicePercent;
this.published = builder.published;
}
public static Builder builder() {
return new Builder();
}
public static Result create() {
return builder().build();
}
/**
* @return active
*/
public Boolean getActive() {
return this.active;
}
/**
* @return dataDuplicateNumber
*/
public Integer getDataDuplicateNumber() {
return this.dataDuplicateNumber;
}
/**
* @return dataFragmentNumber
*/
public Integer getDataFragmentNumber() {
return this.dataFragmentNumber;
}
/**
* @return flowRatio
*/
public Integer getFlowRatio() {
return this.flowRatio;
}
/**
* @return minServicePercent
*/
public Integer getMinServicePercent() {
return this.minServicePercent;
}
/**
* @return published
*/
public Boolean getPublished() {
return this.published;
}
public static final class Builder {
private Boolean active;
private Integer dataDuplicateNumber;
private Integer dataFragmentNumber;
private Integer flowRatio;
private Integer minServicePercent;
private Boolean published;
private Builder() {
}
private Builder(Result model) {
this.active = model.active;
this.dataDuplicateNumber = model.dataDuplicateNumber;
this.dataFragmentNumber = model.dataFragmentNumber;
this.flowRatio = model.flowRatio;
this.minServicePercent = model.minServicePercent;
this.published = model.published;
}
/**
* <p>Indicates whether the index is effective online.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder active(Boolean active) {
this.active = active;
return this;
}
/**
* <p>The number of data replicas.</p>
*
* <strong>example:</strong>
* <p>2</p>
*/
public Builder dataDuplicateNumber(Integer dataDuplicateNumber) {
this.dataDuplicateNumber = dataDuplicateNumber;
return this;
}
/**
* <p>The number of data shards.</p>
*
* <strong>example:</strong>
* <p>2</p>
*/
public Builder dataFragmentNumber(Integer dataFragmentNumber) {
this.dataFragmentNumber = dataFragmentNumber;
return this;
}
/**
* <p>The traffic percentage.</p>
*
* <strong>example:</strong>
* <p>0</p>
*/
public Builder flowRatio(Integer flowRatio) {
this.flowRatio = flowRatio;
return this;
}
/**
* <p>The minimum service ratio.</p>
*
* <strong>example:</strong>
* <p>100</p>
*/
public Builder minServicePercent(Integer minServicePercent) {
this.minServicePercent = minServicePercent;
return this;
}
/**
* <p>Indicates whether the cluster is mounted.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder published(Boolean published) {
this.published = published;
return this;
}
public Result build() {
return new Result(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/GetSqlInstanceRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetSqlInstanceRequest} extends {@link RequestModel}
*
* <p>GetSqlInstanceRequest</p>
*/
public class GetSqlInstanceRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("instanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String instanceId;
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("database")
@com.aliyun.core.annotation.Validation(required = true)
private String database;
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("sqlInstanceId")
@com.aliyun.core.annotation.Validation(required = true)
private Long sqlInstanceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("version")
private Long version;
private GetSqlInstanceRequest(Builder builder) {
super(builder);
this.instanceId = builder.instanceId;
this.database = builder.database;
this.sqlInstanceId = builder.sqlInstanceId;
this.version = builder.version;
}
public static Builder builder() {
return new Builder();
}
public static GetSqlInstanceRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
/**
* @return database
*/
public String getDatabase() {
return this.database;
}
/**
* @return sqlInstanceId
*/
public Long getSqlInstanceId() {
return this.sqlInstanceId;
}
/**
* @return version
*/
public Long getVersion() {
return this.version;
}
public static final class Builder extends Request.Builder<GetSqlInstanceRequest, Builder> {
private String instanceId;
private String database;
private Long sqlInstanceId;
private Long version;
private Builder() {
super();
}
private Builder(GetSqlInstanceRequest request) {
super(request);
this.instanceId = request.instanceId;
this.database = request.database;
this.sqlInstanceId = request.sqlInstanceId;
this.version = request.version;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ha-cn-pl32rf0****</p>
*/
public Builder instanceId(String instanceId) {
this.putPathParameter("instanceId", instanceId);
this.instanceId = instanceId;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>general</p>
*/
public Builder database(String database) {
this.putPathParameter("database", database);
this.database = database;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>5978</p>
*/
public Builder sqlInstanceId(Long sqlInstanceId) {
this.putPathParameter("sqlInstanceId", sqlInstanceId);
this.sqlInstanceId = sqlInstanceId;
return this;
}
/**
* version.
*/
public Builder version(Long version) {
this.putQueryParameter("version", version);
this.version = version;
return this;
}
@Override
public GetSqlInstanceRequest build() {
return new GetSqlInstanceRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/GetSqlInstanceResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetSqlInstanceResponse} extends {@link TeaModel}
*
* <p>GetSqlInstanceResponse</p>
*/
public class GetSqlInstanceResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private GetSqlInstanceResponseBody body;
private GetSqlInstanceResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetSqlInstanceResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public GetSqlInstanceResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetSqlInstanceResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetSqlInstanceResponseBody body);
@Override
GetSqlInstanceResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetSqlInstanceResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetSqlInstanceResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetSqlInstanceResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(GetSqlInstanceResponseBody body) {
this.body = body;
return this;
}
@Override
public GetSqlInstanceResponse build() {
return new GetSqlInstanceResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/GetSqlInstanceResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetSqlInstanceResponseBody} extends {@link TeaModel}
*
* <p>GetSqlInstanceResponseBody</p>
*/
public class GetSqlInstanceResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("requestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("result")
private Result result;
private GetSqlInstanceResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.result = builder.result;
}
public static Builder builder() {
return new Builder();
}
public static GetSqlInstanceResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return result
*/
public Result getResult() {
return this.result;
}
public static final class Builder {
private String requestId;
private Result result;
private Builder() {
}
private Builder(GetSqlInstanceResponseBody model) {
this.requestId = model.requestId;
this.result = model.result;
}
/**
* <p>id of request</p>
*
* <strong>example:</strong>
* <p>10D5E615-69F7-5F49-B850-00169ADE513C</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>InstanceVersionVO</p>
*/
public Builder result(Result result) {
this.result = result;
return this;
}
public GetSqlInstanceResponseBody build() {
return new GetSqlInstanceResponseBody(this);
}
}
/**
*
* {@link GetSqlInstanceResponseBody} extends {@link TeaModel}
*
* <p>GetSqlInstanceResponseBody</p>
*/
public static class Result extends TeaModel {
@com.aliyun.core.annotation.NameInMap("combineParams")
private String combineParams;
@com.aliyun.core.annotation.NameInMap("comment")
private String comment;
@com.aliyun.core.annotation.NameInMap("content")
private String content;
@com.aliyun.core.annotation.NameInMap("dynamicParams")
private String dynamicParams;
@com.aliyun.core.annotation.NameInMap("gmtCreate")
private String gmtCreate;
@com.aliyun.core.annotation.NameInMap("gmtModified")
private String gmtModified;
@com.aliyun.core.annotation.NameInMap("instanceId")
private Long instanceId;
@com.aliyun.core.annotation.NameInMap("kvpairs")
private String kvpairs;
@com.aliyun.core.annotation.NameInMap("relatedTemplateId")
private Long relatedTemplateId;
@com.aliyun.core.annotation.NameInMap("staticParams")
private String staticParams;
@com.aliyun.core.annotation.NameInMap("templateParams")
private String templateParams;
@com.aliyun.core.annotation.NameInMap("version")
private Long version;
private Result(Builder builder) {
this.combineParams = builder.combineParams;
this.comment = builder.comment;
this.content = builder.content;
this.dynamicParams = builder.dynamicParams;
this.gmtCreate = builder.gmtCreate;
this.gmtModified = builder.gmtModified;
this.instanceId = builder.instanceId;
this.kvpairs = builder.kvpairs;
this.relatedTemplateId = builder.relatedTemplateId;
this.staticParams = builder.staticParams;
this.templateParams = builder.templateParams;
this.version = builder.version;
}
public static Builder builder() {
return new Builder();
}
public static Result create() {
return builder().build();
}
/**
* @return combineParams
*/
public String getCombineParams() {
return this.combineParams;
}
/**
* @return comment
*/
public String getComment() {
return this.comment;
}
/**
* @return content
*/
public String getContent() {
return this.content;
}
/**
* @return dynamicParams
*/
public String getDynamicParams() {
return this.dynamicParams;
}
/**
* @return gmtCreate
*/
public String getGmtCreate() {
return this.gmtCreate;
}
/**
* @return gmtModified
*/
public String getGmtModified() {
return this.gmtModified;
}
/**
* @return instanceId
*/
public Long getInstanceId() {
return this.instanceId;
}
/**
* @return kvpairs
*/
public String getKvpairs() {
return this.kvpairs;
}
/**
* @return relatedTemplateId
*/
public Long getRelatedTemplateId() {
return this.relatedTemplateId;
}
/**
* @return staticParams
*/
public String getStaticParams() {
return this.staticParams;
}
/**
* @return templateParams
*/
public String getTemplateParams() {
return this.templateParams;
}
/**
* @return version
*/
public Long getVersion() {
return this.version;
}
public static final class Builder {
private String combineParams;
private String comment;
private String content;
private String dynamicParams;
private String gmtCreate;
private String gmtModified;
private Long instanceId;
private String kvpairs;
private Long relatedTemplateId;
private String staticParams;
private String templateParams;
private Long version;
private Builder() {
}
private Builder(Result model) {
this.combineParams = model.combineParams;
this.comment = model.comment;
this.content = model.content;
this.dynamicParams = model.dynamicParams;
this.gmtCreate = model.gmtCreate;
this.gmtModified = model.gmtModified;
this.instanceId = model.instanceId;
this.kvpairs = model.kvpairs;
this.relatedTemplateId = model.relatedTemplateId;
this.staticParams = model.staticParams;
this.templateParams = model.templateParams;
this.version = model.version;
}
/**
* combineParams.
*/
public Builder combineParams(String combineParams) {
this.combineParams = combineParams;
return this;
}
/**
* comment.
*/
public Builder comment(String comment) {
this.comment = comment;
return this;
}
/**
* content.
*/
public Builder content(String content) {
this.content = content;
return this;
}
/**
* dynamicParams.
*/
public Builder dynamicParams(String dynamicParams) {
this.dynamicParams = dynamicParams;
return this;
}
/**
* gmtCreate.
*/
public Builder gmtCreate(String gmtCreate) {
this.gmtCreate = gmtCreate;
return this;
}
/**
* gmtModified.
*/
public Builder gmtModified(String gmtModified) {
this.gmtModified = gmtModified;
return this;
}
/**
* instanceId.
*/
public Builder instanceId(Long instanceId) {
this.instanceId = instanceId;
return this;
}
/**
* kvpairs.
*/
public Builder kvpairs(String kvpairs) {
this.kvpairs = kvpairs;
return this;
}
/**
* relatedTemplateId.
*/
public Builder relatedTemplateId(Long relatedTemplateId) {
this.relatedTemplateId = relatedTemplateId;
return this;
}
/**
* staticParams.
*/
public Builder staticParams(String staticParams) {
this.staticParams = staticParams;
return this;
}
/**
* templateParams.
*/
public Builder templateParams(String templateParams) {
this.templateParams = templateParams;
return this;
}
/**
* version.
*/
public Builder version(Long version) {
this.version = version;
return this;
}
public Result build() {
return new Result(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/GetTableGenerationRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetTableGenerationRequest} extends {@link RequestModel}
*
* <p>GetTableGenerationRequest</p>
*/
public class GetTableGenerationRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("instanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String instanceId;
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("tableName")
@com.aliyun.core.annotation.Validation(required = true)
private String tableName;
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("generationId")
@com.aliyun.core.annotation.Validation(required = true)
private Long generationId;
private GetTableGenerationRequest(Builder builder) {
super(builder);
this.instanceId = builder.instanceId;
this.tableName = builder.tableName;
this.generationId = builder.generationId;
}
public static Builder builder() {
return new Builder();
}
public static GetTableGenerationRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
/**
* @return tableName
*/
public String getTableName() {
return this.tableName;
}
/**
* @return generationId
*/
public Long getGenerationId() {
return this.generationId;
}
public static final class Builder extends Request.Builder<GetTableGenerationRequest, Builder> {
private String instanceId;
private String tableName;
private Long generationId;
private Builder() {
super();
}
private Builder(GetTableGenerationRequest request) {
super(request);
this.instanceId = request.instanceId;
this.tableName = request.tableName;
this.generationId = request.generationId;
}
/**
* <p>The instance ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ha-cn-pl32rf0js04</p>
*/
public Builder instanceId(String instanceId) {
this.putPathParameter("instanceId", instanceId);
this.instanceId = instanceId;
return this;
}
/**
* <p>The name of the table.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>test_summary</p>
*/
public Builder tableName(String tableName) {
this.putPathParameter("tableName", tableName);
this.tableName = tableName;
return this;
}
/**
* <p>The ID of the full index version.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>1708674867</p>
*/
public Builder generationId(Long generationId) {
this.putPathParameter("generationId", generationId);
this.generationId = generationId;
return this;
}
@Override
public GetTableGenerationRequest build() {
return new GetTableGenerationRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/GetTableGenerationResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetTableGenerationResponse} extends {@link TeaModel}
*
* <p>GetTableGenerationResponse</p>
*/
public class GetTableGenerationResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private GetTableGenerationResponseBody body;
private GetTableGenerationResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetTableGenerationResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public GetTableGenerationResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetTableGenerationResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetTableGenerationResponseBody body);
@Override
GetTableGenerationResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetTableGenerationResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetTableGenerationResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetTableGenerationResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(GetTableGenerationResponseBody body) {
this.body = body;
return this;
}
@Override
public GetTableGenerationResponse build() {
return new GetTableGenerationResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/GetTableGenerationResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetTableGenerationResponseBody} extends {@link TeaModel}
*
* <p>GetTableGenerationResponseBody</p>
*/
public class GetTableGenerationResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("requestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("result")
private Result result;
private GetTableGenerationResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.result = builder.result;
}
public static Builder builder() {
return new Builder();
}
public static GetTableGenerationResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return result
*/
public Result getResult() {
return this.result;
}
public static final class Builder {
private String requestId;
private Result result;
private Builder() {
}
private Builder(GetTableGenerationResponseBody model) {
this.requestId = model.requestId;
this.result = model.result;
}
/**
* <p>requestId</p>
*
* <strong>example:</strong>
* <p>E7B7D598-B080-5C8E-AA35-D43EC0D5F886</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The result returned.</p>
*/
public Builder result(Result result) {
this.result = result;
return this;
}
public GetTableGenerationResponseBody build() {
return new GetTableGenerationResponseBody(this);
}
}
/**
*
* {@link GetTableGenerationResponseBody} extends {@link TeaModel}
*
* <p>GetTableGenerationResponseBody</p>
*/
public static class Result extends TeaModel {
@com.aliyun.core.annotation.NameInMap("generationId")
private Long generationId;
@com.aliyun.core.annotation.NameInMap("status")
private String status;
private Result(Builder builder) {
this.generationId = builder.generationId;
this.status = builder.status;
}
public static Builder builder() {
return new Builder();
}
public static Result create() {
return builder().build();
}
/**
* @return generationId
*/
public Long getGenerationId() {
return this.generationId;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
public static final class Builder {
private Long generationId;
private String status;
private Builder() {
}
private Builder(Result model) {
this.generationId = model.generationId;
this.status = model.status;
}
/**
* <p>generationId</p>
*
* <strong>example:</strong>
* <p>1708674867</p>
*/
public Builder generationId(Long generationId) {
this.generationId = generationId;
return this;
}
/**
* <p>starting, building, ready, stopped, failed</p>
*
* <strong>example:</strong>
* <p>ready</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
public Result build() {
return new Result(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/GetTableRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetTableRequest} extends {@link RequestModel}
*
* <p>GetTableRequest</p>
*/
public class GetTableRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("instanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String instanceId;
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("tableName")
@com.aliyun.core.annotation.Validation(required = true)
private String tableName;
private GetTableRequest(Builder builder) {
super(builder);
this.instanceId = builder.instanceId;
this.tableName = builder.tableName;
}
public static Builder builder() {
return new Builder();
}
public static GetTableRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
/**
* @return tableName
*/
public String getTableName() {
return this.tableName;
}
public static final class Builder extends Request.Builder<GetTableRequest, Builder> {
private String instanceId;
private String tableName;
private Builder() {
super();
}
private Builder(GetTableRequest request) {
super(request);
this.instanceId = request.instanceId;
this.tableName = request.tableName;
}
/**
* <p>The instance ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ha-cn-0ju2k3qer02</p>
*/
public Builder instanceId(String instanceId) {
this.putPathParameter("instanceId", instanceId);
this.instanceId = instanceId;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>test_summary</p>
*/
public Builder tableName(String tableName) {
this.putPathParameter("tableName", tableName);
this.tableName = tableName;
return this;
}
@Override
public GetTableRequest build() {
return new GetTableRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/GetTableResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetTableResponse} extends {@link TeaModel}
*
* <p>GetTableResponse</p>
*/
public class GetTableResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private GetTableResponseBody body;
private GetTableResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetTableResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public GetTableResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetTableResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetTableResponseBody body);
@Override
GetTableResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetTableResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetTableResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetTableResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(GetTableResponseBody body) {
this.body = body;
return this;
}
@Override
public GetTableResponse build() {
return new GetTableResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/GetTableResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetTableResponseBody} extends {@link TeaModel}
*
* <p>GetTableResponseBody</p>
*/
public class GetTableResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("requestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("result")
private Result result;
private GetTableResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.result = builder.result;
}
public static Builder builder() {
return new Builder();
}
public static GetTableResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return result
*/
public Result getResult() {
return this.result;
}
public static final class Builder {
private String requestId;
private Result result;
private Builder() {
}
private Builder(GetTableResponseBody model) {
this.requestId = model.requestId;
this.result = model.result;
}
/**
* <p>requestId</p>
*
* <strong>example:</strong>
* <p>2AE63638-5420-56DC-BF59-37D8174039A0</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The results returned.</p>
*/
public Builder result(Result result) {
this.result = result;
return this;
}
public GetTableResponseBody build() {
return new GetTableResponseBody(this);
}
}
/**
*
* {@link GetTableResponseBody} extends {@link TeaModel}
*
* <p>GetTableResponseBody</p>
*/
public static class SrcFieldConfig extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ossBucket")
private String ossBucket;
@com.aliyun.core.annotation.NameInMap("ossEndpoint")
private String ossEndpoint;
@com.aliyun.core.annotation.NameInMap("uid")
private String uid;
private SrcFieldConfig(Builder builder) {
this.ossBucket = builder.ossBucket;
this.ossEndpoint = builder.ossEndpoint;
this.uid = builder.uid;
}
public static Builder builder() {
return new Builder();
}
public static SrcFieldConfig create() {
return builder().build();
}
/**
* @return ossBucket
*/
public String getOssBucket() {
return this.ossBucket;
}
/**
* @return ossEndpoint
*/
public String getOssEndpoint() {
return this.ossEndpoint;
}
/**
* @return uid
*/
public String getUid() {
return this.uid;
}
public static final class Builder {
private String ossBucket;
private String ossEndpoint;
private String uid;
private Builder() {
}
private Builder(SrcFieldConfig model) {
this.ossBucket = model.ossBucket;
this.ossEndpoint = model.ossEndpoint;
this.uid = model.uid;
}
/**
* <p>OSS Bucket</p>
*
* <strong>example:</strong>
* <p>test</p>
*/
public Builder ossBucket(String ossBucket) {
this.ossBucket = ossBucket;
return this;
}
/**
* <p>The Object Storage Service (OSS) endpoint.</p>
*
* <strong>example:</strong>
* <p>oss-cn-hangzhou-internal.aliyuncs.com</p>
*/
public Builder ossEndpoint(String ossEndpoint) {
this.ossEndpoint = ossEndpoint;
return this;
}
/**
* <p>The ID of the Alibaba Cloud account.</p>
*
* <strong>example:</strong>
* <p>uid</p>
*/
public Builder uid(String uid) {
this.uid = uid;
return this;
}
public SrcFieldConfig build() {
return new SrcFieldConfig(this);
}
}
}
/**
*
* {@link GetTableResponseBody} extends {@link TeaModel}
*
* <p>GetTableResponseBody</p>
*/
public static class Params extends TeaModel {
@com.aliyun.core.annotation.NameInMap("srcFieldConfig")
private SrcFieldConfig srcFieldConfig;
@com.aliyun.core.annotation.NameInMap("vectorModal")
private String vectorModal;
@com.aliyun.core.annotation.NameInMap("vectorModel")
private String vectorModel;
private Params(Builder builder) {
this.srcFieldConfig = builder.srcFieldConfig;
this.vectorModal = builder.vectorModal;
this.vectorModel = builder.vectorModel;
}
public static Builder builder() {
return new Builder();
}
public static Params create() {
return builder().build();
}
/**
* @return srcFieldConfig
*/
public SrcFieldConfig getSrcFieldConfig() {
return this.srcFieldConfig;
}
/**
* @return vectorModal
*/
public String getVectorModal() {
return this.vectorModal;
}
/**
* @return vectorModel
*/
public String getVectorModel() {
return this.vectorModel;
}
public static final class Builder {
private SrcFieldConfig srcFieldConfig;
private String vectorModal;
private String vectorModel;
private Builder() {
}
private Builder(Params model) {
this.srcFieldConfig = model.srcFieldConfig;
this.vectorModal = model.vectorModal;
this.vectorModel = model.vectorModel;
}
/**
* <p>The source of the data to be vectorized.</p>
*/
public Builder srcFieldConfig(SrcFieldConfig srcFieldConfig) {
this.srcFieldConfig = srcFieldConfig;
return this;
}
/**
* <p>The data type.</p>
*
* <strong>example:</strong>
* <p>image</p>
*/
public Builder vectorModal(String vectorModal) {
this.vectorModal = vectorModal;
return this;
}
/**
* <p>The vectorization model.</p>
*
* <strong>example:</strong>
* <p>clip</p>
*/
public Builder vectorModel(String vectorModel) {
this.vectorModel = vectorModel;
return this;
}
public Params build() {
return new Params(this);
}
}
}
/**
*
* {@link GetTableResponseBody} extends {@link TeaModel}
*
* <p>GetTableResponseBody</p>
*/
public static class DataProcessConfig extends TeaModel {
@com.aliyun.core.annotation.NameInMap("dstField")
private String dstField;
@com.aliyun.core.annotation.NameInMap("operator")
private String operator;
@com.aliyun.core.annotation.NameInMap("params")
private Params params;
@com.aliyun.core.annotation.NameInMap("srcField")
private String srcField;
private DataProcessConfig(Builder builder) {
this.dstField = builder.dstField;
this.operator = builder.operator;
this.params = builder.params;
this.srcField = builder.srcField;
}
public static Builder builder() {
return new Builder();
}
public static DataProcessConfig create() {
return builder().build();
}
/**
* @return dstField
*/
public String getDstField() {
return this.dstField;
}
/**
* @return operator
*/
public String getOperator() {
return this.operator;
}
/**
* @return params
*/
public Params getParams() {
return this.params;
}
/**
* @return srcField
*/
public String getSrcField() {
return this.srcField;
}
public static final class Builder {
private String dstField;
private String operator;
private Params params;
private String srcField;
private Builder() {
}
private Builder(DataProcessConfig model) {
this.dstField = model.dstField;
this.operator = model.operator;
this.params = model.params;
this.srcField = model.srcField;
}
/**
* <p>The destination field.</p>
*
* <strong>example:</strong>
* <p>source_image_vector</p>
*/
public Builder dstField(String dstField) {
this.dstField = dstField;
return this;
}
/**
* <p>The method used to process the field. Valid values: copy and vectorize. A value of copy indicates that the value of the source field is copied to the destination field. A value of vectorize indicates that the value of the source field is vectorized by a vectorization model and the output vector is stored in the destination field.</p>
*
* <strong>example:</strong>
* <p>vectorize</p>
*/
public Builder operator(String operator) {
this.operator = operator;
return this;
}
/**
* <p>The information about the model.</p>
*/
public Builder params(Params params) {
this.params = params;
return this;
}
/**
* <p>The source field.</p>
*
* <strong>example:</strong>
* <p>source_image</p>
*/
public Builder srcField(String srcField) {
this.srcField = srcField;
return this;
}
public DataProcessConfig build() {
return new DataProcessConfig(this);
}
}
}
/**
*
* {@link GetTableResponseBody} extends {@link TeaModel}
*
* <p>GetTableResponseBody</p>
*/
public static class Config extends TeaModel {
@com.aliyun.core.annotation.NameInMap("accessKey")
private String accessKey;
@com.aliyun.core.annotation.NameInMap("accessSecret")
private String accessSecret;
@com.aliyun.core.annotation.NameInMap("bucket")
private String bucket;
@com.aliyun.core.annotation.NameInMap("endpoint")
private String endpoint;
@com.aliyun.core.annotation.NameInMap("namespace")
private String namespace;
@com.aliyun.core.annotation.NameInMap("ossPath")
private String ossPath;
@com.aliyun.core.annotation.NameInMap("partition")
private String partition;
@com.aliyun.core.annotation.NameInMap("path")
private String path;
@com.aliyun.core.annotation.NameInMap("project")
private String project;
@com.aliyun.core.annotation.NameInMap("table")
private String table;
private Config(Builder builder) {
this.accessKey = builder.accessKey;
this.accessSecret = builder.accessSecret;
this.bucket = builder.bucket;
this.endpoint = builder.endpoint;
this.namespace = builder.namespace;
this.ossPath = builder.ossPath;
this.partition = builder.partition;
this.path = builder.path;
this.project = builder.project;
this.table = builder.table;
}
public static Builder builder() {
return new Builder();
}
public static Config create() {
return builder().build();
}
/**
* @return accessKey
*/
public String getAccessKey() {
return this.accessKey;
}
/**
* @return accessSecret
*/
public String getAccessSecret() {
return this.accessSecret;
}
/**
* @return bucket
*/
public String getBucket() {
return this.bucket;
}
/**
* @return endpoint
*/
public String getEndpoint() {
return this.endpoint;
}
/**
* @return namespace
*/
public String getNamespace() {
return this.namespace;
}
/**
* @return ossPath
*/
public String getOssPath() {
return this.ossPath;
}
/**
* @return partition
*/
public String getPartition() {
return this.partition;
}
/**
* @return path
*/
public String getPath() {
return this.path;
}
/**
* @return project
*/
public String getProject() {
return this.project;
}
/**
* @return table
*/
public String getTable() {
return this.table;
}
public static final class Builder {
private String accessKey;
private String accessSecret;
private String bucket;
private String endpoint;
private String namespace;
private String ossPath;
private String partition;
private String path;
private String project;
private String table;
private Builder() {
}
private Builder(Config model) {
this.accessKey = model.accessKey;
this.accessSecret = model.accessSecret;
this.bucket = model.bucket;
this.endpoint = model.endpoint;
this.namespace = model.namespace;
this.ossPath = model.ossPath;
this.partition = model.partition;
this.path = model.path;
this.project = model.project;
this.table = model.table;
}
/**
* <p>AK</p>
*
* <strong>example:</strong>
* <p>ak</p>
*/
public Builder accessKey(String accessKey) {
this.accessKey = accessKey;
return this;
}
/**
* <p>AS</p>
*
* <strong>example:</strong>
* <p>as</p>
*/
public Builder accessSecret(String accessSecret) {
this.accessSecret = accessSecret;
return this;
}
/**
* bucket.
*/
public Builder bucket(String bucket) {
this.bucket = bucket;
return this;
}
/**
* endpoint.
*/
public Builder endpoint(String endpoint) {
this.endpoint = endpoint;
return this;
}
/**
* namespace.
*/
public Builder namespace(String namespace) {
this.namespace = namespace;
return this;
}
/**
* ossPath.
*/
public Builder ossPath(String ossPath) {
this.ossPath = ossPath;
return this;
}
/**
* partition.
*/
public Builder partition(String partition) {
this.partition = partition;
return this;
}
/**
* path.
*/
public Builder path(String path) {
this.path = path;
return this;
}
/**
* project.
*/
public Builder project(String project) {
this.project = project;
return this;
}
/**
* table.
*/
public Builder table(String table) {
this.table = table;
return this;
}
public Config build() {
return new Config(this);
}
}
}
/**
*
* {@link GetTableResponseBody} extends {@link TeaModel}
*
* <p>GetTableResponseBody</p>
*/
public static class DataSource extends TeaModel {
@com.aliyun.core.annotation.NameInMap("autoBuildIndex")
private Boolean autoBuildIndex;
@com.aliyun.core.annotation.NameInMap("config")
private Config config;
@com.aliyun.core.annotation.NameInMap("dataTimeSec")
private Integer dataTimeSec;
@com.aliyun.core.annotation.NameInMap("type")
private String type;
private DataSource(Builder builder) {
this.autoBuildIndex = builder.autoBuildIndex;
this.config = builder.config;
this.dataTimeSec = builder.dataTimeSec;
this.type = builder.type;
}
public static Builder builder() {
return new Builder();
}
public static DataSource create() {
return builder().build();
}
/**
* @return autoBuildIndex
*/
public Boolean getAutoBuildIndex() {
return this.autoBuildIndex;
}
/**
* @return config
*/
public Config getConfig() {
return this.config;
}
/**
* @return dataTimeSec
*/
public Integer getDataTimeSec() {
return this.dataTimeSec;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
public static final class Builder {
private Boolean autoBuildIndex;
private Config config;
private Integer dataTimeSec;
private String type;
private Builder() {
}
private Builder(DataSource model) {
this.autoBuildIndex = model.autoBuildIndex;
this.config = model.config;
this.dataTimeSec = model.dataTimeSec;
this.type = model.type;
}
/**
* autoBuildIndex.
*/
public Builder autoBuildIndex(Boolean autoBuildIndex) {
this.autoBuildIndex = autoBuildIndex;
return this;
}
/**
* config.
*/
public Builder config(Config config) {
this.config = config;
return this;
}
/**
* dataTimeSec.
*/
public Builder dataTimeSec(Integer dataTimeSec) {
this.dataTimeSec = dataTimeSec;
return this;
}
/**
* type.
*/
public Builder type(String type) {
this.type = type;
return this;
}
public DataSource build() {
return new DataSource(this);
}
}
}
/**
*
* {@link GetTableResponseBody} extends {@link TeaModel}
*
* <p>GetTableResponseBody</p>
*/
public static class AdvanceParams extends TeaModel {
@com.aliyun.core.annotation.NameInMap("buildIndexParams")
private String buildIndexParams;
@com.aliyun.core.annotation.NameInMap("linearBuildThreshold")
private String linearBuildThreshold;
@com.aliyun.core.annotation.NameInMap("minScanDocCnt")
private String minScanDocCnt;
@com.aliyun.core.annotation.NameInMap("searchIndexParams")
private String searchIndexParams;
private AdvanceParams(Builder builder) {
this.buildIndexParams = builder.buildIndexParams;
this.linearBuildThreshold = builder.linearBuildThreshold;
this.minScanDocCnt = builder.minScanDocCnt;
this.searchIndexParams = builder.searchIndexParams;
}
public static Builder builder() {
return new Builder();
}
public static AdvanceParams create() {
return builder().build();
}
/**
* @return buildIndexParams
*/
public String getBuildIndexParams() {
return this.buildIndexParams;
}
/**
* @return linearBuildThreshold
*/
public String getLinearBuildThreshold() {
return this.linearBuildThreshold;
}
/**
* @return minScanDocCnt
*/
public String getMinScanDocCnt() {
return this.minScanDocCnt;
}
/**
* @return searchIndexParams
*/
public String getSearchIndexParams() {
return this.searchIndexParams;
}
public static final class Builder {
private String buildIndexParams;
private String linearBuildThreshold;
private String minScanDocCnt;
private String searchIndexParams;
private Builder() {
}
private Builder(AdvanceParams model) {
this.buildIndexParams = model.buildIndexParams;
this.linearBuildThreshold = model.linearBuildThreshold;
this.minScanDocCnt = model.minScanDocCnt;
this.searchIndexParams = model.searchIndexParams;
}
/**
* <p>The index building parameters.</p>
*
* <strong>example:</strong>
* <p>{}</p>
*/
public Builder buildIndexParams(String buildIndexParams) {
this.buildIndexParams = buildIndexParams;
return this;
}
/**
* <p>The threshold for linear building.</p>
*
* <strong>example:</strong>
* <p>5000</p>
*/
public Builder linearBuildThreshold(String linearBuildThreshold) {
this.linearBuildThreshold = linearBuildThreshold;
return this;
}
/**
* <p>The minimum number of retrieved candidate sets.</p>
*
* <strong>example:</strong>
* <p>20000</p>
*/
public Builder minScanDocCnt(String minScanDocCnt) {
this.minScanDocCnt = minScanDocCnt;
return this;
}
/**
* <p>The index retrieval parameters.</p>
*
* <strong>example:</strong>
* <p>{}</p>
*/
public Builder searchIndexParams(String searchIndexParams) {
this.searchIndexParams = searchIndexParams;
return this;
}
public AdvanceParams build() {
return new AdvanceParams(this);
}
}
}
/**
*
* {@link GetTableResponseBody} extends {@link TeaModel}
*
* <p>GetTableResponseBody</p>
*/
public static class VectorIndex extends TeaModel {
@com.aliyun.core.annotation.NameInMap("advanceParams")
private AdvanceParams advanceParams;
@com.aliyun.core.annotation.NameInMap("dimension")
private String dimension;
@com.aliyun.core.annotation.NameInMap("distanceType")
private String distanceType;
@com.aliyun.core.annotation.NameInMap("indexName")
private String indexName;
@com.aliyun.core.annotation.NameInMap("namespace")
private String namespace;
@com.aliyun.core.annotation.NameInMap("sparseIndexField")
private String sparseIndexField;
@com.aliyun.core.annotation.NameInMap("sparseValueField")
private String sparseValueField;
@com.aliyun.core.annotation.NameInMap("vectorField")
private String vectorField;
@com.aliyun.core.annotation.NameInMap("vectorIndexType")
private String vectorIndexType;
private VectorIndex(Builder builder) {
this.advanceParams = builder.advanceParams;
this.dimension = builder.dimension;
this.distanceType = builder.distanceType;
this.indexName = builder.indexName;
this.namespace = builder.namespace;
this.sparseIndexField = builder.sparseIndexField;
this.sparseValueField = builder.sparseValueField;
this.vectorField = builder.vectorField;
this.vectorIndexType = builder.vectorIndexType;
}
public static Builder builder() {
return new Builder();
}
public static VectorIndex create() {
return builder().build();
}
/**
* @return advanceParams
*/
public AdvanceParams getAdvanceParams() {
return this.advanceParams;
}
/**
* @return dimension
*/
public String getDimension() {
return this.dimension;
}
/**
* @return distanceType
*/
public String getDistanceType() {
return this.distanceType;
}
/**
* @return indexName
*/
public String getIndexName() {
return this.indexName;
}
/**
* @return namespace
*/
public String getNamespace() {
return this.namespace;
}
/**
* @return sparseIndexField
*/
public String getSparseIndexField() {
return this.sparseIndexField;
}
/**
* @return sparseValueField
*/
public String getSparseValueField() {
return this.sparseValueField;
}
/**
* @return vectorField
*/
public String getVectorField() {
return this.vectorField;
}
/**
* @return vectorIndexType
*/
public String getVectorIndexType() {
return this.vectorIndexType;
}
public static final class Builder {
private AdvanceParams advanceParams;
private String dimension;
private String distanceType;
private String indexName;
private String namespace;
private String sparseIndexField;
private String sparseValueField;
private String vectorField;
private String vectorIndexType;
private Builder() {
}
private Builder(VectorIndex model) {
this.advanceParams = model.advanceParams;
this.dimension = model.dimension;
this.distanceType = model.distanceType;
this.indexName = model.indexName;
this.namespace = model.namespace;
this.sparseIndexField = model.sparseIndexField;
this.sparseValueField = model.sparseValueField;
this.vectorField = model.vectorField;
this.vectorIndexType = model.vectorIndexType;
}
/**
* <p>The configurations of the index schema.</p>
*/
public Builder advanceParams(AdvanceParams advanceParams) {
this.advanceParams = advanceParams;
return this;
}
/**
* <p>The dimension of the vector.</p>
*
* <strong>example:</strong>
* <p>128</p>
*/
public Builder dimension(String dimension) {
this.dimension = dimension;
return this;
}
/**
* <p>The distance type.</p>
*
* <strong>example:</strong>
* <p>SquaredEuclidean</p>
*/
public Builder distanceType(String distanceType) {
this.distanceType = distanceType;
return this;
}
/**
* <p>The name of the index schema.</p>
*
* <strong>example:</strong>
* <p>test_odps</p>
*/
public Builder indexName(String indexName) {
this.indexName = indexName;
return this;
}
/**
* <p>The namespace field.</p>
*
* <strong>example:</strong>
* <p>namespace</p>
*/
public Builder namespace(String namespace) {
this.namespace = namespace;
return this;
}
/**
* <p>The field that stores the indexes of the elements in sparse vectors.</p>
*
* <strong>example:</strong>
* <p>sparse_indices</p>
*/
public Builder sparseIndexField(String sparseIndexField) {
this.sparseIndexField = sparseIndexField;
return this;
}
/**
* <p>The field that stores the elements in sparse vectors.</p>
*
* <strong>example:</strong>
* <p>sparse_values</p>
*/
public Builder sparseValueField(String sparseValueField) {
this.sparseValueField = sparseValueField;
return this;
}
/**
* <p>The vector field.</p>
*
* <strong>example:</strong>
* <p>source_image_vector</p>
*/
public Builder vectorField(String vectorField) {
this.vectorField = vectorField;
return this;
}
/**
* <p>The vector retrieval algorithm.</p>
*
* <strong>example:</strong>
* <p>Qc</p>
*/
public Builder vectorIndexType(String vectorIndexType) {
this.vectorIndexType = vectorIndexType;
return this;
}
public VectorIndex build() {
return new VectorIndex(this);
}
}
}
/**
*
* {@link GetTableResponseBody} extends {@link TeaModel}
*
* <p>GetTableResponseBody</p>
*/
public static class Result extends TeaModel {
@com.aliyun.core.annotation.NameInMap("dataProcessConfig")
private java.util.List<DataProcessConfig> dataProcessConfig;
@com.aliyun.core.annotation.NameInMap("dataProcessorCount")
private Integer dataProcessorCount;
@com.aliyun.core.annotation.NameInMap("dataSource")
private DataSource dataSource;
@com.aliyun.core.annotation.NameInMap("fieldSchema")
private java.util.Map<String, String> fieldSchema;
@com.aliyun.core.annotation.NameInMap("name")
private String name;
@com.aliyun.core.annotation.NameInMap("partitionCount")
private Integer partitionCount;
@com.aliyun.core.annotation.NameInMap("primaryKey")
private String primaryKey;
@com.aliyun.core.annotation.NameInMap("rawSchema")
private String rawSchema;
@com.aliyun.core.annotation.NameInMap("status")
private String status;
@com.aliyun.core.annotation.NameInMap("vectorIndex")
private java.util.List<VectorIndex> vectorIndex;
private Result(Builder builder) {
this.dataProcessConfig = builder.dataProcessConfig;
this.dataProcessorCount = builder.dataProcessorCount;
this.dataSource = builder.dataSource;
this.fieldSchema = builder.fieldSchema;
this.name = builder.name;
this.partitionCount = builder.partitionCount;
this.primaryKey = builder.primaryKey;
this.rawSchema = builder.rawSchema;
this.status = builder.status;
this.vectorIndex = builder.vectorIndex;
}
public static Builder builder() {
return new Builder();
}
public static Result create() {
return builder().build();
}
/**
* @return dataProcessConfig
*/
public java.util.List<DataProcessConfig> getDataProcessConfig() {
return this.dataProcessConfig;
}
/**
* @return dataProcessorCount
*/
public Integer getDataProcessorCount() {
return this.dataProcessorCount;
}
/**
* @return dataSource
*/
public DataSource getDataSource() {
return this.dataSource;
}
/**
* @return fieldSchema
*/
public java.util.Map<String, String> getFieldSchema() {
return this.fieldSchema;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return partitionCount
*/
public Integer getPartitionCount() {
return this.partitionCount;
}
/**
* @return primaryKey
*/
public String getPrimaryKey() {
return this.primaryKey;
}
/**
* @return rawSchema
*/
public String getRawSchema() {
return this.rawSchema;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return vectorIndex
*/
public java.util.List<VectorIndex> getVectorIndex() {
return this.vectorIndex;
}
public static final class Builder {
private java.util.List<DataProcessConfig> dataProcessConfig;
private Integer dataProcessorCount;
private DataSource dataSource;
private java.util.Map<String, String> fieldSchema;
private String name;
private Integer partitionCount;
private String primaryKey;
private String rawSchema;
private String status;
private java.util.List<VectorIndex> vectorIndex;
private Builder() {
}
private Builder(Result model) {
this.dataProcessConfig = model.dataProcessConfig;
this.dataProcessorCount = model.dataProcessorCount;
this.dataSource = model.dataSource;
this.fieldSchema = model.fieldSchema;
this.name = model.name;
this.partitionCount = model.partitionCount;
this.primaryKey = model.primaryKey;
this.rawSchema = model.rawSchema;
this.status = model.status;
this.vectorIndex = model.vectorIndex;
}
/**
* <p>The configurations about field processing.</p>
*/
public Builder dataProcessConfig(java.util.List<DataProcessConfig> dataProcessConfig) {
this.dataProcessConfig = dataProcessConfig;
return this;
}
/**
* dataProcessorCount.
*/
public Builder dataProcessorCount(Integer dataProcessorCount) {
this.dataProcessorCount = dataProcessorCount;
return this;
}
/**
* dataSource.
*/
public Builder dataSource(DataSource dataSource) {
this.dataSource = dataSource;
return this;
}
/**
* <p>The field. The value is a key-value pair in which the key indicates the field name and value indicates the field type.</p>
*/
public Builder fieldSchema(java.util.Map<String, String> fieldSchema) {
this.fieldSchema = fieldSchema;
return this;
}
/**
* name.
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* partitionCount.
*/
public Builder partitionCount(Integer partitionCount) {
this.partitionCount = partitionCount;
return this;
}
/**
* primaryKey.
*/
public Builder primaryKey(String primaryKey) {
this.primaryKey = primaryKey;
return this;
}
/**
* rawSchema.
*/
public Builder rawSchema(String rawSchema) {
this.rawSchema = rawSchema;
return this;
}
/**
* <p>The state of the index table. Valid values: NEW, PUBLISH, IN_USE, NOT_USE, STOP_USE, RESTORE_USE, and FAIL. After an index is created in an OpenSearch Retrieval Engine Edition instance, the index enters the IN_USE state. If the first full index fails to be created in an OpenSearch Vector Search Edition instance of the new version, the index is in the FAIL state.</p>
*
* <strong>example:</strong>
* <p>IN_USE</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* <p>The index schema.</p>
*/
public Builder vectorIndex(java.util.List<VectorIndex> vectorIndex) {
this.vectorIndex = vectorIndex;
return this;
}
public Result build() {
return new Result(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListAdvanceConfigDirRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListAdvanceConfigDirRequest} extends {@link RequestModel}
*
* <p>ListAdvanceConfigDirRequest</p>
*/
public class ListAdvanceConfigDirRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("instanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String instanceId;
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("configName")
@com.aliyun.core.annotation.Validation(required = true)
private String configName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("dirName")
@com.aliyun.core.annotation.Validation(required = true)
private String dirName;
private ListAdvanceConfigDirRequest(Builder builder) {
super(builder);
this.instanceId = builder.instanceId;
this.configName = builder.configName;
this.dirName = builder.dirName;
}
public static Builder builder() {
return new Builder();
}
public static ListAdvanceConfigDirRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
/**
* @return configName
*/
public String getConfigName() {
return this.configName;
}
/**
* @return dirName
*/
public String getDirName() {
return this.dirName;
}
public static final class Builder extends Request.Builder<ListAdvanceConfigDirRequest, Builder> {
private String instanceId;
private String configName;
private String dirName;
private Builder() {
super();
}
private Builder(ListAdvanceConfigDirRequest request) {
super(request);
this.instanceId = request.instanceId;
this.configName = request.configName;
this.dirName = request.dirName;
}
/**
* <p>The instance ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ha-cn-tl32n3iu801</p>
*/
public Builder instanceId(String instanceId) {
this.putPathParameter("instanceId", instanceId);
this.instanceId = instanceId;
return this;
}
/**
* <p>The configuration name.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ha-cn-2r42ostoc01_online_config_v3</p>
*/
public Builder configName(String configName) {
this.putPathParameter("configName", configName);
this.configName = configName;
return this;
}
/**
* <p>The name of the directory</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>/zones/general</p>
*/
public Builder dirName(String dirName) {
this.putQueryParameter("dirName", dirName);
this.dirName = dirName;
return this;
}
@Override
public ListAdvanceConfigDirRequest build() {
return new ListAdvanceConfigDirRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListAdvanceConfigDirResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListAdvanceConfigDirResponse} extends {@link TeaModel}
*
* <p>ListAdvanceConfigDirResponse</p>
*/
public class ListAdvanceConfigDirResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListAdvanceConfigDirResponseBody body;
private ListAdvanceConfigDirResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListAdvanceConfigDirResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListAdvanceConfigDirResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListAdvanceConfigDirResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListAdvanceConfigDirResponseBody body);
@Override
ListAdvanceConfigDirResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListAdvanceConfigDirResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListAdvanceConfigDirResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListAdvanceConfigDirResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListAdvanceConfigDirResponseBody body) {
this.body = body;
return this;
}
@Override
public ListAdvanceConfigDirResponse build() {
return new ListAdvanceConfigDirResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListAdvanceConfigDirResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListAdvanceConfigDirResponseBody} extends {@link TeaModel}
*
* <p>ListAdvanceConfigDirResponseBody</p>
*/
public class ListAdvanceConfigDirResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("requestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("result")
private java.util.List<Result> result;
private ListAdvanceConfigDirResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.result = builder.result;
}
public static Builder builder() {
return new Builder();
}
public static ListAdvanceConfigDirResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return result
*/
public java.util.List<Result> getResult() {
return this.result;
}
public static final class Builder {
private String requestId;
private java.util.List<Result> result;
private Builder() {
}
private Builder(ListAdvanceConfigDirResponseBody model) {
this.requestId = model.requestId;
this.result = model.result;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>2AE63638-5420-56DC-BF59-37D8174039A0</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The advanced configuration files.</p>
*/
public Builder result(java.util.List<Result> result) {
this.result = result;
return this;
}
public ListAdvanceConfigDirResponseBody build() {
return new ListAdvanceConfigDirResponseBody(this);
}
}
/**
*
* {@link ListAdvanceConfigDirResponseBody} extends {@link TeaModel}
*
* <p>ListAdvanceConfigDirResponseBody</p>
*/
public static class Result extends TeaModel {
@com.aliyun.core.annotation.NameInMap("fullPathName")
private String fullPathName;
@com.aliyun.core.annotation.NameInMap("isDir")
private Boolean isDir;
@com.aliyun.core.annotation.NameInMap("isTemplate")
private Boolean isTemplate;
@com.aliyun.core.annotation.NameInMap("name")
private String name;
private Result(Builder builder) {
this.fullPathName = builder.fullPathName;
this.isDir = builder.isDir;
this.isTemplate = builder.isTemplate;
this.name = builder.name;
}
public static Builder builder() {
return new Builder();
}
public static Result create() {
return builder().build();
}
/**
* @return fullPathName
*/
public String getFullPathName() {
return this.fullPathName;
}
/**
* @return isDir
*/
public Boolean getIsDir() {
return this.isDir;
}
/**
* @return isTemplate
*/
public Boolean getIsTemplate() {
return this.isTemplate;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
public static final class Builder {
private String fullPathName;
private Boolean isDir;
private Boolean isTemplate;
private String name;
private Builder() {
}
private Builder(Result model) {
this.fullPathName = model.fullPathName;
this.isDir = model.isDir;
this.isTemplate = model.isTemplate;
this.name = model.name;
}
/**
* <p>The absolute path in which the file is stored.</p>
*
* <strong>example:</strong>
* <p>"/path/wpd/nae"</p>
*/
public Builder fullPathName(String fullPathName) {
this.fullPathName = fullPathName;
return this;
}
/**
* <p>Indicates whether the file is a directory. Valid values: true and false.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder isDir(Boolean isDir) {
this.isDir = isDir;
return this;
}
/**
* <p>Indicates whether the file is a template. Valid values: <strong>true</strong> and <strong>false</strong>.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder isTemplate(Boolean isTemplate) {
this.isTemplate = isTemplate;
return this;
}
/**
* <p>The cluster name.</p>
*
* <strong>example:</strong>
* <p>file_name_1</p>
*/
public Builder name(String name) {
this.name = name;
return this;
}
public Result build() {
return new Result(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListAdvanceConfigsRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListAdvanceConfigsRequest} extends {@link RequestModel}
*
* <p>ListAdvanceConfigsRequest</p>
*/
public class ListAdvanceConfigsRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("instanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String instanceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("dataSourceName")
private String dataSourceName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("indexName")
private String indexName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("newMode")
private Boolean newMode;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("pageNumber")
private String pageNumber;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("pageSize")
private String pageSize;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("type")
private String type;
private ListAdvanceConfigsRequest(Builder builder) {
super(builder);
this.instanceId = builder.instanceId;
this.dataSourceName = builder.dataSourceName;
this.indexName = builder.indexName;
this.newMode = builder.newMode;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.type = builder.type;
}
public static Builder builder() {
return new Builder();
}
public static ListAdvanceConfigsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
/**
* @return dataSourceName
*/
public String getDataSourceName() {
return this.dataSourceName;
}
/**
* @return indexName
*/
public String getIndexName() {
return this.indexName;
}
/**
* @return newMode
*/
public Boolean getNewMode() {
return this.newMode;
}
/**
* @return pageNumber
*/
public String getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public String getPageSize() {
return this.pageSize;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
public static final class Builder extends Request.Builder<ListAdvanceConfigsRequest, Builder> {
private String instanceId;
private String dataSourceName;
private String indexName;
private Boolean newMode;
private String pageNumber;
private String pageSize;
private String type;
private Builder() {
super();
}
private Builder(ListAdvanceConfigsRequest request) {
super(request);
this.instanceId = request.instanceId;
this.dataSourceName = request.dataSourceName;
this.indexName = request.indexName;
this.newMode = request.newMode;
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
this.type = request.type;
}
/**
* <p>The instance ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ha-cn-pl32rf0js04</p>
*/
public Builder instanceId(String instanceId) {
this.putPathParameter("instanceId", instanceId);
this.instanceId = instanceId;
return this;
}
/**
* <p>The name of the data source.</p>
*
* <strong>example:</strong>
* <p>ha-cn-pl32rf0****_test_api</p>
*/
public Builder dataSourceName(String dataSourceName) {
this.putQueryParameter("dataSourceName", dataSourceName);
this.dataSourceName = dataSourceName;
return this;
}
/**
* <p>The index name.</p>
*
* <strong>example:</strong>
* <p>test_api</p>
*/
public Builder indexName(String indexName) {
this.putQueryParameter("indexName", indexName);
this.indexName = indexName;
return this;
}
/**
* <p>Specifies whether the OpenSearch Vector Search Edition instance is of the new version.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder newMode(Boolean newMode) {
this.putQueryParameter("newMode", newMode);
this.newMode = newMode;
return this;
}
/**
* pageNumber.
*/
public Builder pageNumber(String pageNumber) {
this.putQueryParameter("pageNumber", pageNumber);
this.pageNumber = pageNumber;
return this;
}
/**
* pageSize.
*/
public Builder pageSize(String pageSize) {
this.putQueryParameter("pageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* <p>The type of advanced configurations that you want to query. Valid values: - online -offline (default)</p>
*
* <strong>example:</strong>
* <p>online</p>
*/
public Builder type(String type) {
this.putQueryParameter("type", type);
this.type = type;
return this;
}
@Override
public ListAdvanceConfigsRequest build() {
return new ListAdvanceConfigsRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListAdvanceConfigsResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListAdvanceConfigsResponse} extends {@link TeaModel}
*
* <p>ListAdvanceConfigsResponse</p>
*/
public class ListAdvanceConfigsResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListAdvanceConfigsResponseBody body;
private ListAdvanceConfigsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListAdvanceConfigsResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListAdvanceConfigsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListAdvanceConfigsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListAdvanceConfigsResponseBody body);
@Override
ListAdvanceConfigsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListAdvanceConfigsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListAdvanceConfigsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListAdvanceConfigsResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListAdvanceConfigsResponseBody body) {
this.body = body;
return this;
}
@Override
public ListAdvanceConfigsResponse build() {
return new ListAdvanceConfigsResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListAdvanceConfigsResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListAdvanceConfigsResponseBody} extends {@link TeaModel}
*
* <p>ListAdvanceConfigsResponseBody</p>
*/
public class ListAdvanceConfigsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("requestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("result")
private java.util.List<Result> result;
private ListAdvanceConfigsResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.result = builder.result;
}
public static Builder builder() {
return new Builder();
}
public static ListAdvanceConfigsResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return result
*/
public java.util.List<Result> getResult() {
return this.result;
}
public static final class Builder {
private String requestId;
private java.util.List<Result> result;
private Builder() {
}
private Builder(ListAdvanceConfigsResponseBody model) {
this.requestId = model.requestId;
this.result = model.result;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>4FB0325E-8C37-5525-96AC-0333523170A3</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The advanced configurations.</p>
*/
public Builder result(java.util.List<Result> result) {
this.result = result;
return this;
}
public ListAdvanceConfigsResponseBody build() {
return new ListAdvanceConfigsResponseBody(this);
}
}
/**
*
* {@link ListAdvanceConfigsResponseBody} extends {@link TeaModel}
*
* <p>ListAdvanceConfigsResponseBody</p>
*/
public static class Files extends TeaModel {
@com.aliyun.core.annotation.NameInMap("fullPathName")
private String fullPathName;
@com.aliyun.core.annotation.NameInMap("isDir")
private Boolean isDir;
@com.aliyun.core.annotation.NameInMap("isTemplate")
private Boolean isTemplate;
@com.aliyun.core.annotation.NameInMap("name")
private String name;
private Files(Builder builder) {
this.fullPathName = builder.fullPathName;
this.isDir = builder.isDir;
this.isTemplate = builder.isTemplate;
this.name = builder.name;
}
public static Builder builder() {
return new Builder();
}
public static Files create() {
return builder().build();
}
/**
* @return fullPathName
*/
public String getFullPathName() {
return this.fullPathName;
}
/**
* @return isDir
*/
public Boolean getIsDir() {
return this.isDir;
}
/**
* @return isTemplate
*/
public Boolean getIsTemplate() {
return this.isTemplate;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
public static final class Builder {
private String fullPathName;
private Boolean isDir;
private Boolean isTemplate;
private String name;
private Builder() {
}
private Builder(Files model) {
this.fullPathName = model.fullPathName;
this.isDir = model.isDir;
this.isTemplate = model.isTemplate;
this.name = model.name;
}
/**
* <p>The absolute path in which the file is stored.</p>
*
* <strong>example:</strong>
* <p>/path/wpd/nae</p>
*/
public Builder fullPathName(String fullPathName) {
this.fullPathName = fullPathName;
return this;
}
/**
* <p>Indicates whether the file is a directory. Valid values: true and false.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder isDir(Boolean isDir) {
this.isDir = isDir;
return this;
}
/**
* <p>Indicates whether the file is a template. Valid values: true and false.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder isTemplate(Boolean isTemplate) {
this.isTemplate = isTemplate;
return this;
}
/**
* <p>The file name.</p>
*
* <strong>example:</strong>
* <p>file_name_1</p>
*/
public Builder name(String name) {
this.name = name;
return this;
}
public Files build() {
return new Files(this);
}
}
}
/**
*
* {@link ListAdvanceConfigsResponseBody} extends {@link TeaModel}
*
* <p>ListAdvanceConfigsResponseBody</p>
*/
public static class Result extends TeaModel {
@com.aliyun.core.annotation.NameInMap("advanceConfigType")
private String advanceConfigType;
@com.aliyun.core.annotation.NameInMap("content")
private String content;
@com.aliyun.core.annotation.NameInMap("contentType")
private String contentType;
@com.aliyun.core.annotation.NameInMap("creator")
private String creator;
@com.aliyun.core.annotation.NameInMap("desc")
private String desc;
@com.aliyun.core.annotation.NameInMap("files")
private java.util.List<Files> files;
@com.aliyun.core.annotation.NameInMap("name")
private String name;
@com.aliyun.core.annotation.NameInMap("status")
private String status;
@com.aliyun.core.annotation.NameInMap("updateTime")
private Long updateTime;
private Result(Builder builder) {
this.advanceConfigType = builder.advanceConfigType;
this.content = builder.content;
this.contentType = builder.contentType;
this.creator = builder.creator;
this.desc = builder.desc;
this.files = builder.files;
this.name = builder.name;
this.status = builder.status;
this.updateTime = builder.updateTime;
}
public static Builder builder() {
return new Builder();
}
public static Result create() {
return builder().build();
}
/**
* @return advanceConfigType
*/
public String getAdvanceConfigType() {
return this.advanceConfigType;
}
/**
* @return content
*/
public String getContent() {
return this.content;
}
/**
* @return contentType
*/
public String getContentType() {
return this.contentType;
}
/**
* @return creator
*/
public String getCreator() {
return this.creator;
}
/**
* @return desc
*/
public String getDesc() {
return this.desc;
}
/**
* @return files
*/
public java.util.List<Files> getFiles() {
return this.files;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return updateTime
*/
public Long getUpdateTime() {
return this.updateTime;
}
public static final class Builder {
private String advanceConfigType;
private String content;
private String contentType;
private String creator;
private String desc;
private java.util.List<Files> files;
private String name;
private String status;
private Long updateTime;
private Builder() {
}
private Builder(Result model) {
this.advanceConfigType = model.advanceConfigType;
this.content = model.content;
this.contentType = model.contentType;
this.creator = model.creator;
this.desc = model.desc;
this.files = model.files;
this.name = model.name;
this.status = model.status;
this.updateTime = model.updateTime;
}
/**
* <ul>
* <li>The type of the advanced configuration. Valid values: -ONLINE: online configuration</li>
* <li>-ONLINE_CAVA: online Cava configuration</li>
* <li>-ONLINE_PLUGIN: online plug-in configuration</li>
* <li>-ONLINE_QUERY: query configuration</li>
* <li>-OFFLINE_DICT: offline dictionary configuration</li>
* <li>-OFFLINE_TABLE: offline table configuration</li>
* <li>-OFFLINE_COMMON: offline configuration</li>
* <li>-OFFLINE_PLUGIN: offline plug-in configuration</li>
* <li>-OFFLINE_INDEX: index configuration</li>
* </ul>
*
* <strong>example:</strong>
* <p>ONLINE</p>
*/
public Builder advanceConfigType(String advanceConfigType) {
this.advanceConfigType = advanceConfigType;
return this;
}
/**
* <p>The content of the advanced configuration that is returned.</p>
*
* <strong>example:</strong>
* <p>{"url":"<a href="http://xxxxxx.aliyuncs.com/outnet_hz/packages/xxxxx/opensearch_offline_plugins_xxxxx.tar%5C%22%7D">http://xxxxxx.aliyuncs.com/outnet_hz/packages/xxxxx/opensearch_offline_plugins_xxxxx.tar\"}</a></p>
*/
public Builder content(String content) {
this.content = content;
return this;
}
/**
* <p>The type of the configuration content. Valid values: FILE, GIT, HTTP, and ODPS.</p>
*
* <strong>example:</strong>
* <p>FILE</p>
*/
public Builder contentType(String contentType) {
this.contentType = contentType;
return this;
}
/**
* <p>The Alibaba Cloud account ID of the user who created the advanced configuration.</p>
*
* <strong>example:</strong>
* <p>123456</p>
*/
public Builder creator(String creator) {
this.creator = creator;
return this;
}
/**
* <p>The description of the advanced configuration.</p>
*
* <strong>example:</strong>
* <p>test</p>
*/
public Builder desc(String desc) {
this.desc = desc;
return this;
}
/**
* <p>The files.</p>
*/
public Builder files(java.util.List<Files> files) {
this.files = files;
return this;
}
/**
* <p>The name of the advanced configuration.</p>
*
* <strong>example:</strong>
* <p>my_index</p>
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* <p>The status of the advanced configuration. Valid values: drafting: The advanced configuration is in the draft state. used: The advanced configuration is being used. unused: The advanced configuration is not used. trash: The advanced configuration is being deleted.</p>
*
* <strong>example:</strong>
* <p>drafting</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* <p>The time when the advanced configuration was updated.</p>
*
* <strong>example:</strong>
* <p>1631070464000</p>
*/
public Builder updateTime(Long updateTime) {
this.updateTime = updateTime;
return this;
}
public Result build() {
return new Result(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListAliasesRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListAliasesRequest} extends {@link RequestModel}
*
* <p>ListAliasesRequest</p>
*/
public class ListAliasesRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("instanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String instanceId;
private ListAliasesRequest(Builder builder) {
super(builder);
this.instanceId = builder.instanceId;
}
public static Builder builder() {
return new Builder();
}
public static ListAliasesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
public static final class Builder extends Request.Builder<ListAliasesRequest, Builder> {
private String instanceId;
private Builder() {
super();
}
private Builder(ListAliasesRequest request) {
super(request);
this.instanceId = request.instanceId;
}
/**
* <p>The instance ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ha-cn-pl32rf0****</p>
*/
public Builder instanceId(String instanceId) {
this.putPathParameter("instanceId", instanceId);
this.instanceId = instanceId;
return this;
}
@Override
public ListAliasesRequest build() {
return new ListAliasesRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListAliasesResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListAliasesResponse} extends {@link TeaModel}
*
* <p>ListAliasesResponse</p>
*/
public class ListAliasesResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListAliasesResponseBody body;
private ListAliasesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListAliasesResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListAliasesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListAliasesResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListAliasesResponseBody body);
@Override
ListAliasesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListAliasesResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListAliasesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListAliasesResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListAliasesResponseBody body) {
this.body = body;
return this;
}
@Override
public ListAliasesResponse build() {
return new ListAliasesResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListAliasesResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListAliasesResponseBody} extends {@link TeaModel}
*
* <p>ListAliasesResponseBody</p>
*/
public class ListAliasesResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("requestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("result")
private java.util.List<Result> result;
private ListAliasesResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.result = builder.result;
}
public static Builder builder() {
return new Builder();
}
public static ListAliasesResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return result
*/
public java.util.List<Result> getResult() {
return this.result;
}
public static final class Builder {
private String requestId;
private java.util.List<Result> result;
private Builder() {
}
private Builder(ListAliasesResponseBody model) {
this.requestId = model.requestId;
this.result = model.result;
}
/**
* <p>id of request</p>
*
* <strong>example:</strong>
* <p>10D5E615-69F7-5F49-B850-00169ADE513C</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>List</p>
*/
public Builder result(java.util.List<Result> result) {
this.result = result;
return this;
}
public ListAliasesResponseBody build() {
return new ListAliasesResponseBody(this);
}
}
/**
*
* {@link ListAliasesResponseBody} extends {@link TeaModel}
*
* <p>ListAliasesResponseBody</p>
*/
public static class Result extends TeaModel {
@com.aliyun.core.annotation.NameInMap("alias")
private String alias;
@com.aliyun.core.annotation.NameInMap("index")
private String index;
private Result(Builder builder) {
this.alias = builder.alias;
this.index = builder.index;
}
public static Builder builder() {
return new Builder();
}
public static Result create() {
return builder().build();
}
/**
* @return alias
*/
public String getAlias() {
return this.alias;
}
/**
* @return index
*/
public String getIndex() {
return this.index;
}
public static final class Builder {
private String alias;
private String index;
private Builder() {
}
private Builder(Result model) {
this.alias = model.alias;
this.index = model.index;
}
/**
* <p>alias name</p>
*
* <strong>example:</strong>
* <p>test</p>
*/
public Builder alias(String alias) {
this.alias = alias;
return this;
}
/**
* <p>index name</p>
*
* <strong>example:</strong>
* <p>index</p>
*/
public Builder index(String index) {
this.index = index;
return this;
}
public Result build() {
return new Result(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListClusterNamesRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListClusterNamesRequest} extends {@link RequestModel}
*
* <p>ListClusterNamesRequest</p>
*/
public class ListClusterNamesRequest extends Request {
private ListClusterNamesRequest(Builder builder) {
super(builder);
}
public static Builder builder() {
return new Builder();
}
public static ListClusterNamesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
public static final class Builder extends Request.Builder<ListClusterNamesRequest, Builder> {
private Builder() {
super();
}
private Builder(ListClusterNamesRequest request) {
super(request);
}
@Override
public ListClusterNamesRequest build() {
return new ListClusterNamesRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListClusterNamesResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListClusterNamesResponse} extends {@link TeaModel}
*
* <p>ListClusterNamesResponse</p>
*/
public class ListClusterNamesResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListClusterNamesResponseBody body;
private ListClusterNamesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListClusterNamesResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListClusterNamesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListClusterNamesResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListClusterNamesResponseBody body);
@Override
ListClusterNamesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListClusterNamesResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListClusterNamesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListClusterNamesResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListClusterNamesResponseBody body) {
this.body = body;
return this;
}
@Override
public ListClusterNamesResponse build() {
return new ListClusterNamesResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListClusterNamesResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListClusterNamesResponseBody} extends {@link TeaModel}
*
* <p>ListClusterNamesResponseBody</p>
*/
public class ListClusterNamesResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("requestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("result")
private Result result;
private ListClusterNamesResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.result = builder.result;
}
public static Builder builder() {
return new Builder();
}
public static ListClusterNamesResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return result
*/
public Result getResult() {
return this.result;
}
public static final class Builder {
private String requestId;
private Result result;
private Builder() {
}
private Builder(ListClusterNamesResponseBody model) {
this.requestId = model.requestId;
this.result = model.result;
}
/**
* <p>id of request</p>
*
* <strong>example:</strong>
* <p>F6E3D968-529C-5C40-AFDD-133A8B8FD930</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The result set.</p>
*/
public Builder result(Result result) {
this.result = result;
return this;
}
public ListClusterNamesResponseBody build() {
return new ListClusterNamesResponseBody(this);
}
}
/**
*
* {@link ListClusterNamesResponseBody} extends {@link TeaModel}
*
* <p>ListClusterNamesResponseBody</p>
*/
public static class Result extends TeaModel {
@com.aliyun.core.annotation.NameInMap("description")
private String description;
@com.aliyun.core.annotation.NameInMap("id")
private Long id;
@com.aliyun.core.annotation.NameInMap("name")
private String name;
private Result(Builder builder) {
this.description = builder.description;
this.id = builder.id;
this.name = builder.name;
}
public static Builder builder() {
return new Builder();
}
public static Result create() {
return builder().build();
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return id
*/
public Long getId() {
return this.id;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
public static final class Builder {
private String description;
private Long id;
private String name;
private Builder() {
}
private Builder(Result model) {
this.description = model.description;
this.id = model.id;
this.name = model.name;
}
/**
* <p>The description of the cluster.</p>
*
* <strong>example:</strong>
* <p>ha3_test</p>
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* <p>The cluster ID.</p>
*
* <strong>example:</strong>
* <p>25030</p>
*/
public Builder id(Long id) {
this.id = id;
return this;
}
/**
* <p>The cluster name.</p>
*
* <strong>example:</strong>
* <p>my_index</p>
*/
public Builder name(String name) {
this.name = name;
return this;
}
public Result build() {
return new Result(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListClusterTasksRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListClusterTasksRequest} extends {@link RequestModel}
*
* <p>ListClusterTasksRequest</p>
*/
public class ListClusterTasksRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("instanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String instanceId;
private ListClusterTasksRequest(Builder builder) {
super(builder);
this.instanceId = builder.instanceId;
}
public static Builder builder() {
return new Builder();
}
public static ListClusterTasksRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
public static final class Builder extends Request.Builder<ListClusterTasksRequest, Builder> {
private String instanceId;
private Builder() {
super();
}
private Builder(ListClusterTasksRequest request) {
super(request);
this.instanceId = request.instanceId;
}
/**
* <p>The instance ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ha-cn-i7m2roiy504</p>
*/
public Builder instanceId(String instanceId) {
this.putPathParameter("instanceId", instanceId);
this.instanceId = instanceId;
return this;
}
@Override
public ListClusterTasksRequest build() {
return new ListClusterTasksRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListClusterTasksResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListClusterTasksResponse} extends {@link TeaModel}
*
* <p>ListClusterTasksResponse</p>
*/
public class ListClusterTasksResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListClusterTasksResponseBody body;
private ListClusterTasksResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListClusterTasksResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListClusterTasksResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListClusterTasksResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListClusterTasksResponseBody body);
@Override
ListClusterTasksResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListClusterTasksResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListClusterTasksResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListClusterTasksResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListClusterTasksResponseBody body) {
this.body = body;
return this;
}
@Override
public ListClusterTasksResponse build() {
return new ListClusterTasksResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListClusterTasksResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListClusterTasksResponseBody} extends {@link TeaModel}
*
* <p>ListClusterTasksResponseBody</p>
*/
public class ListClusterTasksResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("requestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("result")
private java.util.List<Result> result;
private ListClusterTasksResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.result = builder.result;
}
public static Builder builder() {
return new Builder();
}
public static ListClusterTasksResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return result
*/
public java.util.List<Result> getResult() {
return this.result;
}
public static final class Builder {
private String requestId;
private java.util.List<Result> result;
private Builder() {
}
private Builder(ListClusterTasksResponseBody model) {
this.requestId = model.requestId;
this.result = model.result;
}
/**
* <p>id of request</p>
*
* <strong>example:</strong>
* <p>CC5EC8FA-5C0D-56AF-BEF4-6FCCEABD0511</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The index information.</p>
*/
public Builder result(java.util.List<Result> result) {
this.result = result;
return this;
}
public ListClusterTasksResponseBody build() {
return new ListClusterTasksResponseBody(this);
}
}
/**
*
* {@link ListClusterTasksResponseBody} extends {@link TeaModel}
*
* <p>ListClusterTasksResponseBody</p>
*/
public static class Tags extends TeaModel {
@com.aliyun.core.annotation.NameInMap("msg")
private String msg;
@com.aliyun.core.annotation.NameInMap("tagLevel")
private String tagLevel;
private Tags(Builder builder) {
this.msg = builder.msg;
this.tagLevel = builder.tagLevel;
}
public static Builder builder() {
return new Builder();
}
public static Tags create() {
return builder().build();
}
/**
* @return msg
*/
public String getMsg() {
return this.msg;
}
/**
* @return tagLevel
*/
public String getTagLevel() {
return this.tagLevel;
}
public static final class Builder {
private String msg;
private String tagLevel;
private Builder() {
}
private Builder(Tags model) {
this.msg = model.msg;
this.tagLevel = model.tagLevel;
}
/**
* <p>The tag content.</p>
*
* <strong>example:</strong>
* <p>succeed in handling request</p>
*/
public Builder msg(String msg) {
this.msg = msg;
return this;
}
/**
* <p>The tag level.</p>
*
* <strong>example:</strong>
* <p>" "</p>
*/
public Builder tagLevel(String tagLevel) {
this.tagLevel = tagLevel;
return this;
}
public Tags build() {
return new Tags(this);
}
}
}
/**
*
* {@link ListClusterTasksResponseBody} extends {@link TeaModel}
*
* <p>ListClusterTasksResponseBody</p>
*/
public static class TaskNodes extends TeaModel {
@com.aliyun.core.annotation.NameInMap("finishDate")
private String finishDate;
@com.aliyun.core.annotation.NameInMap("index")
private Long index;
@com.aliyun.core.annotation.NameInMap("name")
private String name;
@com.aliyun.core.annotation.NameInMap("status")
private String status;
private TaskNodes(Builder builder) {
this.finishDate = builder.finishDate;
this.index = builder.index;
this.name = builder.name;
this.status = builder.status;
}
public static Builder builder() {
return new Builder();
}
public static TaskNodes create() {
return builder().build();
}
/**
* @return finishDate
*/
public String getFinishDate() {
return this.finishDate;
}
/**
* @return index
*/
public Long getIndex() {
return this.index;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
public static final class Builder {
private String finishDate;
private Long index;
private String name;
private String status;
private Builder() {
}
private Builder(TaskNodes model) {
this.finishDate = model.finishDate;
this.index = model.index;
this.name = model.name;
this.status = model.status;
}
/**
* <p>The time when the task was complete.</p>
*
* <strong>example:</strong>
* <p>" "</p>
*/
public Builder finishDate(String finishDate) {
this.finishDate = finishDate;
return this;
}
/**
* <p>The ordinal number of the task.</p>
*
* <strong>example:</strong>
* <p>100</p>
*/
public Builder index(Long index) {
this.index = index;
return this;
}
/**
* <p>The task name.</p>
*
* <strong>example:</strong>
* <p>general</p>
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* <p>The task status.</p>
*
* <strong>example:</strong>
* <p>2</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
public TaskNodes build() {
return new TaskNodes(this);
}
}
}
/**
*
* {@link ListClusterTasksResponseBody} extends {@link TeaModel}
*
* <p>ListClusterTasksResponseBody</p>
*/
public static class Result extends TeaModel {
@com.aliyun.core.annotation.NameInMap("extraAttribute")
private String extraAttribute;
@com.aliyun.core.annotation.NameInMap("field3")
private String field3;
@com.aliyun.core.annotation.NameInMap("fsmId")
private String fsmId;
@com.aliyun.core.annotation.NameInMap("groupType")
private String groupType;
@com.aliyun.core.annotation.NameInMap("name")
private String name;
@com.aliyun.core.annotation.NameInMap("status")
private String status;
@com.aliyun.core.annotation.NameInMap("tags")
private java.util.List<Tags> tags;
@com.aliyun.core.annotation.NameInMap("taskNodes")
private java.util.List<TaskNodes> taskNodes;
@com.aliyun.core.annotation.NameInMap("time")
private String time;
@com.aliyun.core.annotation.NameInMap("type")
private String type;
@com.aliyun.core.annotation.NameInMap("user")
private String user;
private Result(Builder builder) {
this.extraAttribute = builder.extraAttribute;
this.field3 = builder.field3;
this.fsmId = builder.fsmId;
this.groupType = builder.groupType;
this.name = builder.name;
this.status = builder.status;
this.tags = builder.tags;
this.taskNodes = builder.taskNodes;
this.time = builder.time;
this.type = builder.type;
this.user = builder.user;
}
public static Builder builder() {
return new Builder();
}
public static Result create() {
return builder().build();
}
/**
* @return extraAttribute
*/
public String getExtraAttribute() {
return this.extraAttribute;
}
/**
* @return field3
*/
public String getField3() {
return this.field3;
}
/**
* @return fsmId
*/
public String getFsmId() {
return this.fsmId;
}
/**
* @return groupType
*/
public String getGroupType() {
return this.groupType;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return tags
*/
public java.util.List<Tags> getTags() {
return this.tags;
}
/**
* @return taskNodes
*/
public java.util.List<TaskNodes> getTaskNodes() {
return this.taskNodes;
}
/**
* @return time
*/
public String getTime() {
return this.time;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
/**
* @return user
*/
public String getUser() {
return this.user;
}
public static final class Builder {
private String extraAttribute;
private String field3;
private String fsmId;
private String groupType;
private String name;
private String status;
private java.util.List<Tags> tags;
private java.util.List<TaskNodes> taskNodes;
private String time;
private String type;
private String user;
private Builder() {
}
private Builder(Result model) {
this.extraAttribute = model.extraAttribute;
this.field3 = model.field3;
this.fsmId = model.fsmId;
this.groupType = model.groupType;
this.name = model.name;
this.status = model.status;
this.tags = model.tags;
this.taskNodes = model.taskNodes;
this.time = model.time;
this.type = model.type;
this.user = model.user;
}
/**
* <p>The additional attributes of the card.</p>
*
* <strong>example:</strong>
* <p>" "</p>
*/
public Builder extraAttribute(String extraAttribute) {
this.extraAttribute = extraAttribute;
return this;
}
/**
* <p>The field3 field that was passed when the FSM was created.</p>
*
* <strong>example:</strong>
* <p>" "</p>
*/
public Builder field3(String field3) {
this.field3 = field3;
return this;
}
/**
* <p>The ID of the finite state machine (FSM).</p>
*
* <strong>example:</strong>
* <p>tisplus_opensearch@datasource_flow_fsm@1865410598556969-ha-cn-zvp2ljiwe01_api2@bj_vpc_domain_1@null@MANUAL-ha-cn-zvp2ljiwe01_api2@1649729867698@028315</p>
*/
public Builder fsmId(String fsmId) {
this.fsmId = fsmId;
return this;
}
/**
* <p>The change group type.</p>
*
* <strong>example:</strong>
* <p>" "</p>
*/
public Builder groupType(String groupType) {
this.groupType = groupType;
return this;
}
/**
* <p>The card name.</p>
*
* <strong>example:</strong>
* <p>ha-cn-pl32rf0js04_qrs</p>
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* <p>The FSM status.</p>
*
* <strong>example:</strong>
* <p>onlyPublished</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* <p>The tags of the progress bar.</p>
*/
public Builder tags(java.util.List<Tags> tags) {
this.tags = tags;
return this;
}
/**
* <p>The task information.</p>
*/
public Builder taskNodes(java.util.List<TaskNodes> taskNodes) {
this.taskNodes = taskNodes;
return this;
}
/**
* <p>The timestamp of the card.</p>
*
* <strong>example:</strong>
* <p>1657610520</p>
*/
public Builder time(String time) {
this.time = time;
return this;
}
/**
* <p>The card type.</p>
*
* <strong>example:</strong>
* <p>qrs</p>
*/
public Builder type(String type) {
this.type = type;
return this;
}
/**
* <p>The user who triggered the generation of the FSM process.</p>
*
* <strong>example:</strong>
* <p>" "</p>
*/
public Builder user(String user) {
this.user = user;
return this;
}
public Result build() {
return new Result(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListClustersRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListClustersRequest} extends {@link RequestModel}
*
* <p>ListClustersRequest</p>
*/
public class ListClustersRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("instanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String instanceId;
private ListClustersRequest(Builder builder) {
super(builder);
this.instanceId = builder.instanceId;
}
public static Builder builder() {
return new Builder();
}
public static ListClustersRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
public static final class Builder extends Request.Builder<ListClustersRequest, Builder> {
private String instanceId;
private Builder() {
super();
}
private Builder(ListClustersRequest request) {
super(request);
this.instanceId = request.instanceId;
}
/**
* <p>The instance ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ha-cn-zvp2jlr2g03</p>
*/
public Builder instanceId(String instanceId) {
this.putPathParameter("instanceId", instanceId);
this.instanceId = instanceId;
return this;
}
@Override
public ListClustersRequest build() {
return new ListClustersRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListClustersResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListClustersResponse} extends {@link TeaModel}
*
* <p>ListClustersResponse</p>
*/
public class ListClustersResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListClustersResponseBody body;
private ListClustersResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListClustersResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListClustersResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListClustersResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListClustersResponseBody body);
@Override
ListClustersResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListClustersResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListClustersResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListClustersResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListClustersResponseBody body) {
this.body = body;
return this;
}
@Override
public ListClustersResponse build() {
return new ListClustersResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListClustersResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListClustersResponseBody} extends {@link TeaModel}
*
* <p>ListClustersResponseBody</p>
*/
public class ListClustersResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("requestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("result")
private java.util.List<Result> result;
private ListClustersResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.result = builder.result;
}
public static Builder builder() {
return new Builder();
}
public static ListClustersResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return result
*/
public java.util.List<Result> getResult() {
return this.result;
}
public static final class Builder {
private String requestId;
private java.util.List<Result> result;
private Builder() {
}
private Builder(ListClustersResponseBody model) {
this.requestId = model.requestId;
this.result = model.result;
}
/**
* <p>id of request</p>
*
* <strong>example:</strong>
* <p>F43E8AB4-419C-5F4C-90D6-615590DFAA3C</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The clusters.</p>
*/
public Builder result(java.util.List<Result> result) {
this.result = result;
return this;
}
public ListClustersResponseBody build() {
return new ListClustersResponseBody(this);
}
}
/**
*
* {@link ListClustersResponseBody} extends {@link TeaModel}
*
* <p>ListClustersResponseBody</p>
*/
public static class DataNode extends TeaModel {
@com.aliyun.core.annotation.NameInMap("name")
private String name;
@com.aliyun.core.annotation.NameInMap("number")
private Integer number;
@com.aliyun.core.annotation.NameInMap("partition")
private Integer partition;
private DataNode(Builder builder) {
this.name = builder.name;
this.number = builder.number;
this.partition = builder.partition;
}
public static Builder builder() {
return new Builder();
}
public static DataNode create() {
return builder().build();
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return number
*/
public Integer getNumber() {
return this.number;
}
/**
* @return partition
*/
public Integer getPartition() {
return this.partition;
}
public static final class Builder {
private String name;
private Integer number;
private Integer partition;
private Builder() {
}
private Builder(DataNode model) {
this.name = model.name;
this.number = model.number;
this.partition = model.partition;
}
/**
* <p>The name of the Searcher worker.</p>
*
* <strong>example:</strong>
* <p>ha-cn-8ed2k7brm05_qrs</p>
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* <p>The number of Searcher workers.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder number(Integer number) {
this.number = number;
return this;
}
/**
* <p>The ID of the partition that is stored on the Searcher worker.</p>
*
* <strong>example:</strong>
* <p>dt=20220216</p>
*/
public Builder partition(Integer partition) {
this.partition = partition;
return this;
}
public DataNode build() {
return new DataNode(this);
}
}
}
/**
*
* {@link ListClustersResponseBody} extends {@link TeaModel}
*
* <p>ListClustersResponseBody</p>
*/
public static class QueryNode extends TeaModel {
@com.aliyun.core.annotation.NameInMap("name")
private String name;
@com.aliyun.core.annotation.NameInMap("number")
private Integer number;
@com.aliyun.core.annotation.NameInMap("partition")
private Integer partition;
private QueryNode(Builder builder) {
this.name = builder.name;
this.number = builder.number;
this.partition = builder.partition;
}
public static Builder builder() {
return new Builder();
}
public static QueryNode create() {
return builder().build();
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return number
*/
public Integer getNumber() {
return this.number;
}
/**
* @return partition
*/
public Integer getPartition() {
return this.partition;
}
public static final class Builder {
private String name;
private Integer number;
private Integer partition;
private Builder() {
}
private Builder(QueryNode model) {
this.name = model.name;
this.number = model.number;
this.partition = model.partition;
}
/**
* <p>The name of the QRS worker.</p>
*
* <strong>example:</strong>
* <p>test_0704</p>
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* <p>The number of QRS workers.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder number(Integer number) {
this.number = number;
return this;
}
/**
* <p>The ID of the partition that is stored on the QRS worker.</p>
*
* <strong>example:</strong>
* <p>dt=20211216</p>
*/
public Builder partition(Integer partition) {
this.partition = partition;
return this;
}
public QueryNode build() {
return new QueryNode(this);
}
}
}
/**
*
* {@link ListClustersResponseBody} extends {@link TeaModel}
*
* <p>ListClustersResponseBody</p>
*/
public static class Result extends TeaModel {
@com.aliyun.core.annotation.NameInMap("config")
private java.util.Map<String, java.util.Map<String, ?>> config;
@com.aliyun.core.annotation.NameInMap("configUpdateTime")
private String configUpdateTime;
@com.aliyun.core.annotation.NameInMap("createTime")
private String createTime;
@com.aliyun.core.annotation.NameInMap("currentAdvanceConfigVersion")
private String currentAdvanceConfigVersion;
@com.aliyun.core.annotation.NameInMap("currentOfflineDictConfigVersion")
private String currentOfflineDictConfigVersion;
@com.aliyun.core.annotation.NameInMap("currentOnlineConfigVersion")
private String currentOnlineConfigVersion;
@com.aliyun.core.annotation.NameInMap("currentOnlineQueryConfigVersion")
private String currentOnlineQueryConfigVersion;
@com.aliyun.core.annotation.NameInMap("dataNode")
private DataNode dataNode;
@com.aliyun.core.annotation.NameInMap("description")
private String description;
@com.aliyun.core.annotation.NameInMap("latestAdvanceConfigVersion")
private String latestAdvanceConfigVersion;
@com.aliyun.core.annotation.NameInMap("latestOfflineDictConfigVersion")
private String latestOfflineDictConfigVersion;
@com.aliyun.core.annotation.NameInMap("latestOnlineConfigVersion")
private String latestOnlineConfigVersion;
@com.aliyun.core.annotation.NameInMap("latestOnlineQueryConfigVersion")
private String latestOnlineQueryConfigVersion;
@com.aliyun.core.annotation.NameInMap("name")
private String name;
@com.aliyun.core.annotation.NameInMap("queryNode")
private QueryNode queryNode;
@com.aliyun.core.annotation.NameInMap("status")
private String status;
private Result(Builder builder) {
this.config = builder.config;
this.configUpdateTime = builder.configUpdateTime;
this.createTime = builder.createTime;
this.currentAdvanceConfigVersion = builder.currentAdvanceConfigVersion;
this.currentOfflineDictConfigVersion = builder.currentOfflineDictConfigVersion;
this.currentOnlineConfigVersion = builder.currentOnlineConfigVersion;
this.currentOnlineQueryConfigVersion = builder.currentOnlineQueryConfigVersion;
this.dataNode = builder.dataNode;
this.description = builder.description;
this.latestAdvanceConfigVersion = builder.latestAdvanceConfigVersion;
this.latestOfflineDictConfigVersion = builder.latestOfflineDictConfigVersion;
this.latestOnlineConfigVersion = builder.latestOnlineConfigVersion;
this.latestOnlineQueryConfigVersion = builder.latestOnlineQueryConfigVersion;
this.name = builder.name;
this.queryNode = builder.queryNode;
this.status = builder.status;
}
public static Builder builder() {
return new Builder();
}
public static Result create() {
return builder().build();
}
/**
* @return config
*/
public java.util.Map<String, java.util.Map<String, ?>> getConfig() {
return this.config;
}
/**
* @return configUpdateTime
*/
public String getConfigUpdateTime() {
return this.configUpdateTime;
}
/**
* @return createTime
*/
public String getCreateTime() {
return this.createTime;
}
/**
* @return currentAdvanceConfigVersion
*/
public String getCurrentAdvanceConfigVersion() {
return this.currentAdvanceConfigVersion;
}
/**
* @return currentOfflineDictConfigVersion
*/
public String getCurrentOfflineDictConfigVersion() {
return this.currentOfflineDictConfigVersion;
}
/**
* @return currentOnlineConfigVersion
*/
public String getCurrentOnlineConfigVersion() {
return this.currentOnlineConfigVersion;
}
/**
* @return currentOnlineQueryConfigVersion
*/
public String getCurrentOnlineQueryConfigVersion() {
return this.currentOnlineQueryConfigVersion;
}
/**
* @return dataNode
*/
public DataNode getDataNode() {
return this.dataNode;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return latestAdvanceConfigVersion
*/
public String getLatestAdvanceConfigVersion() {
return this.latestAdvanceConfigVersion;
}
/**
* @return latestOfflineDictConfigVersion
*/
public String getLatestOfflineDictConfigVersion() {
return this.latestOfflineDictConfigVersion;
}
/**
* @return latestOnlineConfigVersion
*/
public String getLatestOnlineConfigVersion() {
return this.latestOnlineConfigVersion;
}
/**
* @return latestOnlineQueryConfigVersion
*/
public String getLatestOnlineQueryConfigVersion() {
return this.latestOnlineQueryConfigVersion;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return queryNode
*/
public QueryNode getQueryNode() {
return this.queryNode;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
public static final class Builder {
private java.util.Map<String, java.util.Map<String, ?>> config;
private String configUpdateTime;
private String createTime;
private String currentAdvanceConfigVersion;
private String currentOfflineDictConfigVersion;
private String currentOnlineConfigVersion;
private String currentOnlineQueryConfigVersion;
private DataNode dataNode;
private String description;
private String latestAdvanceConfigVersion;
private String latestOfflineDictConfigVersion;
private String latestOnlineConfigVersion;
private String latestOnlineQueryConfigVersion;
private String name;
private QueryNode queryNode;
private String status;
private Builder() {
}
private Builder(Result model) {
this.config = model.config;
this.configUpdateTime = model.configUpdateTime;
this.createTime = model.createTime;
this.currentAdvanceConfigVersion = model.currentAdvanceConfigVersion;
this.currentOfflineDictConfigVersion = model.currentOfflineDictConfigVersion;
this.currentOnlineConfigVersion = model.currentOnlineConfigVersion;
this.currentOnlineQueryConfigVersion = model.currentOnlineQueryConfigVersion;
this.dataNode = model.dataNode;
this.description = model.description;
this.latestAdvanceConfigVersion = model.latestAdvanceConfigVersion;
this.latestOfflineDictConfigVersion = model.latestOfflineDictConfigVersion;
this.latestOnlineConfigVersion = model.latestOnlineConfigVersion;
this.latestOnlineQueryConfigVersion = model.latestOnlineQueryConfigVersion;
this.name = model.name;
this.queryNode = model.queryNode;
this.status = model.status;
}
/**
* <p>The configuration information.</p>
*/
public Builder config(java.util.Map<String, java.util.Map<String, ?>> config) {
this.config = config;
return this;
}
/**
* <p>The time when the configuration was updated.</p>
*
* <strong>example:</strong>
* <p>" "</p>
*/
public Builder configUpdateTime(String configUpdateTime) {
this.configUpdateTime = configUpdateTime;
return this;
}
/**
* <p>The time when the cluster was created.</p>
*
* <strong>example:</strong>
* <p>2024-05-21 16:05:26</p>
*/
public Builder createTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* <p>The effective advanced configuration version.</p>
*
* <strong>example:</strong>
* <p>" "</p>
*/
public Builder currentAdvanceConfigVersion(String currentAdvanceConfigVersion) {
this.currentAdvanceConfigVersion = currentAdvanceConfigVersion;
return this;
}
/**
* <p>The effective dictionary configuration version.</p>
*
* <strong>example:</strong>
* <p>ha-cn-pl32rf0****_offline_adv_v1</p>
*/
public Builder currentOfflineDictConfigVersion(String currentOfflineDictConfigVersion) {
this.currentOfflineDictConfigVersion = currentOfflineDictConfigVersion;
return this;
}
/**
* <p>The effective online configuration version.</p>
*
* <strong>example:</strong>
* <p>" "</p>
*/
public Builder currentOnlineConfigVersion(String currentOnlineConfigVersion) {
this.currentOnlineConfigVersion = currentOnlineConfigVersion;
return this;
}
/**
* <p>The effective query configuration version.</p>
*
* <strong>example:</strong>
* <p>ha-cn-pl32rf0****_offline_adv_v1</p>
*/
public Builder currentOnlineQueryConfigVersion(String currentOnlineQueryConfigVersion) {
this.currentOnlineQueryConfigVersion = currentOnlineQueryConfigVersion;
return this;
}
/**
* <p>The information about Searcher workers.</p>
*/
public Builder dataNode(DataNode dataNode) {
this.dataNode = dataNode;
return this;
}
/**
* <p>The description of the cluster.</p>
*
* <strong>example:</strong>
* <p>fzz_test</p>
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* <p>The latest advanced configuration version.</p>
*
* <strong>example:</strong>
* <p>" "</p>
*/
public Builder latestAdvanceConfigVersion(String latestAdvanceConfigVersion) {
this.latestAdvanceConfigVersion = latestAdvanceConfigVersion;
return this;
}
/**
* <p>The latest dictionary configuration version.</p>
*
* <strong>example:</strong>
* <p>ha-cn-pl32rf0****_offline_adv_v1</p>
*/
public Builder latestOfflineDictConfigVersion(String latestOfflineDictConfigVersion) {
this.latestOfflineDictConfigVersion = latestOfflineDictConfigVersion;
return this;
}
/**
* <p>The latest online configuration version.</p>
*
* <strong>example:</strong>
* <p>" "</p>
*/
public Builder latestOnlineConfigVersion(String latestOnlineConfigVersion) {
this.latestOnlineConfigVersion = latestOnlineConfigVersion;
return this;
}
/**
* <p>The latest query configuration version.</p>
*
* <strong>example:</strong>
* <p>ha-cn-pl32rf0****_offline_adv_v1</p>
*/
public Builder latestOnlineQueryConfigVersion(String latestOnlineQueryConfigVersion) {
this.latestOnlineQueryConfigVersion = latestOnlineQueryConfigVersion;
return this;
}
/**
* <p>The cluster name.</p>
*
* <strong>example:</strong>
* <p>ha-cn-7pp2pcna701_qrs</p>
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* <p>The information about Query Result Searcher (QRS) workers.</p>
*/
public Builder queryNode(QueryNode queryNode) {
this.queryNode = queryNode;
return this;
}
/**
* <p>The cluster status. Valid values: running: The cluster is running. starting: The cluster is being started. stopping: The cluster is being stopped. stopped: The cluster is stopped.</p>
*
* <strong>example:</strong>
* <p>"starting"</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
public Result build() {
return new Result(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListDataSourceSchemasRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListDataSourceSchemasRequest} extends {@link RequestModel}
*
* <p>ListDataSourceSchemasRequest</p>
*/
public class ListDataSourceSchemasRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("instanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String instanceId;
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("dataSourceName")
@com.aliyun.core.annotation.Validation(required = true)
private String dataSourceName;
private ListDataSourceSchemasRequest(Builder builder) {
super(builder);
this.instanceId = builder.instanceId;
this.dataSourceName = builder.dataSourceName;
}
public static Builder builder() {
return new Builder();
}
public static ListDataSourceSchemasRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
/**
* @return dataSourceName
*/
public String getDataSourceName() {
return this.dataSourceName;
}
public static final class Builder extends Request.Builder<ListDataSourceSchemasRequest, Builder> {
private String instanceId;
private String dataSourceName;
private Builder() {
super();
}
private Builder(ListDataSourceSchemasRequest request) {
super(request);
this.instanceId = request.instanceId;
this.dataSourceName = request.dataSourceName;
}
/**
* <p>The instance ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ha-cn-zvp2s4l8f02</p>
*/
public Builder instanceId(String instanceId) {
this.putPathParameter("instanceId", instanceId);
this.instanceId = instanceId;
return this;
}
/**
* <p>The name of the data source.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ha-cn-2r42ostoc01_ecom_table_test</p>
*/
public Builder dataSourceName(String dataSourceName) {
this.putPathParameter("dataSourceName", dataSourceName);
this.dataSourceName = dataSourceName;
return this;
}
@Override
public ListDataSourceSchemasRequest build() {
return new ListDataSourceSchemasRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListDataSourceSchemasResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListDataSourceSchemasResponse} extends {@link TeaModel}
*
* <p>ListDataSourceSchemasResponse</p>
*/
public class ListDataSourceSchemasResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListDataSourceSchemasResponseBody body;
private ListDataSourceSchemasResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListDataSourceSchemasResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListDataSourceSchemasResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListDataSourceSchemasResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListDataSourceSchemasResponseBody body);
@Override
ListDataSourceSchemasResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListDataSourceSchemasResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListDataSourceSchemasResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListDataSourceSchemasResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListDataSourceSchemasResponseBody body) {
this.body = body;
return this;
}
@Override
public ListDataSourceSchemasResponse build() {
return new ListDataSourceSchemasResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListDataSourceSchemasResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListDataSourceSchemasResponseBody} extends {@link TeaModel}
*
* <p>ListDataSourceSchemasResponseBody</p>
*/
public class ListDataSourceSchemasResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("requestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("result")
private java.util.List<Result> result;
private ListDataSourceSchemasResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.result = builder.result;
}
public static Builder builder() {
return new Builder();
}
public static ListDataSourceSchemasResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return result
*/
public java.util.List<Result> getResult() {
return this.result;
}
public static final class Builder {
private String requestId;
private java.util.List<Result> result;
private Builder() {
}
private Builder(ListDataSourceSchemasResponseBody model) {
this.requestId = model.requestId;
this.result = model.result;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>022F36C7-9FB4-5D67-BEBC-3D14B0984463</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The results returned.</p>
*/
public Builder result(java.util.List<Result> result) {
this.result = result;
return this;
}
public ListDataSourceSchemasResponseBody build() {
return new ListDataSourceSchemasResponseBody(this);
}
}
/**
*
* {@link ListDataSourceSchemasResponseBody} extends {@link TeaModel}
*
* <p>ListDataSourceSchemasResponseBody</p>
*/
public static class PrimaryKey extends TeaModel {
@com.aliyun.core.annotation.NameInMap("hasPrimaryKeyAttribute")
private Boolean hasPrimaryKeyAttribute;
@com.aliyun.core.annotation.NameInMap("isPrimaryKey")
private Boolean isPrimaryKey;
@com.aliyun.core.annotation.NameInMap("isPrimaryKeySorted")
private Boolean isPrimaryKeySorted;
private PrimaryKey(Builder builder) {
this.hasPrimaryKeyAttribute = builder.hasPrimaryKeyAttribute;
this.isPrimaryKey = builder.isPrimaryKey;
this.isPrimaryKeySorted = builder.isPrimaryKeySorted;
}
public static Builder builder() {
return new Builder();
}
public static PrimaryKey create() {
return builder().build();
}
/**
* @return hasPrimaryKeyAttribute
*/
public Boolean getHasPrimaryKeyAttribute() {
return this.hasPrimaryKeyAttribute;
}
/**
* @return isPrimaryKey
*/
public Boolean getIsPrimaryKey() {
return this.isPrimaryKey;
}
/**
* @return isPrimaryKeySorted
*/
public Boolean getIsPrimaryKeySorted() {
return this.isPrimaryKeySorted;
}
public static final class Builder {
private Boolean hasPrimaryKeyAttribute;
private Boolean isPrimaryKey;
private Boolean isPrimaryKeySorted;
private Builder() {
}
private Builder(PrimaryKey model) {
this.hasPrimaryKeyAttribute = model.hasPrimaryKeyAttribute;
this.isPrimaryKey = model.isPrimaryKey;
this.isPrimaryKeySorted = model.isPrimaryKeySorted;
}
/**
* <p>Indicates whether the field has the primary key attribute. Valid values: <strong>true</strong> and <strong>false</strong>.</p>
*
* <strong>example:</strong>
* <p>false</p>
*/
public Builder hasPrimaryKeyAttribute(Boolean hasPrimaryKeyAttribute) {
this.hasPrimaryKeyAttribute = hasPrimaryKeyAttribute;
return this;
}
/**
* <p>Indicates whether the field is the primary key. Valid values: <strong>true</strong> and <strong>false</strong>.</p>
*
* <strong>example:</strong>
* <p>false</p>
*/
public Builder isPrimaryKey(Boolean isPrimaryKey) {
this.isPrimaryKey = isPrimaryKey;
return this;
}
/**
* <p>Indicates whether the field can be sorted. Valid values: <strong>true</strong> and <strong>false</strong>.</p>
*
* <strong>example:</strong>
* <p>false</p>
*/
public Builder isPrimaryKeySorted(Boolean isPrimaryKeySorted) {
this.isPrimaryKeySorted = isPrimaryKeySorted;
return this;
}
public PrimaryKey build() {
return new PrimaryKey(this);
}
}
}
/**
*
* {@link ListDataSourceSchemasResponseBody} extends {@link TeaModel}
*
* <p>ListDataSourceSchemasResponseBody</p>
*/
public static class Result extends TeaModel {
@com.aliyun.core.annotation.NameInMap("addIndex")
private Boolean addIndex;
@com.aliyun.core.annotation.NameInMap("attribute")
private Boolean attribute;
@com.aliyun.core.annotation.NameInMap("custom")
private Boolean custom;
@com.aliyun.core.annotation.NameInMap("name")
private String name;
@com.aliyun.core.annotation.NameInMap("primaryKey")
private PrimaryKey primaryKey;
@com.aliyun.core.annotation.NameInMap("summary")
private Boolean summary;
@com.aliyun.core.annotation.NameInMap("type")
private String type;
private Result(Builder builder) {
this.addIndex = builder.addIndex;
this.attribute = builder.attribute;
this.custom = builder.custom;
this.name = builder.name;
this.primaryKey = builder.primaryKey;
this.summary = builder.summary;
this.type = builder.type;
}
public static Builder builder() {
return new Builder();
}
public static Result create() {
return builder().build();
}
/**
* @return addIndex
*/
public Boolean getAddIndex() {
return this.addIndex;
}
/**
* @return attribute
*/
public Boolean getAttribute() {
return this.attribute;
}
/**
* @return custom
*/
public Boolean getCustom() {
return this.custom;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return primaryKey
*/
public PrimaryKey getPrimaryKey() {
return this.primaryKey;
}
/**
* @return summary
*/
public Boolean getSummary() {
return this.summary;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
public static final class Builder {
private Boolean addIndex;
private Boolean attribute;
private Boolean custom;
private String name;
private PrimaryKey primaryKey;
private Boolean summary;
private String type;
private Builder() {
}
private Builder(Result model) {
this.addIndex = model.addIndex;
this.attribute = model.attribute;
this.custom = model.custom;
this.name = model.name;
this.primaryKey = model.primaryKey;
this.summary = model.summary;
this.type = model.type;
}
/**
* <p>Indicates whether the field has the index attribute. Valid values: <strong>true</strong> and <strong>false</strong>.</p>
*
* <strong>example:</strong>
* <p>false</p>
*/
public Builder addIndex(Boolean addIndex) {
this.addIndex = addIndex;
return this;
}
/**
* <p>Indicates whether the field is an attribute field. Valid values: <strong>true</strong> and <strong>false</strong>.</p>
*
* <strong>example:</strong>
* <p>false</p>
*/
public Builder attribute(Boolean attribute) {
this.attribute = attribute;
return this;
}
/**
* <p>Indicates whether the field is a custom field. Valid values: <strong>true</strong> and <strong>false</strong>.</p>
*
* <strong>example:</strong>
* <p>false</p>
*/
public Builder custom(Boolean custom) {
this.custom = custom;
return this;
}
/**
* <p>The field name.</p>
*
* <strong>example:</strong>
* <p>test</p>
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* <p>The primary key field.</p>
*/
public Builder primaryKey(PrimaryKey primaryKey) {
this.primaryKey = primaryKey;
return this;
}
/**
* <p>Indicates whether the field can be displayed. Valid values: <strong>true</strong> and <strong>false</strong>.</p>
*
* <strong>example:</strong>
* <p>false</p>
*/
public Builder summary(Boolean summary) {
this.summary = summary;
return this;
}
/**
* <p>The field type.</p>
*
* <strong>example:</strong>
* <p>STRING</p>
*/
public Builder type(String type) {
this.type = type;
return this;
}
public Result build() {
return new Result(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListDataSourceTasksRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListDataSourceTasksRequest} extends {@link RequestModel}
*
* <p>ListDataSourceTasksRequest</p>
*/
public class ListDataSourceTasksRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("instanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String instanceId;
private ListDataSourceTasksRequest(Builder builder) {
super(builder);
this.instanceId = builder.instanceId;
}
public static Builder builder() {
return new Builder();
}
public static ListDataSourceTasksRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
public static final class Builder extends Request.Builder<ListDataSourceTasksRequest, Builder> {
private String instanceId;
private Builder() {
super();
}
private Builder(ListDataSourceTasksRequest request) {
super(request);
this.instanceId = request.instanceId;
}
/**
* <p>The instance ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ha-cn-7e22rof5304</p>
*/
public Builder instanceId(String instanceId) {
this.putPathParameter("instanceId", instanceId);
this.instanceId = instanceId;
return this;
}
@Override
public ListDataSourceTasksRequest build() {
return new ListDataSourceTasksRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListDataSourceTasksResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListDataSourceTasksResponse} extends {@link TeaModel}
*
* <p>ListDataSourceTasksResponse</p>
*/
public class ListDataSourceTasksResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListDataSourceTasksResponseBody body;
private ListDataSourceTasksResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListDataSourceTasksResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListDataSourceTasksResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListDataSourceTasksResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListDataSourceTasksResponseBody body);
@Override
ListDataSourceTasksResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListDataSourceTasksResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListDataSourceTasksResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListDataSourceTasksResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListDataSourceTasksResponseBody body) {
this.body = body;
return this;
}
@Override
public ListDataSourceTasksResponse build() {
return new ListDataSourceTasksResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListDataSourceTasksResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListDataSourceTasksResponseBody} extends {@link TeaModel}
*
* <p>ListDataSourceTasksResponseBody</p>
*/
public class ListDataSourceTasksResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("requestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("result")
private java.util.List<Result> result;
private ListDataSourceTasksResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.result = builder.result;
}
public static Builder builder() {
return new Builder();
}
public static ListDataSourceTasksResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return result
*/
public java.util.List<Result> getResult() {
return this.result;
}
public static final class Builder {
private String requestId;
private java.util.List<Result> result;
private Builder() {
}
private Builder(ListDataSourceTasksResponseBody model) {
this.requestId = model.requestId;
this.result = model.result;
}
/**
* <p>id of request</p>
*
* <strong>example:</strong>
* <p>CC5EC8FA-5C0D-56AF-BEF4-6FCCEABD0511</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The index information.</p>
*/
public Builder result(java.util.List<Result> result) {
this.result = result;
return this;
}
public ListDataSourceTasksResponseBody build() {
return new ListDataSourceTasksResponseBody(this);
}
}
/**
*
* {@link ListDataSourceTasksResponseBody} extends {@link TeaModel}
*
* <p>ListDataSourceTasksResponseBody</p>
*/
public static class Tags extends TeaModel {
@com.aliyun.core.annotation.NameInMap("msg")
private String msg;
@com.aliyun.core.annotation.NameInMap("tagLevel")
private String tagLevel;
private Tags(Builder builder) {
this.msg = builder.msg;
this.tagLevel = builder.tagLevel;
}
public static Builder builder() {
return new Builder();
}
public static Tags create() {
return builder().build();
}
/**
* @return msg
*/
public String getMsg() {
return this.msg;
}
/**
* @return tagLevel
*/
public String getTagLevel() {
return this.tagLevel;
}
public static final class Builder {
private String msg;
private String tagLevel;
private Builder() {
}
private Builder(Tags model) {
this.msg = model.msg;
this.tagLevel = model.tagLevel;
}
/**
* <p>The tag content.</p>
*
* <strong>example:</strong>
* <p>succeed in handling request</p>
*/
public Builder msg(String msg) {
this.msg = msg;
return this;
}
/**
* <p>The tag level.</p>
*
* <strong>example:</strong>
* <p>""</p>
*/
public Builder tagLevel(String tagLevel) {
this.tagLevel = tagLevel;
return this;
}
public Tags build() {
return new Tags(this);
}
}
}
/**
*
* {@link ListDataSourceTasksResponseBody} extends {@link TeaModel}
*
* <p>ListDataSourceTasksResponseBody</p>
*/
public static class TaskNodes extends TeaModel {
@com.aliyun.core.annotation.NameInMap("finishDate")
private String finishDate;
@com.aliyun.core.annotation.NameInMap("index")
private Long index;
@com.aliyun.core.annotation.NameInMap("name")
private String name;
@com.aliyun.core.annotation.NameInMap("status")
private String status;
private TaskNodes(Builder builder) {
this.finishDate = builder.finishDate;
this.index = builder.index;
this.name = builder.name;
this.status = builder.status;
}
public static Builder builder() {
return new Builder();
}
public static TaskNodes create() {
return builder().build();
}
/**
* @return finishDate
*/
public String getFinishDate() {
return this.finishDate;
}
/**
* @return index
*/
public Long getIndex() {
return this.index;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
public static final class Builder {
private String finishDate;
private Long index;
private String name;
private String status;
private Builder() {
}
private Builder(TaskNodes model) {
this.finishDate = model.finishDate;
this.index = model.index;
this.name = model.name;
this.status = model.status;
}
/**
* <p>The time when the task was complete.</p>
*
* <strong>example:</strong>
* <p>""</p>
*/
public Builder finishDate(String finishDate) {
this.finishDate = finishDate;
return this;
}
/**
* <p>The ordinal number of the task.</p>
*
* <strong>example:</strong>
* <p>100</p>
*/
public Builder index(Long index) {
this.index = index;
return this;
}
/**
* <p>The task name.</p>
*
* <strong>example:</strong>
* <p>ha-cn-7pp2ngv4s02_qrs</p>
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* <p>The task status.</p>
*
* <strong>example:</strong>
* <p>onlyPublished</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
public TaskNodes build() {
return new TaskNodes(this);
}
}
}
/**
*
* {@link ListDataSourceTasksResponseBody} extends {@link TeaModel}
*
* <p>ListDataSourceTasksResponseBody</p>
*/
public static class Result extends TeaModel {
@com.aliyun.core.annotation.NameInMap("extraAttribute")
private String extraAttribute;
@com.aliyun.core.annotation.NameInMap("field3")
private String field3;
@com.aliyun.core.annotation.NameInMap("fsmId")
private String fsmId;
@com.aliyun.core.annotation.NameInMap("groupType")
private String groupType;
@com.aliyun.core.annotation.NameInMap("name")
private String name;
@com.aliyun.core.annotation.NameInMap("status")
private String status;
@com.aliyun.core.annotation.NameInMap("tags")
private java.util.List<Tags> tags;
@com.aliyun.core.annotation.NameInMap("taskNodes")
private java.util.List<TaskNodes> taskNodes;
@com.aliyun.core.annotation.NameInMap("time")
private String time;
@com.aliyun.core.annotation.NameInMap("type")
private String type;
@com.aliyun.core.annotation.NameInMap("user")
private String user;
private Result(Builder builder) {
this.extraAttribute = builder.extraAttribute;
this.field3 = builder.field3;
this.fsmId = builder.fsmId;
this.groupType = builder.groupType;
this.name = builder.name;
this.status = builder.status;
this.tags = builder.tags;
this.taskNodes = builder.taskNodes;
this.time = builder.time;
this.type = builder.type;
this.user = builder.user;
}
public static Builder builder() {
return new Builder();
}
public static Result create() {
return builder().build();
}
/**
* @return extraAttribute
*/
public String getExtraAttribute() {
return this.extraAttribute;
}
/**
* @return field3
*/
public String getField3() {
return this.field3;
}
/**
* @return fsmId
*/
public String getFsmId() {
return this.fsmId;
}
/**
* @return groupType
*/
public String getGroupType() {
return this.groupType;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return tags
*/
public java.util.List<Tags> getTags() {
return this.tags;
}
/**
* @return taskNodes
*/
public java.util.List<TaskNodes> getTaskNodes() {
return this.taskNodes;
}
/**
* @return time
*/
public String getTime() {
return this.time;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
/**
* @return user
*/
public String getUser() {
return this.user;
}
public static final class Builder {
private String extraAttribute;
private String field3;
private String fsmId;
private String groupType;
private String name;
private String status;
private java.util.List<Tags> tags;
private java.util.List<TaskNodes> taskNodes;
private String time;
private String type;
private String user;
private Builder() {
}
private Builder(Result model) {
this.extraAttribute = model.extraAttribute;
this.field3 = model.field3;
this.fsmId = model.fsmId;
this.groupType = model.groupType;
this.name = model.name;
this.status = model.status;
this.tags = model.tags;
this.taskNodes = model.taskNodes;
this.time = model.time;
this.type = model.type;
this.user = model.user;
}
/**
* <p>The additional attributes of the card.</p>
*
* <strong>example:</strong>
* <p>""</p>
*/
public Builder extraAttribute(String extraAttribute) {
this.extraAttribute = extraAttribute;
return this;
}
/**
* <p>The field3 field that was passed when the FSM was created.</p>
*
* <strong>example:</strong>
* <p>""</p>
*/
public Builder field3(String field3) {
this.field3 = field3;
return this;
}
/**
* <p>The ID of the finite state machine (FSM).</p>
*
* <strong>example:</strong>
* <p>tisplus_opensearch@datasource_flow_fsm@1062017779051424-ha-cn-2r42ostoc01_ecom_table@vpc_hz_domain_1@null@MANUAL-ha-cn-2r42ostoc01_ecom_table@1655974525756@006754</p>
*/
public Builder fsmId(String fsmId) {
this.fsmId = fsmId;
return this;
}
/**
* <p>The change group type.</p>
*
* <strong>example:</strong>
* <p>" "</p>
*/
public Builder groupType(String groupType) {
this.groupType = groupType;
return this;
}
/**
* <p>The card name.</p>
*
* <strong>example:</strong>
* <p>general</p>
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* <p>The FSM status.</p>
*
* <strong>example:</strong>
* <p>2</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* <p>The tags of the progress bar.</p>
*/
public Builder tags(java.util.List<Tags> tags) {
this.tags = tags;
return this;
}
/**
* <p>The task information.</p>
*/
public Builder taskNodes(java.util.List<TaskNodes> taskNodes) {
this.taskNodes = taskNodes;
return this;
}
/**
* <p>The timestamp of the card.</p>
*
* <strong>example:</strong>
* <p>1646279473</p>
*/
public Builder time(String time) {
this.time = time;
return this;
}
/**
* <p>The card type.</p>
*
* <strong>example:</strong>
* <p>search</p>
*/
public Builder type(String type) {
this.type = type;
return this;
}
/**
* <p>The user who triggered the generation of the FSM process.</p>
*
* <strong>example:</strong>
* <p>""</p>
*/
public Builder user(String user) {
this.user = user;
return this;
}
public Result build() {
return new Result(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListDataSourcesRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListDataSourcesRequest} extends {@link RequestModel}
*
* <p>ListDataSourcesRequest</p>
*/
public class ListDataSourcesRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("instanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String instanceId;
private ListDataSourcesRequest(Builder builder) {
super(builder);
this.instanceId = builder.instanceId;
}
public static Builder builder() {
return new Builder();
}
public static ListDataSourcesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
public static final class Builder extends Request.Builder<ListDataSourcesRequest, Builder> {
private String instanceId;
private Builder() {
super();
}
private Builder(ListDataSourcesRequest request) {
super(request);
this.instanceId = request.instanceId;
}
/**
* <p>The instance ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ha-cn-2r42ostoc01</p>
*/
public Builder instanceId(String instanceId) {
this.putPathParameter("instanceId", instanceId);
this.instanceId = instanceId;
return this;
}
@Override
public ListDataSourcesRequest build() {
return new ListDataSourcesRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListDataSourcesResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListDataSourcesResponse} extends {@link TeaModel}
*
* <p>ListDataSourcesResponse</p>
*/
public class ListDataSourcesResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListDataSourcesResponseBody body;
private ListDataSourcesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListDataSourcesResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListDataSourcesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListDataSourcesResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListDataSourcesResponseBody body);
@Override
ListDataSourcesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListDataSourcesResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListDataSourcesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListDataSourcesResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListDataSourcesResponseBody body) {
this.body = body;
return this;
}
@Override
public ListDataSourcesResponse build() {
return new ListDataSourcesResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListDataSourcesResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListDataSourcesResponseBody} extends {@link TeaModel}
*
* <p>ListDataSourcesResponseBody</p>
*/
public class ListDataSourcesResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("requestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("result")
private java.util.List<Result> result;
private ListDataSourcesResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.result = builder.result;
}
public static Builder builder() {
return new Builder();
}
public static ListDataSourcesResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return result
*/
public java.util.List<Result> getResult() {
return this.result;
}
public static final class Builder {
private String requestId;
private java.util.List<Result> result;
private Builder() {
}
private Builder(ListDataSourcesResponseBody model) {
this.requestId = model.requestId;
this.result = model.result;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>93A9E542-8CF8-5BA6-99AB-94C0FE520429</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The results returned.</p>
*/
public Builder result(java.util.List<Result> result) {
this.result = result;
return this;
}
public ListDataSourcesResponseBody build() {
return new ListDataSourcesResponseBody(this);
}
}
/**
*
* {@link ListDataSourcesResponseBody} extends {@link TeaModel}
*
* <p>ListDataSourcesResponseBody</p>
*/
public static class Result extends TeaModel {
@com.aliyun.core.annotation.NameInMap("domain")
private String domain;
@com.aliyun.core.annotation.NameInMap("indexes")
private java.util.List<String> indexes;
@com.aliyun.core.annotation.NameInMap("lastFulTime")
private Long lastFulTime;
@com.aliyun.core.annotation.NameInMap("name")
private String name;
@com.aliyun.core.annotation.NameInMap("status")
private String status;
@com.aliyun.core.annotation.NameInMap("type")
private String type;
private Result(Builder builder) {
this.domain = builder.domain;
this.indexes = builder.indexes;
this.lastFulTime = builder.lastFulTime;
this.name = builder.name;
this.status = builder.status;
this.type = builder.type;
}
public static Builder builder() {
return new Builder();
}
public static Result create() {
return builder().build();
}
/**
* @return domain
*/
public String getDomain() {
return this.domain;
}
/**
* @return indexes
*/
public java.util.List<String> getIndexes() {
return this.indexes;
}
/**
* @return lastFulTime
*/
public Long getLastFulTime() {
return this.lastFulTime;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
public static final class Builder {
private String domain;
private java.util.List<String> indexes;
private Long lastFulTime;
private String name;
private String status;
private String type;
private Builder() {
}
private Builder(Result model) {
this.domain = model.domain;
this.indexes = model.indexes;
this.lastFulTime = model.lastFulTime;
this.name = model.name;
this.status = model.status;
this.type = model.type;
}
/**
* <p>The data center in which the data source is deployed.</p>
*
* <strong>example:</strong>
* <p>test</p>
*/
public Builder domain(String domain) {
this.domain = domain;
return this;
}
/**
* <p>The indexes.</p>
*/
public Builder indexes(java.util.List<String> indexes) {
this.indexes = indexes;
return this;
}
/**
* <p>The time when the full data of the data source was last queried.</p>
*
* <strong>example:</strong>
* <p>1718787785</p>
*/
public Builder lastFulTime(Long lastFulTime) {
this.lastFulTime = lastFulTime;
return this;
}
/**
* <p>The name of the data source.</p>
*
* <strong>example:</strong>
* <p>data_source_name</p>
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* <p>The status of the data source. Valid values: new: The data source is being created. publish: The data source is in the normal state. trash: The data source is being deleted.</p>
*
* <strong>example:</strong>
* <p>new</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* <p>The type of the data source.</p>
*
* <strong>example:</strong>
* <p>odps</p>
*/
public Builder type(String type) {
this.type = type;
return this;
}
public Result build() {
return new Result(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListDatabasesRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListDatabasesRequest} extends {@link RequestModel}
*
* <p>ListDatabasesRequest</p>
*/
public class ListDatabasesRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("instanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String instanceId;
private ListDatabasesRequest(Builder builder) {
super(builder);
this.instanceId = builder.instanceId;
}
public static Builder builder() {
return new Builder();
}
public static ListDatabasesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
public static final class Builder extends Request.Builder<ListDatabasesRequest, Builder> {
private String instanceId;
private Builder() {
super();
}
private Builder(ListDatabasesRequest request) {
super(request);
this.instanceId = request.instanceId;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ha-cn-pl32rf0****</p>
*/
public Builder instanceId(String instanceId) {
this.putPathParameter("instanceId", instanceId);
this.instanceId = instanceId;
return this;
}
@Override
public ListDatabasesRequest build() {
return new ListDatabasesRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListDatabasesResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListDatabasesResponse} extends {@link TeaModel}
*
* <p>ListDatabasesResponse</p>
*/
public class ListDatabasesResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListDatabasesResponseBody body;
private ListDatabasesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListDatabasesResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListDatabasesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListDatabasesResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListDatabasesResponseBody body);
@Override
ListDatabasesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListDatabasesResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListDatabasesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListDatabasesResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListDatabasesResponseBody body) {
this.body = body;
return this;
}
@Override
public ListDatabasesResponse build() {
return new ListDatabasesResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListDatabasesResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListDatabasesResponseBody} extends {@link TeaModel}
*
* <p>ListDatabasesResponseBody</p>
*/
public class ListDatabasesResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("requestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("result")
private Result result;
private ListDatabasesResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.result = builder.result;
}
public static Builder builder() {
return new Builder();
}
public static ListDatabasesResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return result
*/
public Result getResult() {
return this.result;
}
public static final class Builder {
private String requestId;
private Result result;
private Builder() {
}
private Builder(ListDatabasesResponseBody model) {
this.requestId = model.requestId;
this.result = model.result;
}
/**
* <p>id of request</p>
*
* <strong>example:</strong>
* <p>E45380E8-994A-5402-9806-F114B3295FCF</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>NodeTreeVO</p>
*/
public Builder result(Result result) {
this.result = result;
return this;
}
public ListDatabasesResponseBody build() {
return new ListDatabasesResponseBody(this);
}
}
/**
*
* {@link ListDatabasesResponseBody} extends {@link TeaModel}
*
* <p>ListDatabasesResponseBody</p>
*/
public static class SqlInstances extends TeaModel {
@com.aliyun.core.annotation.NameInMap("children")
private java.util.List<?> children;
@com.aliyun.core.annotation.NameInMap("id")
private Long id;
@com.aliyun.core.annotation.NameInMap("instanceId")
private Long instanceId;
@com.aliyun.core.annotation.NameInMap("isDir")
private Integer isDir;
@com.aliyun.core.annotation.NameInMap("name")
private String name;
@com.aliyun.core.annotation.NameInMap("parent")
private Long parent;
@com.aliyun.core.annotation.NameInMap("templateId")
private Long templateId;
@com.aliyun.core.annotation.NameInMap("type")
private String type;
private SqlInstances(Builder builder) {
this.children = builder.children;
this.id = builder.id;
this.instanceId = builder.instanceId;
this.isDir = builder.isDir;
this.name = builder.name;
this.parent = builder.parent;
this.templateId = builder.templateId;
this.type = builder.type;
}
public static Builder builder() {
return new Builder();
}
public static SqlInstances create() {
return builder().build();
}
/**
* @return children
*/
public java.util.List<?> getChildren() {
return this.children;
}
/**
* @return id
*/
public Long getId() {
return this.id;
}
/**
* @return instanceId
*/
public Long getInstanceId() {
return this.instanceId;
}
/**
* @return isDir
*/
public Integer getIsDir() {
return this.isDir;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return parent
*/
public Long getParent() {
return this.parent;
}
/**
* @return templateId
*/
public Long getTemplateId() {
return this.templateId;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
public static final class Builder {
private java.util.List<?> children;
private Long id;
private Long instanceId;
private Integer isDir;
private String name;
private Long parent;
private Long templateId;
private String type;
private Builder() {
}
private Builder(SqlInstances model) {
this.children = model.children;
this.id = model.id;
this.instanceId = model.instanceId;
this.isDir = model.isDir;
this.name = model.name;
this.parent = model.parent;
this.templateId = model.templateId;
this.type = model.type;
}
/**
* children.
*/
public Builder children(java.util.List<?> children) {
this.children = children;
return this;
}
/**
* id.
*/
public Builder id(Long id) {
this.id = id;
return this;
}
/**
* instanceId.
*/
public Builder instanceId(Long instanceId) {
this.instanceId = instanceId;
return this;
}
/**
* isDir.
*/
public Builder isDir(Integer isDir) {
this.isDir = isDir;
return this;
}
/**
* name.
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* parent.
*/
public Builder parent(Long parent) {
this.parent = parent;
return this;
}
/**
* templateId.
*/
public Builder templateId(Long templateId) {
this.templateId = templateId;
return this;
}
/**
* <p>table, instance, template, function</p>
*
* <strong>example:</strong>
* <p>instance</p>
*/
public Builder type(String type) {
this.type = type;
return this;
}
public SqlInstances build() {
return new SqlInstances(this);
}
}
}
/**
*
* {@link ListDatabasesResponseBody} extends {@link TeaModel}
*
* <p>ListDatabasesResponseBody</p>
*/
public static class Tables extends TeaModel {
@com.aliyun.core.annotation.NameInMap("children")
private java.util.List<?> children;
@com.aliyun.core.annotation.NameInMap("id")
private Long id;
@com.aliyun.core.annotation.NameInMap("instanceId")
private Long instanceId;
@com.aliyun.core.annotation.NameInMap("isDir")
private Integer isDir;
@com.aliyun.core.annotation.NameInMap("name")
private String name;
@com.aliyun.core.annotation.NameInMap("parent")
private Long parent;
@com.aliyun.core.annotation.NameInMap("templateId")
private Long templateId;
@com.aliyun.core.annotation.NameInMap("type")
private String type;
private Tables(Builder builder) {
this.children = builder.children;
this.id = builder.id;
this.instanceId = builder.instanceId;
this.isDir = builder.isDir;
this.name = builder.name;
this.parent = builder.parent;
this.templateId = builder.templateId;
this.type = builder.type;
}
public static Builder builder() {
return new Builder();
}
public static Tables create() {
return builder().build();
}
/**
* @return children
*/
public java.util.List<?> getChildren() {
return this.children;
}
/**
* @return id
*/
public Long getId() {
return this.id;
}
/**
* @return instanceId
*/
public Long getInstanceId() {
return this.instanceId;
}
/**
* @return isDir
*/
public Integer getIsDir() {
return this.isDir;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return parent
*/
public Long getParent() {
return this.parent;
}
/**
* @return templateId
*/
public Long getTemplateId() {
return this.templateId;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
public static final class Builder {
private java.util.List<?> children;
private Long id;
private Long instanceId;
private Integer isDir;
private String name;
private Long parent;
private Long templateId;
private String type;
private Builder() {
}
private Builder(Tables model) {
this.children = model.children;
this.id = model.id;
this.instanceId = model.instanceId;
this.isDir = model.isDir;
this.name = model.name;
this.parent = model.parent;
this.templateId = model.templateId;
this.type = model.type;
}
/**
* children.
*/
public Builder children(java.util.List<?> children) {
this.children = children;
return this;
}
/**
* id.
*/
public Builder id(Long id) {
this.id = id;
return this;
}
/**
* instanceId.
*/
public Builder instanceId(Long instanceId) {
this.instanceId = instanceId;
return this;
}
/**
* isDir.
*/
public Builder isDir(Integer isDir) {
this.isDir = isDir;
return this;
}
/**
* name.
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* parent.
*/
public Builder parent(Long parent) {
this.parent = parent;
return this;
}
/**
* templateId.
*/
public Builder templateId(Long templateId) {
this.templateId = templateId;
return this;
}
/**
* <p>table, instance, template, function</p>
*
* <strong>example:</strong>
* <p>table</p>
*/
public Builder type(String type) {
this.type = type;
return this;
}
public Tables build() {
return new Tables(this);
}
}
}
/**
*
* {@link ListDatabasesResponseBody} extends {@link TeaModel}
*
* <p>ListDatabasesResponseBody</p>
*/
public static class Templates extends TeaModel {
@com.aliyun.core.annotation.NameInMap("children")
private java.util.List<?> children;
@com.aliyun.core.annotation.NameInMap("id")
private Long id;
@com.aliyun.core.annotation.NameInMap("instanceId")
private Long instanceId;
@com.aliyun.core.annotation.NameInMap("isDir")
private Integer isDir;
@com.aliyun.core.annotation.NameInMap("name")
private String name;
@com.aliyun.core.annotation.NameInMap("parent")
private Long parent;
@com.aliyun.core.annotation.NameInMap("templateId")
private Long templateId;
@com.aliyun.core.annotation.NameInMap("type")
private String type;
private Templates(Builder builder) {
this.children = builder.children;
this.id = builder.id;
this.instanceId = builder.instanceId;
this.isDir = builder.isDir;
this.name = builder.name;
this.parent = builder.parent;
this.templateId = builder.templateId;
this.type = builder.type;
}
public static Builder builder() {
return new Builder();
}
public static Templates create() {
return builder().build();
}
/**
* @return children
*/
public java.util.List<?> getChildren() {
return this.children;
}
/**
* @return id
*/
public Long getId() {
return this.id;
}
/**
* @return instanceId
*/
public Long getInstanceId() {
return this.instanceId;
}
/**
* @return isDir
*/
public Integer getIsDir() {
return this.isDir;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return parent
*/
public Long getParent() {
return this.parent;
}
/**
* @return templateId
*/
public Long getTemplateId() {
return this.templateId;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
public static final class Builder {
private java.util.List<?> children;
private Long id;
private Long instanceId;
private Integer isDir;
private String name;
private Long parent;
private Long templateId;
private String type;
private Builder() {
}
private Builder(Templates model) {
this.children = model.children;
this.id = model.id;
this.instanceId = model.instanceId;
this.isDir = model.isDir;
this.name = model.name;
this.parent = model.parent;
this.templateId = model.templateId;
this.type = model.type;
}
/**
* children.
*/
public Builder children(java.util.List<?> children) {
this.children = children;
return this;
}
/**
* id.
*/
public Builder id(Long id) {
this.id = id;
return this;
}
/**
* instanceId.
*/
public Builder instanceId(Long instanceId) {
this.instanceId = instanceId;
return this;
}
/**
* isDir.
*/
public Builder isDir(Integer isDir) {
this.isDir = isDir;
return this;
}
/**
* name.
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* parent.
*/
public Builder parent(Long parent) {
this.parent = parent;
return this;
}
/**
* templateId.
*/
public Builder templateId(Long templateId) {
this.templateId = templateId;
return this;
}
/**
* <p>table, instance, template, function</p>
*
* <strong>example:</strong>
* <p>template</p>
*/
public Builder type(String type) {
this.type = type;
return this;
}
public Templates build() {
return new Templates(this);
}
}
}
/**
*
* {@link ListDatabasesResponseBody} extends {@link TeaModel}
*
* <p>ListDatabasesResponseBody</p>
*/
public static class Databases extends TeaModel {
@com.aliyun.core.annotation.NameInMap("database")
private String database;
@com.aliyun.core.annotation.NameInMap("functions")
private java.util.Map<String, java.util.List<ResultDatabasesFunctionsValue>> functions;
@com.aliyun.core.annotation.NameInMap("sqlInstances")
private java.util.List<SqlInstances> sqlInstances;
@com.aliyun.core.annotation.NameInMap("tables")
private java.util.List<Tables> tables;
@com.aliyun.core.annotation.NameInMap("templates")
private java.util.List<Templates> templates;
private Databases(Builder builder) {
this.database = builder.database;
this.functions = builder.functions;
this.sqlInstances = builder.sqlInstances;
this.tables = builder.tables;
this.templates = builder.templates;
}
public static Builder builder() {
return new Builder();
}
public static Databases create() {
return builder().build();
}
/**
* @return database
*/
public String getDatabase() {
return this.database;
}
/**
* @return functions
*/
public java.util.Map<String, java.util.List<ResultDatabasesFunctionsValue>> getFunctions() {
return this.functions;
}
/**
* @return sqlInstances
*/
public java.util.List<SqlInstances> getSqlInstances() {
return this.sqlInstances;
}
/**
* @return tables
*/
public java.util.List<Tables> getTables() {
return this.tables;
}
/**
* @return templates
*/
public java.util.List<Templates> getTemplates() {
return this.templates;
}
public static final class Builder {
private String database;
private java.util.Map<String, java.util.List<ResultDatabasesFunctionsValue>> functions;
private java.util.List<SqlInstances> sqlInstances;
private java.util.List<Tables> tables;
private java.util.List<Templates> templates;
private Builder() {
}
private Builder(Databases model) {
this.database = model.database;
this.functions = model.functions;
this.sqlInstances = model.sqlInstances;
this.tables = model.tables;
this.templates = model.templates;
}
/**
* database.
*/
public Builder database(String database) {
this.database = database;
return this;
}
/**
* functions.
*/
public Builder functions(java.util.Map<String, java.util.List<ResultDatabasesFunctionsValue>> functions) {
this.functions = functions;
return this;
}
/**
* sqlInstances.
*/
public Builder sqlInstances(java.util.List<SqlInstances> sqlInstances) {
this.sqlInstances = sqlInstances;
return this;
}
/**
* tables.
*/
public Builder tables(java.util.List<Tables> tables) {
this.tables = tables;
return this;
}
/**
* templates.
*/
public Builder templates(java.util.List<Templates> templates) {
this.templates = templates;
return this;
}
public Databases build() {
return new Databases(this);
}
}
}
/**
*
* {@link ListDatabasesResponseBody} extends {@link TeaModel}
*
* <p>ListDatabasesResponseBody</p>
*/
public static class Result extends TeaModel {
@com.aliyun.core.annotation.NameInMap("databases")
private java.util.List<Databases> databases;
private Result(Builder builder) {
this.databases = builder.databases;
}
public static Builder builder() {
return new Builder();
}
public static Result create() {
return builder().build();
}
/**
* @return databases
*/
public java.util.List<Databases> getDatabases() {
return this.databases;
}
public static final class Builder {
private java.util.List<Databases> databases;
private Builder() {
}
private Builder(Result model) {
this.databases = model.databases;
}
/**
* databases.
*/
public Builder databases(java.util.List<Databases> databases) {
this.databases = databases;
return this;
}
public Result build() {
return new Result(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListDateSourceGenerationsRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListDateSourceGenerationsRequest} extends {@link RequestModel}
*
* <p>ListDateSourceGenerationsRequest</p>
*/
public class ListDateSourceGenerationsRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("instanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String instanceId;
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("dataSourceName")
@com.aliyun.core.annotation.Validation(required = true)
private String dataSourceName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("domainName")
@com.aliyun.core.annotation.Validation(required = true)
private String domainName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("validStatus")
private Boolean validStatus;
private ListDateSourceGenerationsRequest(Builder builder) {
super(builder);
this.instanceId = builder.instanceId;
this.dataSourceName = builder.dataSourceName;
this.domainName = builder.domainName;
this.validStatus = builder.validStatus;
}
public static Builder builder() {
return new Builder();
}
public static ListDateSourceGenerationsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
/**
* @return dataSourceName
*/
public String getDataSourceName() {
return this.dataSourceName;
}
/**
* @return domainName
*/
public String getDomainName() {
return this.domainName;
}
/**
* @return validStatus
*/
public Boolean getValidStatus() {
return this.validStatus;
}
public static final class Builder extends Request.Builder<ListDateSourceGenerationsRequest, Builder> {
private String instanceId;
private String dataSourceName;
private String domainName;
private Boolean validStatus;
private Builder() {
super();
}
private Builder(ListDateSourceGenerationsRequest request) {
super(request);
this.instanceId = request.instanceId;
this.dataSourceName = request.dataSourceName;
this.domainName = request.domainName;
this.validStatus = request.validStatus;
}
/**
* <p>The instance ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ha-cn-7mz2ttxta01</p>
*/
public Builder instanceId(String instanceId) {
this.putPathParameter("instanceId", instanceId);
this.instanceId = instanceId;
return this;
}
/**
* <p>The name of the data source.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ha-cn-0ju2s170b03_test_api2</p>
*/
public Builder dataSourceName(String dataSourceName) {
this.putPathParameter("dataSourceName", dataSourceName);
this.dataSourceName = dataSourceName;
return this;
}
/**
* <p>The data center where the data source is deployed.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>bj_vpc_domain_1</p>
*/
public Builder domainName(String domainName) {
this.putQueryParameter("domainName", domainName);
this.domainName = domainName;
return this;
}
/**
* <p>Specifies the index versions to be returned. Valid values:</p>
* <ol>
* <li>true (default): returns the index versions that are complete and not expired.</li>
* <li>false: returns all index versions.</li>
* </ol>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder validStatus(Boolean validStatus) {
this.putQueryParameter("validStatus", validStatus);
this.validStatus = validStatus;
return this;
}
@Override
public ListDateSourceGenerationsRequest build() {
return new ListDateSourceGenerationsRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListDateSourceGenerationsResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListDateSourceGenerationsResponse} extends {@link TeaModel}
*
* <p>ListDateSourceGenerationsResponse</p>
*/
public class ListDateSourceGenerationsResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListDateSourceGenerationsResponseBody body;
private ListDateSourceGenerationsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListDateSourceGenerationsResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListDateSourceGenerationsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListDateSourceGenerationsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListDateSourceGenerationsResponseBody body);
@Override
ListDateSourceGenerationsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListDateSourceGenerationsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListDateSourceGenerationsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListDateSourceGenerationsResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListDateSourceGenerationsResponseBody body) {
this.body = body;
return this;
}
@Override
public ListDateSourceGenerationsResponse build() {
return new ListDateSourceGenerationsResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListDateSourceGenerationsResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListDateSourceGenerationsResponseBody} extends {@link TeaModel}
*
* <p>ListDateSourceGenerationsResponseBody</p>
*/
public class ListDateSourceGenerationsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("requestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("result")
private java.util.List<Result> result;
private ListDateSourceGenerationsResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.result = builder.result;
}
public static Builder builder() {
return new Builder();
}
public static ListDateSourceGenerationsResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return result
*/
public java.util.List<Result> getResult() {
return this.result;
}
public static final class Builder {
private String requestId;
private java.util.List<Result> result;
private Builder() {
}
private Builder(ListDateSourceGenerationsResponseBody model) {
this.requestId = model.requestId;
this.result = model.result;
}
/**
* <p>id of request</p>
*
* <strong>example:</strong>
* <p>022F36C7-9FB4-5D67-BEBC-3D14B0984463</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>List</p>
*/
public Builder result(java.util.List<Result> result) {
this.result = result;
return this;
}
public ListDateSourceGenerationsResponseBody build() {
return new ListDateSourceGenerationsResponseBody(this);
}
}
/**
*
* {@link ListDateSourceGenerationsResponseBody} extends {@link TeaModel}
*
* <p>ListDateSourceGenerationsResponseBody</p>
*/
public static class Result extends TeaModel {
@com.aliyun.core.annotation.NameInMap("buildDeployId")
private Integer buildDeployId;
@com.aliyun.core.annotation.NameInMap("createTime")
private Long createTime;
@com.aliyun.core.annotation.NameInMap("dataDumpRoot")
private String dataDumpRoot;
@com.aliyun.core.annotation.NameInMap("generation")
private Long generation;
@com.aliyun.core.annotation.NameInMap("partition")
private java.util.Map<String, Integer> partition;
@com.aliyun.core.annotation.NameInMap("status")
private String status;
@com.aliyun.core.annotation.NameInMap("timestamp")
private Long timestamp;
private Result(Builder builder) {
this.buildDeployId = builder.buildDeployId;
this.createTime = builder.createTime;
this.dataDumpRoot = builder.dataDumpRoot;
this.generation = builder.generation;
this.partition = builder.partition;
this.status = builder.status;
this.timestamp = builder.timestamp;
}
public static Builder builder() {
return new Builder();
}
public static Result create() {
return builder().build();
}
/**
* @return buildDeployId
*/
public Integer getBuildDeployId() {
return this.buildDeployId;
}
/**
* @return createTime
*/
public Long getCreateTime() {
return this.createTime;
}
/**
* @return dataDumpRoot
*/
public String getDataDumpRoot() {
return this.dataDumpRoot;
}
/**
* @return generation
*/
public Long getGeneration() {
return this.generation;
}
/**
* @return partition
*/
public java.util.Map<String, Integer> getPartition() {
return this.partition;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return timestamp
*/
public Long getTimestamp() {
return this.timestamp;
}
public static final class Builder {
private Integer buildDeployId;
private Long createTime;
private String dataDumpRoot;
private Long generation;
private java.util.Map<String, Integer> partition;
private String status;
private Long timestamp;
private Builder() {
}
private Builder(Result model) {
this.buildDeployId = model.buildDeployId;
this.createTime = model.createTime;
this.dataDumpRoot = model.dataDumpRoot;
this.generation = model.generation;
this.partition = model.partition;
this.status = model.status;
this.timestamp = model.timestamp;
}
/**
* <p>The ID of the offline deployment.</p>
*
* <strong>example:</strong>
* <p>122</p>
*/
public Builder buildDeployId(Integer buildDeployId) {
this.buildDeployId = buildDeployId;
return this;
}
/**
* <p>The timestamp that was generated when the index building was started.</p>
*
* <strong>example:</strong>
* <p>1626143673</p>
*/
public Builder createTime(Long createTime) {
this.createTime = createTime;
return this;
}
/**
* <p>The path of the dumped index in the Apsara File Storage for HDFS file system.</p>
*
* <strong>example:</strong>
* <p>""</p>
*/
public Builder dataDumpRoot(String dataDumpRoot) {
this.dataDumpRoot = dataDumpRoot;
return this;
}
/**
* <p>The ID of the full index version.</p>
*
* <strong>example:</strong>
* <p>1626143930</p>
*/
public Builder generation(Long generation) {
this.generation = generation;
return this;
}
/**
* <p>The shards of the index version. The value is a key-value pair in which the key indicates the index name and the value indicates the number of shards. The number of value shards.</p>
*/
public Builder partition(java.util.Map<String, Integer> partition) {
this.partition = partition;
return this;
}
/**
* <p>The status of the index version.</p>
*
* <strong>example:</strong>
* <p>STOPPED</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* <p>The start timestamp from which incremental data is retrieved.</p>
*
* <strong>example:</strong>
* <p>1626143673</p>
*/
public Builder timestamp(Long timestamp) {
this.timestamp = timestamp;
return this;
}
public Result build() {
return new Result(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListIndexRecoverRecordsRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListIndexRecoverRecordsRequest} extends {@link RequestModel}
*
* <p>ListIndexRecoverRecordsRequest</p>
*/
public class ListIndexRecoverRecordsRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("indexName")
@com.aliyun.core.annotation.Validation(required = true)
private String indexName;
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("instanceId")
private String instanceId;
private ListIndexRecoverRecordsRequest(Builder builder) {
super(builder);
this.indexName = builder.indexName;
this.instanceId = builder.instanceId;
}
public static Builder builder() {
return new Builder();
}
public static ListIndexRecoverRecordsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return indexName
*/
public String getIndexName() {
return this.indexName;
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
public static final class Builder extends Request.Builder<ListIndexRecoverRecordsRequest, Builder> {
private String indexName;
private String instanceId;
private Builder() {
super();
}
private Builder(ListIndexRecoverRecordsRequest request) {
super(request);
this.indexName = request.indexName;
this.instanceId = request.instanceId;
}
/**
* <p>The index name.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>index_jiayi_text</p>
*/
public Builder indexName(String indexName) {
this.putPathParameter("indexName", indexName);
this.indexName = indexName;
return this;
}
/**
* <p>The instance ID.</p>
*
* <strong>example:</strong>
* <p>ha-cn-i7m2rpzm605</p>
*/
public Builder instanceId(String instanceId) {
this.putPathParameter("instanceId", instanceId);
this.instanceId = instanceId;
return this;
}
@Override
public ListIndexRecoverRecordsRequest build() {
return new ListIndexRecoverRecordsRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListIndexRecoverRecordsResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListIndexRecoverRecordsResponse} extends {@link TeaModel}
*
* <p>ListIndexRecoverRecordsResponse</p>
*/
public class ListIndexRecoverRecordsResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListIndexRecoverRecordsResponseBody body;
private ListIndexRecoverRecordsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListIndexRecoverRecordsResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListIndexRecoverRecordsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListIndexRecoverRecordsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListIndexRecoverRecordsResponseBody body);
@Override
ListIndexRecoverRecordsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListIndexRecoverRecordsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListIndexRecoverRecordsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListIndexRecoverRecordsResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListIndexRecoverRecordsResponseBody body) {
this.body = body;
return this;
}
@Override
public ListIndexRecoverRecordsResponse build() {
return new ListIndexRecoverRecordsResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListIndexRecoverRecordsResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListIndexRecoverRecordsResponseBody} extends {@link TeaModel}
*
* <p>ListIndexRecoverRecordsResponseBody</p>
*/
public class ListIndexRecoverRecordsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("desc")
private String desc;
@com.aliyun.core.annotation.NameInMap("finishedTime")
private String finishedTime;
@com.aliyun.core.annotation.NameInMap("generationId")
private String generationId;
private ListIndexRecoverRecordsResponseBody(Builder builder) {
this.desc = builder.desc;
this.finishedTime = builder.finishedTime;
this.generationId = builder.generationId;
}
public static Builder builder() {
return new Builder();
}
public static ListIndexRecoverRecordsResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return desc
*/
public String getDesc() {
return this.desc;
}
/**
* @return finishedTime
*/
public String getFinishedTime() {
return this.finishedTime;
}
/**
* @return generationId
*/
public String getGenerationId() {
return this.generationId;
}
public static final class Builder {
private String desc;
private String finishedTime;
private String generationId;
private Builder() {
}
private Builder(ListIndexRecoverRecordsResponseBody model) {
this.desc = model.desc;
this.finishedTime = model.finishedTime;
this.generationId = model.generationId;
}
/**
* <p>The description.</p>
*
* <strong>example:</strong>
* <p>test</p>
*/
public Builder desc(String desc) {
this.desc = desc;
return this;
}
/**
* <p>The time when the index version was published.</p>
*
* <strong>example:</strong>
* <p>2024-06-07 16:43:00</p>
*/
public Builder finishedTime(String finishedTime) {
this.finishedTime = finishedTime;
return this;
}
/**
* <p>The ID of the full index version.</p>
*
* <strong>example:</strong>
* <p>1708674867</p>
*/
public Builder generationId(String generationId) {
this.generationId = generationId;
return this;
}
public ListIndexRecoverRecordsResponseBody build() {
return new ListIndexRecoverRecordsResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListIndexesRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListIndexesRequest} extends {@link RequestModel}
*
* <p>ListIndexesRequest</p>
*/
public class ListIndexesRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("instanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String instanceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("catalog")
private String catalog;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("database")
private String database;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("newMode")
private Boolean newMode;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("table")
private String table;
private ListIndexesRequest(Builder builder) {
super(builder);
this.instanceId = builder.instanceId;
this.catalog = builder.catalog;
this.database = builder.database;
this.newMode = builder.newMode;
this.table = builder.table;
}
public static Builder builder() {
return new Builder();
}
public static ListIndexesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
/**
* @return catalog
*/
public String getCatalog() {
return this.catalog;
}
/**
* @return database
*/
public String getDatabase() {
return this.database;
}
/**
* @return newMode
*/
public Boolean getNewMode() {
return this.newMode;
}
/**
* @return table
*/
public String getTable() {
return this.table;
}
public static final class Builder extends Request.Builder<ListIndexesRequest, Builder> {
private String instanceId;
private String catalog;
private String database;
private Boolean newMode;
private String table;
private Builder() {
super();
}
private Builder(ListIndexesRequest request) {
super(request);
this.instanceId = request.instanceId;
this.catalog = request.catalog;
this.database = request.database;
this.newMode = request.newMode;
this.table = request.table;
}
/**
* <p>The instance ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ha-cn-2r42ostoc01</p>
*/
public Builder instanceId(String instanceId) {
this.putPathParameter("instanceId", instanceId);
this.instanceId = instanceId;
return this;
}
/**
* catalog.
*/
public Builder catalog(String catalog) {
this.putQueryParameter("catalog", catalog);
this.catalog = catalog;
return this;
}
/**
* database.
*/
public Builder database(String database) {
this.putQueryParameter("database", database);
this.database = database;
return this;
}
/**
* <p>Specifies whether the OpenSearch Vector Search Edition instance is of the new version.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder newMode(Boolean newMode) {
this.putQueryParameter("newMode", newMode);
this.newMode = newMode;
return this;
}
/**
* table.
*/
public Builder table(String table) {
this.putQueryParameter("table", table);
this.table = table;
return this;
}
@Override
public ListIndexesRequest build() {
return new ListIndexesRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListIndexesResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListIndexesResponse} extends {@link TeaModel}
*
* <p>ListIndexesResponse</p>
*/
public class ListIndexesResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListIndexesResponseBody body;
private ListIndexesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListIndexesResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListIndexesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListIndexesResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListIndexesResponseBody body);
@Override
ListIndexesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListIndexesResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListIndexesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListIndexesResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListIndexesResponseBody body) {
this.body = body;
return this;
}
@Override
public ListIndexesResponse build() {
return new ListIndexesResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListIndexesResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListIndexesResponseBody} extends {@link TeaModel}
*
* <p>ListIndexesResponseBody</p>
*/
public class ListIndexesResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("requestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("result")
private java.util.List<Result> result;
private ListIndexesResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.result = builder.result;
}
public static Builder builder() {
return new Builder();
}
public static ListIndexesResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return result
*/
public java.util.List<Result> getResult() {
return this.result;
}
public static final class Builder {
private String requestId;
private java.util.List<Result> result;
private Builder() {
}
private Builder(ListIndexesResponseBody model) {
this.requestId = model.requestId;
this.result = model.result;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>4FB0325E-8C37-5525-96AC-0333523170A3</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The details of indexes.</p>
*/
public Builder result(java.util.List<Result> result) {
this.result = result;
return this;
}
public ListIndexesResponseBody build() {
return new ListIndexesResponseBody(this);
}
}
/**
*
* {@link ListIndexesResponseBody} extends {@link TeaModel}
*
* <p>ListIndexesResponseBody</p>
*/
public static class Config extends TeaModel {
@com.aliyun.core.annotation.NameInMap("accessKey")
private String accessKey;
@com.aliyun.core.annotation.NameInMap("accessSecret")
private String accessSecret;
@com.aliyun.core.annotation.NameInMap("bucket")
private String bucket;
@com.aliyun.core.annotation.NameInMap("catalog")
private String catalog;
@com.aliyun.core.annotation.NameInMap("database")
private String database;
@com.aliyun.core.annotation.NameInMap("endpoint")
private String endpoint;
@com.aliyun.core.annotation.NameInMap("format")
private String format;
@com.aliyun.core.annotation.NameInMap("namespace")
private String namespace;
@com.aliyun.core.annotation.NameInMap("ossPath")
private String ossPath;
@com.aliyun.core.annotation.NameInMap("partition")
private String partition;
@com.aliyun.core.annotation.NameInMap("path")
private String path;
@com.aliyun.core.annotation.NameInMap("project")
private String project;
@com.aliyun.core.annotation.NameInMap("table")
private String table;
@com.aliyun.core.annotation.NameInMap("tag")
private String tag;
private Config(Builder builder) {
this.accessKey = builder.accessKey;
this.accessSecret = builder.accessSecret;
this.bucket = builder.bucket;
this.catalog = builder.catalog;
this.database = builder.database;
this.endpoint = builder.endpoint;
this.format = builder.format;
this.namespace = builder.namespace;
this.ossPath = builder.ossPath;
this.partition = builder.partition;
this.path = builder.path;
this.project = builder.project;
this.table = builder.table;
this.tag = builder.tag;
}
public static Builder builder() {
return new Builder();
}
public static Config create() {
return builder().build();
}
/**
* @return accessKey
*/
public String getAccessKey() {
return this.accessKey;
}
/**
* @return accessSecret
*/
public String getAccessSecret() {
return this.accessSecret;
}
/**
* @return bucket
*/
public String getBucket() {
return this.bucket;
}
/**
* @return catalog
*/
public String getCatalog() {
return this.catalog;
}
/**
* @return database
*/
public String getDatabase() {
return this.database;
}
/**
* @return endpoint
*/
public String getEndpoint() {
return this.endpoint;
}
/**
* @return format
*/
public String getFormat() {
return this.format;
}
/**
* @return namespace
*/
public String getNamespace() {
return this.namespace;
}
/**
* @return ossPath
*/
public String getOssPath() {
return this.ossPath;
}
/**
* @return partition
*/
public String getPartition() {
return this.partition;
}
/**
* @return path
*/
public String getPath() {
return this.path;
}
/**
* @return project
*/
public String getProject() {
return this.project;
}
/**
* @return table
*/
public String getTable() {
return this.table;
}
/**
* @return tag
*/
public String getTag() {
return this.tag;
}
public static final class Builder {
private String accessKey;
private String accessSecret;
private String bucket;
private String catalog;
private String database;
private String endpoint;
private String format;
private String namespace;
private String ossPath;
private String partition;
private String path;
private String project;
private String table;
private String tag;
private Builder() {
}
private Builder(Config model) {
this.accessKey = model.accessKey;
this.accessSecret = model.accessSecret;
this.bucket = model.bucket;
this.catalog = model.catalog;
this.database = model.database;
this.endpoint = model.endpoint;
this.format = model.format;
this.namespace = model.namespace;
this.ossPath = model.ossPath;
this.partition = model.partition;
this.path = model.path;
this.project = model.project;
this.table = model.table;
this.tag = model.tag;
}
/**
* <p>The AccessKey ID of the MaxCompute data source.</p>
*
* <strong>example:</strong>
* <p>root</p>
*/
public Builder accessKey(String accessKey) {
this.accessKey = accessKey;
return this;
}
/**
* <p>The AccessKey secret of the MaxCompute data source.</p>
*
* <strong>example:</strong>
* <p>root123</p>
*/
public Builder accessSecret(String accessSecret) {
this.accessSecret = accessSecret;
return this;
}
/**
* <p>The OSS bucket.</p>
*
* <strong>example:</strong>
* <p>ha3test-oss</p>
*/
public Builder bucket(String bucket) {
this.bucket = bucket;
return this;
}
/**
* catalog.
*/
public Builder catalog(String catalog) {
this.catalog = catalog;
return this;
}
/**
* database.
*/
public Builder database(String database) {
this.database = database;
return this;
}
/**
* <p>The endpoint of the MaxCompute data source.</p>
*
* <strong>example:</strong>
* <p><a href="http://service.cn-hangzhou.maxcompute.aliyun-inc.com/api">http://service.cn-hangzhou.maxcompute.aliyun-inc.com/api</a></p>
*/
public Builder endpoint(String endpoint) {
this.endpoint = endpoint;
return this;
}
/**
* format.
*/
public Builder format(String format) {
this.format = format;
return this;
}
/**
* <p>The namespace. This parameter is applicable to the SARO data source used in the intranet of Alibaba Group.</p>
*
* <strong>example:</strong>
* <p>TEST_dump_demo_sj_na61hunbu2_share_holo</p>
*/
public Builder namespace(String namespace) {
this.namespace = namespace;
return this;
}
/**
* <p>The Object Storage Service (OSS) path.</p>
*
* <strong>example:</strong>
* <p>/test_opensearch/sift_oss_test.data</p>
*/
public Builder ossPath(String ossPath) {
this.ossPath = ossPath;
return this;
}
/**
* <p>The shard name.</p>
*
* <strong>example:</strong>
* <p>ds=12345</p>
*/
public Builder partition(String partition) {
this.partition = partition;
return this;
}
/**
* <p>The file path in the Apsara File Storage for HDFS file system.</p>
*
* <strong>example:</strong>
* <p><a href="http://test_opensearch/sift_oss_test.data">http://test_opensearch/sift_oss_test.data</a></p>
*/
public Builder path(String path) {
this.path = path;
return this;
}
/**
* <p>The name of the MaxCompute project that is used as the data source.</p>
*
* <strong>example:</strong>
* <p>tisplus_dev</p>
*/
public Builder project(String project) {
this.project = project;
return this;
}
/**
* <p>The name of the MaxCompute table that is used as the data source.</p>
*
* <strong>example:</strong>
* <p>dump_odps_demo</p>
*/
public Builder table(String table) {
this.table = table;
return this;
}
/**
* tag.
*/
public Builder tag(String tag) {
this.tag = tag;
return this;
}
public Config build() {
return new Config(this);
}
}
}
/**
*
* {@link ListIndexesResponseBody} extends {@link TeaModel}
*
* <p>ListIndexesResponseBody</p>
*/
public static class SaroConfig extends TeaModel {
@com.aliyun.core.annotation.NameInMap("namespace")
private String namespace;
@com.aliyun.core.annotation.NameInMap("tableName")
private String tableName;
private SaroConfig(Builder builder) {
this.namespace = builder.namespace;
this.tableName = builder.tableName;
}
public static Builder builder() {
return new Builder();
}
public static SaroConfig create() {
return builder().build();
}
/**
* @return namespace
*/
public String getNamespace() {
return this.namespace;
}
/**
* @return tableName
*/
public String getTableName() {
return this.tableName;
}
public static final class Builder {
private String namespace;
private String tableName;
private Builder() {
}
private Builder(SaroConfig model) {
this.namespace = model.namespace;
this.tableName = model.tableName;
}
/**
* <p>The namespace of the SARO data source.</p>
*
* <strong>example:</strong>
* <p>TEST_dump_demo_sj_na61hunbu2_share_holo</p>
*/
public Builder namespace(String namespace) {
this.namespace = namespace;
return this;
}
/**
* <p>The name of the SARO table.</p>
*
* <strong>example:</strong>
* <p>dump_odps_demo</p>
*/
public Builder tableName(String tableName) {
this.tableName = tableName;
return this;
}
public SaroConfig build() {
return new SaroConfig(this);
}
}
}
/**
*
* {@link ListIndexesResponseBody} extends {@link TeaModel}
*
* <p>ListIndexesResponseBody</p>
*/
public static class DataSourceInfo extends TeaModel {
@com.aliyun.core.annotation.NameInMap("autoBuildIndex")
private Boolean autoBuildIndex;
@com.aliyun.core.annotation.NameInMap("config")
private Config config;
@com.aliyun.core.annotation.NameInMap("domain")
private String domain;
@com.aliyun.core.annotation.NameInMap("name")
private String name;
@com.aliyun.core.annotation.NameInMap("processPartitionCount")
private Integer processPartitionCount;
@com.aliyun.core.annotation.NameInMap("saroConfig")
private SaroConfig saroConfig;
@com.aliyun.core.annotation.NameInMap("type")
private String type;
private DataSourceInfo(Builder builder) {
this.autoBuildIndex = builder.autoBuildIndex;
this.config = builder.config;
this.domain = builder.domain;
this.name = builder.name;
this.processPartitionCount = builder.processPartitionCount;
this.saroConfig = builder.saroConfig;
this.type = builder.type;
}
public static Builder builder() {
return new Builder();
}
public static DataSourceInfo create() {
return builder().build();
}
/**
* @return autoBuildIndex
*/
public Boolean getAutoBuildIndex() {
return this.autoBuildIndex;
}
/**
* @return config
*/
public Config getConfig() {
return this.config;
}
/**
* @return domain
*/
public String getDomain() {
return this.domain;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return processPartitionCount
*/
public Integer getProcessPartitionCount() {
return this.processPartitionCount;
}
/**
* @return saroConfig
*/
public SaroConfig getSaroConfig() {
return this.saroConfig;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
public static final class Builder {
private Boolean autoBuildIndex;
private Config config;
private String domain;
private String name;
private Integer processPartitionCount;
private SaroConfig saroConfig;
private String type;
private Builder() {
}
private Builder(DataSourceInfo model) {
this.autoBuildIndex = model.autoBuildIndex;
this.config = model.config;
this.domain = model.domain;
this.name = model.name;
this.processPartitionCount = model.processPartitionCount;
this.saroConfig = model.saroConfig;
this.type = model.type;
}
/**
* <p>Indicates whether the automatic full indexing feature is enabled.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder autoBuildIndex(Boolean autoBuildIndex) {
this.autoBuildIndex = autoBuildIndex;
return this;
}
/**
* <p>The configuration of MaxCompute data sources.</p>
*/
public Builder config(Config config) {
this.config = config;
return this;
}
/**
* <p>The data center in which the data source is deployed.</p>
*
* <strong>example:</strong>
* <p>test</p>
*/
public Builder domain(String domain) {
this.domain = domain;
return this;
}
/**
* <p>The name of the data source.</p>
*
* <strong>example:</strong>
* <p>index1</p>
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* <p>The number of resources used for data update.</p>
*
* <strong>example:</strong>
* <p>2</p>
*/
public Builder processPartitionCount(Integer processPartitionCount) {
this.processPartitionCount = processPartitionCount;
return this;
}
/**
* <p>The configurations of the SARO data source.</p>
*/
public Builder saroConfig(SaroConfig saroConfig) {
this.saroConfig = saroConfig;
return this;
}
/**
* <p>The type of the data source. Valid values: odps, swift, saro, oss, and unKnow.</p>
*
* <strong>example:</strong>
* <p>odps</p>
*/
public Builder type(String type) {
this.type = type;
return this;
}
public DataSourceInfo build() {
return new DataSourceInfo(this);
}
}
}
/**
*
* {@link ListIndexesResponseBody} extends {@link TeaModel}
*
* <p>ListIndexesResponseBody</p>
*/
public static class Files extends TeaModel {
@com.aliyun.core.annotation.NameInMap("fullPathName")
private String fullPathName;
@com.aliyun.core.annotation.NameInMap("isDir")
private Boolean isDir;
@com.aliyun.core.annotation.NameInMap("isTemplate")
private Boolean isTemplate;
@com.aliyun.core.annotation.NameInMap("name")
private String name;
private Files(Builder builder) {
this.fullPathName = builder.fullPathName;
this.isDir = builder.isDir;
this.isTemplate = builder.isTemplate;
this.name = builder.name;
}
public static Builder builder() {
return new Builder();
}
public static Files create() {
return builder().build();
}
/**
* @return fullPathName
*/
public String getFullPathName() {
return this.fullPathName;
}
/**
* @return isDir
*/
public Boolean getIsDir() {
return this.isDir;
}
/**
* @return isTemplate
*/
public Boolean getIsTemplate() {
return this.isTemplate;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
public static final class Builder {
private String fullPathName;
private Boolean isDir;
private Boolean isTemplate;
private String name;
private Builder() {
}
private Builder(Files model) {
this.fullPathName = model.fullPathName;
this.isDir = model.isDir;
this.isTemplate = model.isTemplate;
this.name = model.name;
}
/**
* <p>The full path of the file.</p>
*
* <strong>example:</strong>
* <p>" "</p>
*/
public Builder fullPathName(String fullPathName) {
this.fullPathName = fullPathName;
return this;
}
/**
* <p>Indicates whether the file is a directory.</p>
*
* <strong>example:</strong>
* <p>True</p>
*/
public Builder isDir(Boolean isDir) {
this.isDir = isDir;
return this;
}
/**
* <p>Indicates whether the file is a template.</p>
*
* <strong>example:</strong>
* <p>True</p>
*/
public Builder isTemplate(Boolean isTemplate) {
this.isTemplate = isTemplate;
return this;
}
/**
* <p>The file name.</p>
*
* <strong>example:</strong>
* <p>ha-cn-7mz2iv7sq01_qrs</p>
*/
public Builder name(String name) {
this.name = name;
return this;
}
public Files build() {
return new Files(this);
}
}
}
/**
*
* {@link ListIndexesResponseBody} extends {@link TeaModel}
*
* <p>ListIndexesResponseBody</p>
*/
public static class Versions extends TeaModel {
@com.aliyun.core.annotation.NameInMap("desc")
private String desc;
@com.aliyun.core.annotation.NameInMap("files")
private java.util.List<Files> files;
@com.aliyun.core.annotation.NameInMap("name")
private String name;
@com.aliyun.core.annotation.NameInMap("status")
private String status;
@com.aliyun.core.annotation.NameInMap("updateTime")
private Long updateTime;
@com.aliyun.core.annotation.NameInMap("versionId")
private Integer versionId;
private Versions(Builder builder) {
this.desc = builder.desc;
this.files = builder.files;
this.name = builder.name;
this.status = builder.status;
this.updateTime = builder.updateTime;
this.versionId = builder.versionId;
}
public static Builder builder() {
return new Builder();
}
public static Versions create() {
return builder().build();
}
/**
* @return desc
*/
public String getDesc() {
return this.desc;
}
/**
* @return files
*/
public java.util.List<Files> getFiles() {
return this.files;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return updateTime
*/
public Long getUpdateTime() {
return this.updateTime;
}
/**
* @return versionId
*/
public Integer getVersionId() {
return this.versionId;
}
public static final class Builder {
private String desc;
private java.util.List<Files> files;
private String name;
private String status;
private Long updateTime;
private Integer versionId;
private Builder() {
}
private Builder(Versions model) {
this.desc = model.desc;
this.files = model.files;
this.name = model.name;
this.status = model.status;
this.updateTime = model.updateTime;
this.versionId = model.versionId;
}
/**
* <p>The description of the index version.</p>
*
* <strong>example:</strong>
* <p>close alarm, by 3.9.2 hotfix workflow</p>
*/
public Builder desc(String desc) {
this.desc = desc;
return this;
}
/**
* <p>The files.</p>
*/
public Builder files(java.util.List<Files> files) {
this.files = files;
return this;
}
/**
* <p>The name of the index version.</p>
*
* <strong>example:</strong>
* <p>ha-cn-7pp2ngv4s02_qrs</p>
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* <p>The status of the index version. Valid values:</p>
* <ul>
* <li>NEW: The index version is created.</li>
* <li>PUBLISH: The index version is normal.</li>
* <li>IN_USE: The index version is in use.</li>
* <li>NOT_USE: The index version is not used.</li>
* <li>STOP_USE: The index version is being stopped.</li>
* <li>RESTORE_USE: The index version is being restored.</li>
* <li>FAIL: The index version failed to be created.</li>
* </ul>
*
* <strong>example:</strong>
* <p>2</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* <p>The time when the index version was updated.</p>
*
* <strong>example:</strong>
* <p>" "</p>
*/
public Builder updateTime(Long updateTime) {
this.updateTime = updateTime;
return this;
}
/**
* <p>The ID of the index version. If the index version is modified, the returned value is null.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder versionId(Integer versionId) {
this.versionId = versionId;
return this;
}
public Versions build() {
return new Versions(this);
}
}
}
/**
*
* {@link ListIndexesResponseBody} extends {@link TeaModel}
*
* <p>ListIndexesResponseBody</p>
*/
public static class Result extends TeaModel {
@com.aliyun.core.annotation.NameInMap("content")
private String content;
@com.aliyun.core.annotation.NameInMap("createTime")
private String createTime;
@com.aliyun.core.annotation.NameInMap("dataSource")
private String dataSource;
@com.aliyun.core.annotation.NameInMap("dataSourceInfo")
private DataSourceInfo dataSourceInfo;
@com.aliyun.core.annotation.NameInMap("description")
private String description;
@com.aliyun.core.annotation.NameInMap("domain")
private String domain;
@com.aliyun.core.annotation.NameInMap("fullUpdateTime")
private String fullUpdateTime;
@com.aliyun.core.annotation.NameInMap("fullVersion")
private Long fullVersion;
@com.aliyun.core.annotation.NameInMap("incUpdateTime")
private String incUpdateTime;
@com.aliyun.core.annotation.NameInMap("indexSize")
private Long indexSize;
@com.aliyun.core.annotation.NameInMap("indexStatus")
private String indexStatus;
@com.aliyun.core.annotation.NameInMap("name")
private String name;
@com.aliyun.core.annotation.NameInMap("partition")
private Integer partition;
@com.aliyun.core.annotation.NameInMap("updateTime")
private String updateTime;
@com.aliyun.core.annotation.NameInMap("versions")
private java.util.List<Versions> versions;
private Result(Builder builder) {
this.content = builder.content;
this.createTime = builder.createTime;
this.dataSource = builder.dataSource;
this.dataSourceInfo = builder.dataSourceInfo;
this.description = builder.description;
this.domain = builder.domain;
this.fullUpdateTime = builder.fullUpdateTime;
this.fullVersion = builder.fullVersion;
this.incUpdateTime = builder.incUpdateTime;
this.indexSize = builder.indexSize;
this.indexStatus = builder.indexStatus;
this.name = builder.name;
this.partition = builder.partition;
this.updateTime = builder.updateTime;
this.versions = builder.versions;
}
public static Builder builder() {
return new Builder();
}
public static Result create() {
return builder().build();
}
/**
* @return content
*/
public String getContent() {
return this.content;
}
/**
* @return createTime
*/
public String getCreateTime() {
return this.createTime;
}
/**
* @return dataSource
*/
public String getDataSource() {
return this.dataSource;
}
/**
* @return dataSourceInfo
*/
public DataSourceInfo getDataSourceInfo() {
return this.dataSourceInfo;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return domain
*/
public String getDomain() {
return this.domain;
}
/**
* @return fullUpdateTime
*/
public String getFullUpdateTime() {
return this.fullUpdateTime;
}
/**
* @return fullVersion
*/
public Long getFullVersion() {
return this.fullVersion;
}
/**
* @return incUpdateTime
*/
public String getIncUpdateTime() {
return this.incUpdateTime;
}
/**
* @return indexSize
*/
public Long getIndexSize() {
return this.indexSize;
}
/**
* @return indexStatus
*/
public String getIndexStatus() {
return this.indexStatus;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return partition
*/
public Integer getPartition() {
return this.partition;
}
/**
* @return updateTime
*/
public String getUpdateTime() {
return this.updateTime;
}
/**
* @return versions
*/
public java.util.List<Versions> getVersions() {
return this.versions;
}
public static final class Builder {
private String content;
private String createTime;
private String dataSource;
private DataSourceInfo dataSourceInfo;
private String description;
private String domain;
private String fullUpdateTime;
private Long fullVersion;
private String incUpdateTime;
private Long indexSize;
private String indexStatus;
private String name;
private Integer partition;
private String updateTime;
private java.util.List<Versions> versions;
private Builder() {
}
private Builder(Result model) {
this.content = model.content;
this.createTime = model.createTime;
this.dataSource = model.dataSource;
this.dataSourceInfo = model.dataSourceInfo;
this.description = model.description;
this.domain = model.domain;
this.fullUpdateTime = model.fullUpdateTime;
this.fullVersion = model.fullVersion;
this.incUpdateTime = model.incUpdateTime;
this.indexSize = model.indexSize;
this.indexStatus = model.indexStatus;
this.name = model.name;
this.partition = model.partition;
this.updateTime = model.updateTime;
this.versions = model.versions;
}
/**
* <p>The index schema, which is a JSON string.</p>
*
* <strong>example:</strong>
* <p>{"summarys":{"parameter":{"file_compressor":"zstd"},"summary_fields":["id"]},"file_compress":[{"name":"file_compressor","type":"zstd"},{"name":"no_compressor","type":""}],"indexs":[{"index_fields":"name","index_name":"ids","index_type":"STRING"},{"has_primary_key_attribute":true,"index_fields":"id","is_primary_key_sorted":false,"index_name":"id","index_type":"PRIMARYKEY64"}],"attributes":[{"file_compress":"no_compressor","field_name":"id"}],"fields":[{"user_defined_param":{},"compress_type":"uniq","field_type":"STRING","field_name":"id"},{"compress_type":"uniq","field_type":"STRING","field_name":"name"}],"table_name":"api"}</p>
*/
public Builder content(String content) {
this.content = content;
return this;
}
/**
* createTime.
*/
public Builder createTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* <p>The name of the data source.</p>
*
* <strong>example:</strong>
* <p>ha-cn-7mz2kvu2c01_table4</p>
*/
public Builder dataSource(String dataSource) {
this.dataSource = dataSource;
return this;
}
/**
* <p>The information about the data source.</p>
*/
public Builder dataSourceInfo(DataSourceInfo dataSourceInfo) {
this.dataSourceInfo = dataSourceInfo;
return this;
}
/**
* <p>The description.</p>
*
* <strong>example:</strong>
* <p>Description</p>
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* <p>The deployment name of the index.</p>
*
* <strong>example:</strong>
* <p>test</p>
*/
public Builder domain(String domain) {
this.domain = domain;
return this;
}
/**
* <p>The time when full data in the index was last updated.</p>
*
* <strong>example:</strong>
* <p>2023-07-05 10:40:38</p>
*/
public Builder fullUpdateTime(String fullUpdateTime) {
this.fullUpdateTime = fullUpdateTime;
return this;
}
/**
* <p>The full version of the index.</p>
*
* <strong>example:</strong>
* <p>1688523414</p>
*/
public Builder fullVersion(Long fullVersion) {
this.fullVersion = fullVersion;
return this;
}
/**
* <p>The time when incremental data in the index was last updated.</p>
*
* <strong>example:</strong>
* <p>2023-07-05 10:58:33</p>
*/
public Builder incUpdateTime(String incUpdateTime) {
this.incUpdateTime = incUpdateTime;
return this;
}
/**
* <p>The index size.</p>
*
* <strong>example:</strong>
* <p>4689</p>
*/
public Builder indexSize(Long indexSize) {
this.indexSize = indexSize;
return this;
}
/**
* <p>The index ststus. Valid values: NEW and PUBLISH.</p>
*
* <strong>example:</strong>
* <p>" "</p>
*/
public Builder indexStatus(String indexStatus) {
this.indexStatus = indexStatus;
return this;
}
/**
* <p>The index name.</p>
*
* <strong>example:</strong>
* <p>general</p>
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* <p>The number of shards.</p>
*
* <strong>example:</strong>
* <p>2</p>
*/
public Builder partition(Integer partition) {
this.partition = partition;
return this;
}
/**
* <p>The time when the index version was updated.</p>
*
* <strong>example:</strong>
* <p>" "</p>
*/
public Builder updateTime(String updateTime) {
this.updateTime = updateTime;
return this;
}
/**
* <p>The index versions.</p>
*/
public Builder versions(java.util.List<Versions> versions) {
this.versions = versions;
return this;
}
public Result build() {
return new Result(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListInstanceSpecsRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListInstanceSpecsRequest} extends {@link RequestModel}
*
* <p>ListInstanceSpecsRequest</p>
*/
public class ListInstanceSpecsRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("instanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String instanceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("type")
@com.aliyun.core.annotation.Validation(required = true)
private String type;
private ListInstanceSpecsRequest(Builder builder) {
super(builder);
this.instanceId = builder.instanceId;
this.type = builder.type;
}
public static Builder builder() {
return new Builder();
}
public static ListInstanceSpecsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
public static final class Builder extends Request.Builder<ListInstanceSpecsRequest, Builder> {
private String instanceId;
private String type;
private Builder() {
super();
}
private Builder(ListInstanceSpecsRequest request) {
super(request);
this.instanceId = request.instanceId;
this.type = request.type;
}
/**
* <p>The instance ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ha-cn-2r42ostoc01</p>
*/
public Builder instanceId(String instanceId) {
this.putPathParameter("instanceId", instanceId);
this.instanceId = instanceId;
return this;
}
/**
* <p>The node type. Valid values:</p>
* <ul>
* <li>qrs: Query Result Searcher (QRS) Worker</li>
* <li>search: Searcher Worker</li>
* <li>index: index node</li>
* <li>cluster: cluster</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>search</p>
*/
public Builder type(String type) {
this.putQueryParameter("type", type);
this.type = type;
return this;
}
@Override
public ListInstanceSpecsRequest build() {
return new ListInstanceSpecsRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListInstanceSpecsResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListInstanceSpecsResponse} extends {@link TeaModel}
*
* <p>ListInstanceSpecsResponse</p>
*/
public class ListInstanceSpecsResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListInstanceSpecsResponseBody body;
private ListInstanceSpecsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListInstanceSpecsResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListInstanceSpecsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListInstanceSpecsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListInstanceSpecsResponseBody body);
@Override
ListInstanceSpecsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListInstanceSpecsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListInstanceSpecsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListInstanceSpecsResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListInstanceSpecsResponseBody body) {
this.body = body;
return this;
}
@Override
public ListInstanceSpecsResponse build() {
return new ListInstanceSpecsResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListInstanceSpecsResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListInstanceSpecsResponseBody} extends {@link TeaModel}
*
* <p>ListInstanceSpecsResponseBody</p>
*/
public class ListInstanceSpecsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("requestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("result")
private java.util.List<Result> result;
private ListInstanceSpecsResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.result = builder.result;
}
public static Builder builder() {
return new Builder();
}
public static ListInstanceSpecsResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return result
*/
public java.util.List<Result> getResult() {
return this.result;
}
public static final class Builder {
private String requestId;
private java.util.List<Result> result;
private Builder() {
}
private Builder(ListInstanceSpecsResponseBody model) {
this.requestId = model.requestId;
this.result = model.result;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>10D5E615-69F7-5F49-B850-00169ADE513C</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The instance types.</p>
*/
public Builder result(java.util.List<Result> result) {
this.result = result;
return this;
}
public ListInstanceSpecsResponseBody build() {
return new ListInstanceSpecsResponseBody(this);
}
}
/**
*
* {@link ListInstanceSpecsResponseBody} extends {@link TeaModel}
*
* <p>ListInstanceSpecsResponseBody</p>
*/
public static class Result extends TeaModel {
@com.aliyun.core.annotation.NameInMap("cpu")
private Integer cpu;
@com.aliyun.core.annotation.NameInMap("maxDisk")
private Integer maxDisk;
@com.aliyun.core.annotation.NameInMap("mem")
private Integer mem;
@com.aliyun.core.annotation.NameInMap("minDisk")
private Integer minDisk;
private Result(Builder builder) {
this.cpu = builder.cpu;
this.maxDisk = builder.maxDisk;
this.mem = builder.mem;
this.minDisk = builder.minDisk;
}
public static Builder builder() {
return new Builder();
}
public static Result create() {
return builder().build();
}
/**
* @return cpu
*/
public Integer getCpu() {
return this.cpu;
}
/**
* @return maxDisk
*/
public Integer getMaxDisk() {
return this.maxDisk;
}
/**
* @return mem
*/
public Integer getMem() {
return this.mem;
}
/**
* @return minDisk
*/
public Integer getMinDisk() {
return this.minDisk;
}
public static final class Builder {
private Integer cpu;
private Integer maxDisk;
private Integer mem;
private Integer minDisk;
private Builder() {
}
private Builder(Result model) {
this.cpu = model.cpu;
this.maxDisk = model.maxDisk;
this.mem = model.mem;
this.minDisk = model.minDisk;
}
/**
* <p>The number of vCPUs.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder cpu(Integer cpu) {
this.cpu = cpu;
return this;
}
/**
* <p>The maximum storage of a single data node. Unit: GB.</p>
*
* <strong>example:</strong>
* <p>600</p>
*/
public Builder maxDisk(Integer maxDisk) {
this.maxDisk = maxDisk;
return this;
}
/**
* <p>The memory of the instance. Unit: GB.</p>
*
* <strong>example:</strong>
* <p>4</p>
*/
public Builder mem(Integer mem) {
this.mem = mem;
return this;
}
/**
* <p>The minimum storage of a single data node. Unit: GB.</p>
*
* <strong>example:</strong>
* <p>100</p>
*/
public Builder minDisk(Integer minDisk) {
this.minDisk = minDisk;
return this;
}
public Result build() {
return new Result(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListInstancesRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListInstancesRequest} extends {@link RequestModel}
*
* <p>ListInstancesRequest</p>
*/
public class ListInstancesRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("catalog")
private String catalog;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("dataSourceType")
private String dataSourceType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("database")
private String database;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("description")
private String description;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("edition")
private String edition;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("instanceId")
private String instanceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("pageNumber")
private Integer pageNumber;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("pageSize")
private Integer pageSize;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("resourceGroupId")
private String resourceGroupId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("table")
private String table;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("tags")
private java.util.List<Tags> tags;
private ListInstancesRequest(Builder builder) {
super(builder);
this.catalog = builder.catalog;
this.dataSourceType = builder.dataSourceType;
this.database = builder.database;
this.description = builder.description;
this.edition = builder.edition;
this.instanceId = builder.instanceId;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.resourceGroupId = builder.resourceGroupId;
this.table = builder.table;
this.tags = builder.tags;
}
public static Builder builder() {
return new Builder();
}
public static ListInstancesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return catalog
*/
public String getCatalog() {
return this.catalog;
}
/**
* @return dataSourceType
*/
public String getDataSourceType() {
return this.dataSourceType;
}
/**
* @return database
*/
public String getDatabase() {
return this.database;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return edition
*/
public String getEdition() {
return this.edition;
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return resourceGroupId
*/
public String getResourceGroupId() {
return this.resourceGroupId;
}
/**
* @return table
*/
public String getTable() {
return this.table;
}
/**
* @return tags
*/
public java.util.List<Tags> getTags() {
return this.tags;
}
public static final class Builder extends Request.Builder<ListInstancesRequest, Builder> {
private String catalog;
private String dataSourceType;
private String database;
private String description;
private String edition;
private String instanceId;
private Integer pageNumber;
private Integer pageSize;
private String resourceGroupId;
private String table;
private java.util.List<Tags> tags;
private Builder() {
super();
}
private Builder(ListInstancesRequest request) {
super(request);
this.catalog = request.catalog;
this.dataSourceType = request.dataSourceType;
this.database = request.database;
this.description = request.description;
this.edition = request.edition;
this.instanceId = request.instanceId;
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
this.resourceGroupId = request.resourceGroupId;
this.table = request.table;
this.tags = request.tags;
}
/**
* catalog.
*/
public Builder catalog(String catalog) {
this.putQueryParameter("catalog", catalog);
this.catalog = catalog;
return this;
}
/**
* dataSourceType.
*/
public Builder dataSourceType(String dataSourceType) {
this.putQueryParameter("dataSourceType", dataSourceType);
this.dataSourceType = dataSourceType;
return this;
}
/**
* database.
*/
public Builder database(String database) {
this.putQueryParameter("database", database);
this.database = database;
return this;
}
/**
* <p>The description of the instance. You can use this description to filter instances. Fuzzy match is supported.</p>
*
* <strong>example:</strong>
* <p>Havenask instance</p>
*/
public Builder description(String description) {
this.putQueryParameter("description", description);
this.description = description;
return this;
}
/**
* <p>The instance type. Valid values: vector: OpenSearch Vector Search Edition instance. engine: OpenSearch Retrieval Engine Edition instance.</p>
*
* <strong>example:</strong>
* <p>vector</p>
*/
public Builder edition(String edition) {
this.putQueryParameter("edition", edition);
this.edition = edition;
return this;
}
/**
* <p>The instance ID.</p>
*
* <strong>example:</strong>
* <p>ha-cn-83570439y0n</p>
*/
public Builder instanceId(String instanceId) {
this.putQueryParameter("instanceId", instanceId);
this.instanceId = instanceId;
return this;
}
/**
* <p>The number of the page to return. Default value: 1.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder pageNumber(Integer pageNumber) {
this.putQueryParameter("pageNumber", pageNumber);
this.pageNumber = pageNumber;
return this;
}
/**
* <p>The number of entries to return on each page. Valid values: 1 to 50. Default value: 10.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("pageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* <p>The ID of the resource group to which the instance belongs.</p>
*
* <strong>example:</strong>
* <p>rg-aekzgpiswzbksdi</p>
*/
public Builder resourceGroupId(String resourceGroupId) {
this.putQueryParameter("resourceGroupId", resourceGroupId);
this.resourceGroupId = resourceGroupId;
return this;
}
/**
* table.
*/
public Builder table(String table) {
this.putQueryParameter("table", table);
this.table = table;
return this;
}
/**
* <p>The tags of the instance.</p>
*/
public Builder tags(java.util.List<Tags> tags) {
String tagsShrink = shrink(tags, "tags", "json");
this.putQueryParameter("tags", tagsShrink);
this.tags = tags;
return this;
}
@Override
public ListInstancesRequest build() {
return new ListInstancesRequest(this);
}
}
/**
*
* {@link ListInstancesRequest} extends {@link TeaModel}
*
* <p>ListInstancesRequest</p>
*/
public static class Tags extends TeaModel {
@com.aliyun.core.annotation.NameInMap("key")
private String key;
@com.aliyun.core.annotation.NameInMap("value")
private String value;
private Tags(Builder builder) {
this.key = builder.key;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static Tags create() {
return builder().build();
}
/**
* @return key
*/
public String getKey() {
return this.key;
}
/**
* @return value
*/
public String getValue() {
return this.value;
}
public static final class Builder {
private String key;
private String value;
private Builder() {
}
private Builder(Tags model) {
this.key = model.key;
this.value = model.value;
}
/**
* <p>The tag key.</p>
*
* <strong>example:</strong>
* <p>backup</p>
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* <p>The tag value.</p>
*
* <strong>example:</strong>
* <p>oboms-disk</p>
*/
public Builder value(String value) {
this.value = value;
return this;
}
public Tags build() {
return new Tags(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListInstancesResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListInstancesResponse} extends {@link TeaModel}
*
* <p>ListInstancesResponse</p>
*/
public class ListInstancesResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListInstancesResponseBody body;
private ListInstancesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListInstancesResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListInstancesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListInstancesResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListInstancesResponseBody body);
@Override
ListInstancesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListInstancesResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListInstancesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListInstancesResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListInstancesResponseBody body) {
this.body = body;
return this;
}
@Override
public ListInstancesResponse build() {
return new ListInstancesResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListInstancesResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListInstancesResponseBody} extends {@link TeaModel}
*
* <p>ListInstancesResponseBody</p>
*/
public class ListInstancesResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("requestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("result")
private java.util.List<Result> result;
@com.aliyun.core.annotation.NameInMap("totalCount")
private Integer totalCount;
private ListInstancesResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.result = builder.result;
this.totalCount = builder.totalCount;
}
public static Builder builder() {
return new Builder();
}
public static ListInstancesResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return result
*/
public java.util.List<Result> getResult() {
return this.result;
}
/**
* @return totalCount
*/
public Integer getTotalCount() {
return this.totalCount;
}
public static final class Builder {
private String requestId;
private java.util.List<Result> result;
private Integer totalCount;
private Builder() {
}
private Builder(ListInstancesResponseBody model) {
this.requestId = model.requestId;
this.result = model.result;
this.totalCount = model.totalCount;
}
/**
* <p>The ID of the request</p>
*
* <strong>example:</strong>
* <p>89B968E6-1E41-58DF-BB25-5F98ECC759CE</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The results returned.</p>
*/
public Builder result(java.util.List<Result> result) {
this.result = result;
return this;
}
/**
* <p>The total number of entries returned</p>
*
* <strong>example:</strong>
* <p>5</p>
*/
public Builder totalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public ListInstancesResponseBody build() {
return new ListInstancesResponseBody(this);
}
}
/**
*
* {@link ListInstancesResponseBody} extends {@link TeaModel}
*
* <p>ListInstancesResponseBody</p>
*/
public static class Config extends TeaModel {
@com.aliyun.core.annotation.NameInMap("accessKey")
private String accessKey;
@com.aliyun.core.annotation.NameInMap("bucket")
private String bucket;
@com.aliyun.core.annotation.NameInMap("catalog")
private String catalog;
@com.aliyun.core.annotation.NameInMap("database")
private String database;
@com.aliyun.core.annotation.NameInMap("endpoint")
private String endpoint;
@com.aliyun.core.annotation.NameInMap("namespace")
private String namespace;
@com.aliyun.core.annotation.NameInMap("ossPath")
private String ossPath;
@com.aliyun.core.annotation.NameInMap("partition")
private String partition;
@com.aliyun.core.annotation.NameInMap("path")
private String path;
@com.aliyun.core.annotation.NameInMap("project")
private String project;
@com.aliyun.core.annotation.NameInMap("table")
private String table;
@com.aliyun.core.annotation.NameInMap("tag")
private String tag;
private Config(Builder builder) {
this.accessKey = builder.accessKey;
this.bucket = builder.bucket;
this.catalog = builder.catalog;
this.database = builder.database;
this.endpoint = builder.endpoint;
this.namespace = builder.namespace;
this.ossPath = builder.ossPath;
this.partition = builder.partition;
this.path = builder.path;
this.project = builder.project;
this.table = builder.table;
this.tag = builder.tag;
}
public static Builder builder() {
return new Builder();
}
public static Config create() {
return builder().build();
}
/**
* @return accessKey
*/
public String getAccessKey() {
return this.accessKey;
}
/**
* @return bucket
*/
public String getBucket() {
return this.bucket;
}
/**
* @return catalog
*/
public String getCatalog() {
return this.catalog;
}
/**
* @return database
*/
public String getDatabase() {
return this.database;
}
/**
* @return endpoint
*/
public String getEndpoint() {
return this.endpoint;
}
/**
* @return namespace
*/
public String getNamespace() {
return this.namespace;
}
/**
* @return ossPath
*/
public String getOssPath() {
return this.ossPath;
}
/**
* @return partition
*/
public String getPartition() {
return this.partition;
}
/**
* @return path
*/
public String getPath() {
return this.path;
}
/**
* @return project
*/
public String getProject() {
return this.project;
}
/**
* @return table
*/
public String getTable() {
return this.table;
}
/**
* @return tag
*/
public String getTag() {
return this.tag;
}
public static final class Builder {
private String accessKey;
private String bucket;
private String catalog;
private String database;
private String endpoint;
private String namespace;
private String ossPath;
private String partition;
private String path;
private String project;
private String table;
private String tag;
private Builder() {
}
private Builder(Config model) {
this.accessKey = model.accessKey;
this.bucket = model.bucket;
this.catalog = model.catalog;
this.database = model.database;
this.endpoint = model.endpoint;
this.namespace = model.namespace;
this.ossPath = model.ossPath;
this.partition = model.partition;
this.path = model.path;
this.project = model.project;
this.table = model.table;
this.tag = model.tag;
}
/**
* accessKey.
*/
public Builder accessKey(String accessKey) {
this.accessKey = accessKey;
return this;
}
/**
* bucket.
*/
public Builder bucket(String bucket) {
this.bucket = bucket;
return this;
}
/**
* catalog.
*/
public Builder catalog(String catalog) {
this.catalog = catalog;
return this;
}
/**
* database.
*/
public Builder database(String database) {
this.database = database;
return this;
}
/**
* endpoint.
*/
public Builder endpoint(String endpoint) {
this.endpoint = endpoint;
return this;
}
/**
* namespace.
*/
public Builder namespace(String namespace) {
this.namespace = namespace;
return this;
}
/**
* ossPath.
*/
public Builder ossPath(String ossPath) {
this.ossPath = ossPath;
return this;
}
/**
* partition.
*/
public Builder partition(String partition) {
this.partition = partition;
return this;
}
/**
* path.
*/
public Builder path(String path) {
this.path = path;
return this;
}
/**
* project.
*/
public Builder project(String project) {
this.project = project;
return this;
}
/**
* table.
*/
public Builder table(String table) {
this.table = table;
return this;
}
/**
* tag.
*/
public Builder tag(String tag) {
this.tag = tag;
return this;
}
public Config build() {
return new Config(this);
}
}
}
/**
*
* {@link ListInstancesResponseBody} extends {@link TeaModel}
*
* <p>ListInstancesResponseBody</p>
*/
public static class DataSourceDetails extends TeaModel {
@com.aliyun.core.annotation.NameInMap("config")
private Config config;
@com.aliyun.core.annotation.NameInMap("indexName")
private String indexName;
@com.aliyun.core.annotation.NameInMap("type")
private String type;
private DataSourceDetails(Builder builder) {
this.config = builder.config;
this.indexName = builder.indexName;
this.type = builder.type;
}
public static Builder builder() {
return new Builder();
}
public static DataSourceDetails create() {
return builder().build();
}
/**
* @return config
*/
public Config getConfig() {
return this.config;
}
/**
* @return indexName
*/
public String getIndexName() {
return this.indexName;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
public static final class Builder {
private Config config;
private String indexName;
private String type;
private Builder() {
}
private Builder(DataSourceDetails model) {
this.config = model.config;
this.indexName = model.indexName;
this.type = model.type;
}
/**
* config.
*/
public Builder config(Config config) {
this.config = config;
return this;
}
/**
* indexName.
*/
public Builder indexName(String indexName) {
this.indexName = indexName;
return this;
}
/**
* type.
*/
public Builder type(String type) {
this.type = type;
return this;
}
public DataSourceDetails build() {
return new DataSourceDetails(this);
}
}
}
/**
*
* {@link ListInstancesResponseBody} extends {@link TeaModel}
*
* <p>ListInstancesResponseBody</p>
*/
public static class Network extends TeaModel {
@com.aliyun.core.annotation.NameInMap("allow")
private String allow;
@com.aliyun.core.annotation.NameInMap("endpoint")
private String endpoint;
@com.aliyun.core.annotation.NameInMap("publicEndpoint")
private String publicEndpoint;
@com.aliyun.core.annotation.NameInMap("vSwitchId")
private String vSwitchId;
@com.aliyun.core.annotation.NameInMap("vpcId")
private String vpcId;
private Network(Builder builder) {
this.allow = builder.allow;
this.endpoint = builder.endpoint;
this.publicEndpoint = builder.publicEndpoint;
this.vSwitchId = builder.vSwitchId;
this.vpcId = builder.vpcId;
}
public static Builder builder() {
return new Builder();
}
public static Network create() {
return builder().build();
}
/**
* @return allow
*/
public String getAllow() {
return this.allow;
}
/**
* @return endpoint
*/
public String getEndpoint() {
return this.endpoint;
}
/**
* @return publicEndpoint
*/
public String getPublicEndpoint() {
return this.publicEndpoint;
}
/**
* @return vSwitchId
*/
public String getVSwitchId() {
return this.vSwitchId;
}
/**
* @return vpcId
*/
public String getVpcId() {
return this.vpcId;
}
public static final class Builder {
private String allow;
private String endpoint;
private String publicEndpoint;
private String vSwitchId;
private String vpcId;
private Builder() {
}
private Builder(Network model) {
this.allow = model.allow;
this.endpoint = model.endpoint;
this.publicEndpoint = model.publicEndpoint;
this.vSwitchId = model.vSwitchId;
this.vpcId = model.vpcId;
}
/**
* allow.
*/
public Builder allow(String allow) {
this.allow = allow;
return this;
}
/**
* <p>The instance endpoint.</p>
*
* <strong>example:</strong>
* <p>""</p>
*/
public Builder endpoint(String endpoint) {
this.endpoint = endpoint;
return this;
}
/**
* publicEndpoint.
*/
public Builder publicEndpoint(String publicEndpoint) {
this.publicEndpoint = publicEndpoint;
return this;
}
/**
* <p>The vSwitch ID.</p>
*
* <strong>example:</strong>
* <p>vsw-bp11ldcf59q2nbwkqgj6z</p>
*/
public Builder vSwitchId(String vSwitchId) {
this.vSwitchId = vSwitchId;
return this;
}
/**
* <p>The ID of the virtual private cloud (VPC) in which the instance is deployed.</p>
*
* <strong>example:</strong>
* <p>vpc-wz9axk41d9vffoc79x0oe</p>
*/
public Builder vpcId(String vpcId) {
this.vpcId = vpcId;
return this;
}
public Network build() {
return new Network(this);
}
}
}
/**
*
* {@link ListInstancesResponseBody} extends {@link TeaModel}
*
* <p>ListInstancesResponseBody</p>
*/
public static class QrsResource extends TeaModel {
@com.aliyun.core.annotation.NameInMap("category")
private String category;
@com.aliyun.core.annotation.NameInMap("cpu")
private Integer cpu;
@com.aliyun.core.annotation.NameInMap("disk")
private Integer disk;
@com.aliyun.core.annotation.NameInMap("mem")
private Integer mem;
@com.aliyun.core.annotation.NameInMap("nodeCount")
private Integer nodeCount;
private QrsResource(Builder builder) {
this.category = builder.category;
this.cpu = builder.cpu;
this.disk = builder.disk;
this.mem = builder.mem;
this.nodeCount = builder.nodeCount;
}
public static Builder builder() {
return new Builder();
}
public static QrsResource create() {
return builder().build();
}
/**
* @return category
*/
public String getCategory() {
return this.category;
}
/**
* @return cpu
*/
public Integer getCpu() {
return this.cpu;
}
/**
* @return disk
*/
public Integer getDisk() {
return this.disk;
}
/**
* @return mem
*/
public Integer getMem() {
return this.mem;
}
/**
* @return nodeCount
*/
public Integer getNodeCount() {
return this.nodeCount;
}
public static final class Builder {
private String category;
private Integer cpu;
private Integer disk;
private Integer mem;
private Integer nodeCount;
private Builder() {
}
private Builder(QrsResource model) {
this.category = model.category;
this.cpu = model.cpu;
this.disk = model.disk;
this.mem = model.mem;
this.nodeCount = model.nodeCount;
}
/**
* category.
*/
public Builder category(String category) {
this.category = category;
return this;
}
/**
* cpu.
*/
public Builder cpu(Integer cpu) {
this.cpu = cpu;
return this;
}
/**
* disk.
*/
public Builder disk(Integer disk) {
this.disk = disk;
return this;
}
/**
* mem.
*/
public Builder mem(Integer mem) {
this.mem = mem;
return this;
}
/**
* nodeCount.
*/
public Builder nodeCount(Integer nodeCount) {
this.nodeCount = nodeCount;
return this;
}
public QrsResource build() {
return new QrsResource(this);
}
}
}
/**
*
* {@link ListInstancesResponseBody} extends {@link TeaModel}
*
* <p>ListInstancesResponseBody</p>
*/
public static class SearchResource extends TeaModel {
@com.aliyun.core.annotation.NameInMap("category")
private String category;
@com.aliyun.core.annotation.NameInMap("cpu")
private Integer cpu;
@com.aliyun.core.annotation.NameInMap("disk")
private Integer disk;
@com.aliyun.core.annotation.NameInMap("mem")
private Integer mem;
@com.aliyun.core.annotation.NameInMap("nodeCount")
private Integer nodeCount;
private SearchResource(Builder builder) {
this.category = builder.category;
this.cpu = builder.cpu;
this.disk = builder.disk;
this.mem = builder.mem;
this.nodeCount = builder.nodeCount;
}
public static Builder builder() {
return new Builder();
}
public static SearchResource create() {
return builder().build();
}
/**
* @return category
*/
public String getCategory() {
return this.category;
}
/**
* @return cpu
*/
public Integer getCpu() {
return this.cpu;
}
/**
* @return disk
*/
public Integer getDisk() {
return this.disk;
}
/**
* @return mem
*/
public Integer getMem() {
return this.mem;
}
/**
* @return nodeCount
*/
public Integer getNodeCount() {
return this.nodeCount;
}
public static final class Builder {
private String category;
private Integer cpu;
private Integer disk;
private Integer mem;
private Integer nodeCount;
private Builder() {
}
private Builder(SearchResource model) {
this.category = model.category;
this.cpu = model.cpu;
this.disk = model.disk;
this.mem = model.mem;
this.nodeCount = model.nodeCount;
}
/**
* category.
*/
public Builder category(String category) {
this.category = category;
return this;
}
/**
* cpu.
*/
public Builder cpu(Integer cpu) {
this.cpu = cpu;
return this;
}
/**
* disk.
*/
public Builder disk(Integer disk) {
this.disk = disk;
return this;
}
/**
* mem.
*/
public Builder mem(Integer mem) {
this.mem = mem;
return this;
}
/**
* nodeCount.
*/
public Builder nodeCount(Integer nodeCount) {
this.nodeCount = nodeCount;
return this;
}
public SearchResource build() {
return new SearchResource(this);
}
}
}
/**
*
* {@link ListInstancesResponseBody} extends {@link TeaModel}
*
* <p>ListInstancesResponseBody</p>
*/
public static class Spec extends TeaModel {
@com.aliyun.core.annotation.NameInMap("qrsResource")
private QrsResource qrsResource;
@com.aliyun.core.annotation.NameInMap("searchResource")
private SearchResource searchResource;
private Spec(Builder builder) {
this.qrsResource = builder.qrsResource;
this.searchResource = builder.searchResource;
}
public static Builder builder() {
return new Builder();
}
public static Spec create() {
return builder().build();
}
/**
* @return qrsResource
*/
public QrsResource getQrsResource() {
return this.qrsResource;
}
/**
* @return searchResource
*/
public SearchResource getSearchResource() {
return this.searchResource;
}
public static final class Builder {
private QrsResource qrsResource;
private SearchResource searchResource;
private Builder() {
}
private Builder(Spec model) {
this.qrsResource = model.qrsResource;
this.searchResource = model.searchResource;
}
/**
* qrsResource.
*/
public Builder qrsResource(QrsResource qrsResource) {
this.qrsResource = qrsResource;
return this;
}
/**
* searchResource.
*/
public Builder searchResource(SearchResource searchResource) {
this.searchResource = searchResource;
return this;
}
public Spec build() {
return new Spec(this);
}
}
}
/**
*
* {@link ListInstancesResponseBody} extends {@link TeaModel}
*
* <p>ListInstancesResponseBody</p>
*/
public static class Tags extends TeaModel {
@com.aliyun.core.annotation.NameInMap("key")
private String key;
@com.aliyun.core.annotation.NameInMap("value")
private String value;
private Tags(Builder builder) {
this.key = builder.key;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static Tags create() {
return builder().build();
}
/**
* @return key
*/
public String getKey() {
return this.key;
}
/**
* @return value
*/
public String getValue() {
return this.value;
}
public static final class Builder {
private String key;
private String value;
private Builder() {
}
private Builder(Tags model) {
this.key = model.key;
this.value = model.value;
}
/**
* <p>The tag key.</p>
*
* <strong>example:</strong>
* <p>env</p>
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* <p>The tag value.</p>
*
* <strong>example:</strong>
* <p>oboms-disk</p>
*/
public Builder value(String value) {
this.value = value;
return this;
}
public Tags build() {
return new Tags(this);
}
}
}
/**
*
* {@link ListInstancesResponseBody} extends {@link TeaModel}
*
* <p>ListInstancesResponseBody</p>
*/
public static class Result extends TeaModel {
@com.aliyun.core.annotation.NameInMap("chargeType")
private String chargeType;
@com.aliyun.core.annotation.NameInMap("commodityCode")
private String commodityCode;
@com.aliyun.core.annotation.NameInMap("createTime")
private String createTime;
@com.aliyun.core.annotation.NameInMap("dataSourceDetails")
private java.util.List<DataSourceDetails> dataSourceDetails;
@com.aliyun.core.annotation.NameInMap("description")
private String description;
@com.aliyun.core.annotation.NameInMap("edition")
private String edition;
@com.aliyun.core.annotation.NameInMap("expiredTime")
private String expiredTime;
@com.aliyun.core.annotation.NameInMap("inDebt")
private Boolean inDebt;
@com.aliyun.core.annotation.NameInMap("instanceId")
private String instanceId;
@com.aliyun.core.annotation.NameInMap("lockMode")
private String lockMode;
@com.aliyun.core.annotation.NameInMap("network")
private Network network;
@com.aliyun.core.annotation.NameInMap("noQrs")
private Boolean noQrs;
@com.aliyun.core.annotation.NameInMap("resourceGroupId")
private String resourceGroupId;
@com.aliyun.core.annotation.NameInMap("spec")
private Spec spec;
@com.aliyun.core.annotation.NameInMap("status")
private String status;
@com.aliyun.core.annotation.NameInMap("tags")
private java.util.List<Tags> tags;
@com.aliyun.core.annotation.NameInMap("updateTime")
private String updateTime;
@com.aliyun.core.annotation.NameInMap("userName")
private String userName;
@com.aliyun.core.annotation.NameInMap("version")
private String version;
private Result(Builder builder) {
this.chargeType = builder.chargeType;
this.commodityCode = builder.commodityCode;
this.createTime = builder.createTime;
this.dataSourceDetails = builder.dataSourceDetails;
this.description = builder.description;
this.edition = builder.edition;
this.expiredTime = builder.expiredTime;
this.inDebt = builder.inDebt;
this.instanceId = builder.instanceId;
this.lockMode = builder.lockMode;
this.network = builder.network;
this.noQrs = builder.noQrs;
this.resourceGroupId = builder.resourceGroupId;
this.spec = builder.spec;
this.status = builder.status;
this.tags = builder.tags;
this.updateTime = builder.updateTime;
this.userName = builder.userName;
this.version = builder.version;
}
public static Builder builder() {
return new Builder();
}
public static Result create() {
return builder().build();
}
/**
* @return chargeType
*/
public String getChargeType() {
return this.chargeType;
}
/**
* @return commodityCode
*/
public String getCommodityCode() {
return this.commodityCode;
}
/**
* @return createTime
*/
public String getCreateTime() {
return this.createTime;
}
/**
* @return dataSourceDetails
*/
public java.util.List<DataSourceDetails> getDataSourceDetails() {
return this.dataSourceDetails;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return edition
*/
public String getEdition() {
return this.edition;
}
/**
* @return expiredTime
*/
public String getExpiredTime() {
return this.expiredTime;
}
/**
* @return inDebt
*/
public Boolean getInDebt() {
return this.inDebt;
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
/**
* @return lockMode
*/
public String getLockMode() {
return this.lockMode;
}
/**
* @return network
*/
public Network getNetwork() {
return this.network;
}
/**
* @return noQrs
*/
public Boolean getNoQrs() {
return this.noQrs;
}
/**
* @return resourceGroupId
*/
public String getResourceGroupId() {
return this.resourceGroupId;
}
/**
* @return spec
*/
public Spec getSpec() {
return this.spec;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return tags
*/
public java.util.List<Tags> getTags() {
return this.tags;
}
/**
* @return updateTime
*/
public String getUpdateTime() {
return this.updateTime;
}
/**
* @return userName
*/
public String getUserName() {
return this.userName;
}
/**
* @return version
*/
public String getVersion() {
return this.version;
}
public static final class Builder {
private String chargeType;
private String commodityCode;
private String createTime;
private java.util.List<DataSourceDetails> dataSourceDetails;
private String description;
private String edition;
private String expiredTime;
private Boolean inDebt;
private String instanceId;
private String lockMode;
private Network network;
private Boolean noQrs;
private String resourceGroupId;
private Spec spec;
private String status;
private java.util.List<Tags> tags;
private String updateTime;
private String userName;
private String version;
private Builder() {
}
private Builder(Result model) {
this.chargeType = model.chargeType;
this.commodityCode = model.commodityCode;
this.createTime = model.createTime;
this.dataSourceDetails = model.dataSourceDetails;
this.description = model.description;
this.edition = model.edition;
this.expiredTime = model.expiredTime;
this.inDebt = model.inDebt;
this.instanceId = model.instanceId;
this.lockMode = model.lockMode;
this.network = model.network;
this.noQrs = model.noQrs;
this.resourceGroupId = model.resourceGroupId;
this.spec = model.spec;
this.status = model.status;
this.tags = model.tags;
this.updateTime = model.updateTime;
this.userName = model.userName;
this.version = model.version;
}
/**
* <p>The billing method.</p>
*
* <strong>example:</strong>
* <p>PrePaid</p>
*/
public Builder chargeType(String chargeType) {
this.chargeType = chargeType;
return this;
}
/**
* <p>The commodity code of the instance.</p>
*
* <strong>example:</strong>
* <p>""</p>
*/
public Builder commodityCode(String commodityCode) {
this.commodityCode = commodityCode;
return this;
}
/**
* <p>The time when the instance was created.</p>
*
* <strong>example:</strong>
* <p>2022-06-04T02:03:21Z</p>
*/
public Builder createTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* dataSourceDetails.
*/
public Builder dataSourceDetails(java.util.List<DataSourceDetails> dataSourceDetails) {
this.dataSourceDetails = dataSourceDetails;
return this;
}
/**
* <p>The description of the instance.</p>
*
* <strong>example:</strong>
* <p>Emergency test</p>
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* edition.
*/
public Builder edition(String edition) {
this.edition = edition;
return this;
}
/**
* <p>The time when the instance expires.</p>
*
* <strong>example:</strong>
* <p>1634885083</p>
*/
public Builder expiredTime(String expiredTime) {
this.expiredTime = expiredTime;
return this;
}
/**
* <p>Indicates whether an overdue payment is involved.</p>
*
* <strong>example:</strong>
* <p>false</p>
*/
public Builder inDebt(Boolean inDebt) {
this.inDebt = inDebt;
return this;
}
/**
* <p>The instance ID.</p>
*
* <strong>example:</strong>
* <p>ha-cn-2r42n8oh001</p>
*/
public Builder instanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
/**
* <p>The lock state of the instance.</p>
*
* <strong>example:</strong>
* <p>Unlock</p>
*/
public Builder lockMode(String lockMode) {
this.lockMode = lockMode;
return this;
}
/**
* <p>The network information of the instance.</p>
*/
public Builder network(Network network) {
this.network = network;
return this;
}
/**
* noQrs.
*/
public Builder noQrs(Boolean noQrs) {
this.noQrs = noQrs;
return this;
}
/**
* <p>The ID of the resource group.</p>
*
* <strong>example:</strong>
* <p>rg-aekzgpiswzbksdi</p>
*/
public Builder resourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
return this;
}
/**
* spec.
*/
public Builder spec(Spec spec) {
this.spec = spec;
return this;
}
/**
* <p>The instance status.</p>
*
* <strong>example:</strong>
* <p>2</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* <p>The tags of the instance.</p>
*/
public Builder tags(java.util.List<Tags> tags) {
this.tags = tags;
return this;
}
/**
* <p>The time when the instance was updated.</p>
*
* <strong>example:</strong>
* <p>2018-12-06T11:17:49.0</p>
*/
public Builder updateTime(String updateTime) {
this.updateTime = updateTime;
return this;
}
/**
* userName.
*/
public Builder userName(String userName) {
this.userName = userName;
return this;
}
/**
* version.
*/
public Builder version(String version) {
this.version = version;
return this;
}
public Result build() {
return new Result(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListLogsRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListLogsRequest} extends {@link RequestModel}
*
* <p>ListLogsRequest</p>
*/
public class ListLogsRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("instanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String instanceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("endTime")
private String endTime;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("pageNum")
private String pageNum;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("pageSize")
private String pageSize;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("query")
private String query;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("startTime")
private String startTime;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("type")
private String type;
private ListLogsRequest(Builder builder) {
super(builder);
this.instanceId = builder.instanceId;
this.endTime = builder.endTime;
this.pageNum = builder.pageNum;
this.pageSize = builder.pageSize;
this.query = builder.query;
this.startTime = builder.startTime;
this.type = builder.type;
}
public static Builder builder() {
return new Builder();
}
public static ListLogsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
/**
* @return endTime
*/
public String getEndTime() {
return this.endTime;
}
/**
* @return pageNum
*/
public String getPageNum() {
return this.pageNum;
}
/**
* @return pageSize
*/
public String getPageSize() {
return this.pageSize;
}
/**
* @return query
*/
public String getQuery() {
return this.query;
}
/**
* @return startTime
*/
public String getStartTime() {
return this.startTime;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
public static final class Builder extends Request.Builder<ListLogsRequest, Builder> {
private String instanceId;
private String endTime;
private String pageNum;
private String pageSize;
private String query;
private String startTime;
private String type;
private Builder() {
super();
}
private Builder(ListLogsRequest request) {
super(request);
this.instanceId = request.instanceId;
this.endTime = request.endTime;
this.pageNum = request.pageNum;
this.pageSize = request.pageSize;
this.query = request.query;
this.startTime = request.startTime;
this.type = request.type;
}
/**
* <p>The instance ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ha-cn-i7m2roiy504</p>
*/
public Builder instanceId(String instanceId) {
this.putPathParameter("instanceId", instanceId);
this.instanceId = instanceId;
return this;
}
/**
* <p>The end tim. The value is a timestamp in seconds.</p>
*
* <strong>example:</strong>
* <p>1710432000</p>
*/
public Builder endTime(String endTime) {
this.putQueryParameter("endTime", endTime);
this.endTime = endTime;
return this;
}
/**
* <p>The number of entries per num. Default value: 1.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder pageNum(String pageNum) {
this.putQueryParameter("pageNum", pageNum);
this.pageNum = pageNum;
return this;
}
/**
* <p>The number of entries per page. Default value: 10.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder pageSize(String pageSize) {
this.putQueryParameter("pageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* <p>The query statement</p>
*
* <strong>example:</strong>
* <p>status: 200 AND totalTime > 0.01</p>
*/
public Builder query(String query) {
this.putQueryParameter("query", query);
this.query = query;
return this;
}
/**
* <p>The start time. The value is a timestamp in seconds.</p>
*
* <strong>example:</strong>
* <p>1706340600</p>
*/
public Builder startTime(String startTime) {
this.putQueryParameter("startTime", startTime);
this.startTime = startTime;
return this;
}
/**
* <p>-push -select</p>
*
* <strong>example:</strong>
* <p>push</p>
*/
public Builder type(String type) {
this.putQueryParameter("type", type);
this.type = type;
return this;
}
@Override
public ListLogsRequest build() {
return new ListLogsRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListLogsResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListLogsResponse} extends {@link TeaModel}
*
* <p>ListLogsResponse</p>
*/
public class ListLogsResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListLogsResponseBody body;
private ListLogsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListLogsResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListLogsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListLogsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListLogsResponseBody body);
@Override
ListLogsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListLogsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListLogsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListLogsResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListLogsResponseBody body) {
this.body = body;
return this;
}
@Override
public ListLogsResponse build() {
return new ListLogsResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListLogsResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListLogsResponseBody} extends {@link TeaModel}
*
* <p>ListLogsResponseBody</p>
*/
public class ListLogsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("requestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("result")
private Result result;
private ListLogsResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.result = builder.result;
}
public static Builder builder() {
return new Builder();
}
public static ListLogsResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return result
*/
public Result getResult() {
return this.result;
}
public static final class Builder {
private String requestId;
private Result result;
private Builder() {
}
private Builder(ListLogsResponseBody model) {
this.requestId = model.requestId;
this.result = model.result;
}
/**
* <p>id of request</p>
*
* <strong>example:</strong>
* <p>022F36C7-9FB4-5D67-BEBC-3D14B0984463</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>ListResult</p>
*/
public Builder result(Result result) {
this.result = result;
return this;
}
public ListLogsResponseBody build() {
return new ListLogsResponseBody(this);
}
}
/**
*
* {@link ListLogsResponseBody} extends {@link TeaModel}
*
* <p>ListLogsResponseBody</p>
*/
public static class Result extends TeaModel {
@com.aliyun.core.annotation.NameInMap("result")
private java.util.List<?> result;
@com.aliyun.core.annotation.NameInMap("totalCount")
private Integer totalCount;
private Result(Builder builder) {
this.result = builder.result;
this.totalCount = builder.totalCount;
}
public static Builder builder() {
return new Builder();
}
public static Result create() {
return builder().build();
}
/**
* @return result
*/
public java.util.List<?> getResult() {
return this.result;
}
/**
* @return totalCount
*/
public Integer getTotalCount() {
return this.totalCount;
}
public static final class Builder {
private java.util.List<?> result;
private Integer totalCount;
private Builder() {
}
private Builder(Result model) {
this.result = model.result;
this.totalCount = model.totalCount;
}
/**
* <p>The result.</p>
*/
public Builder result(java.util.List<?> result) {
this.result = result;
return this;
}
/**
* <p>The total number of entries returned</p>
*
* <strong>example:</strong>
* <p>5</p>
*/
public Builder totalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public Result build() {
return new Result(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListOnlineConfigsRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListOnlineConfigsRequest} extends {@link RequestModel}
*
* <p>ListOnlineConfigsRequest</p>
*/
public class ListOnlineConfigsRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("instanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String instanceId;
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("nodeName")
@com.aliyun.core.annotation.Validation(required = true)
private String nodeName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("domain")
@com.aliyun.core.annotation.Validation(required = true)
private String domain;
private ListOnlineConfigsRequest(Builder builder) {
super(builder);
this.instanceId = builder.instanceId;
this.nodeName = builder.nodeName;
this.domain = builder.domain;
}
public static Builder builder() {
return new Builder();
}
public static ListOnlineConfigsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
/**
* @return nodeName
*/
public String getNodeName() {
return this.nodeName;
}
/**
* @return domain
*/
public String getDomain() {
return this.domain;
}
public static final class Builder extends Request.Builder<ListOnlineConfigsRequest, Builder> {
private String instanceId;
private String nodeName;
private String domain;
private Builder() {
super();
}
private Builder(ListOnlineConfigsRequest request) {
super(request);
this.instanceId = request.instanceId;
this.nodeName = request.nodeName;
this.domain = request.domain;
}
/**
* <p>The instance ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ha-cn-0ju2s170b03</p>
*/
public Builder instanceId(String instanceId) {
this.putPathParameter("instanceId", instanceId);
this.instanceId = instanceId;
return this;
}
/**
* <p>The name of the Query Result Searcher (QRS) worker.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ha-cn-2r42ostoc01_qrs</p>
*/
public Builder nodeName(String nodeName) {
this.putPathParameter("nodeName", nodeName);
this.nodeName = nodeName;
return this;
}
/**
* <p>The name of the domain</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>sz_vpc_domain_1</p>
*/
public Builder domain(String domain) {
this.putQueryParameter("domain", domain);
this.domain = domain;
return this;
}
@Override
public ListOnlineConfigsRequest build() {
return new ListOnlineConfigsRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListOnlineConfigsResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListOnlineConfigsResponse} extends {@link TeaModel}
*
* <p>ListOnlineConfigsResponse</p>
*/
public class ListOnlineConfigsResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListOnlineConfigsResponseBody body;
private ListOnlineConfigsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListOnlineConfigsResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListOnlineConfigsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListOnlineConfigsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListOnlineConfigsResponseBody body);
@Override
ListOnlineConfigsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListOnlineConfigsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListOnlineConfigsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListOnlineConfigsResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListOnlineConfigsResponseBody body) {
this.body = body;
return this;
}
@Override
public ListOnlineConfigsResponse build() {
return new ListOnlineConfigsResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListOnlineConfigsResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListOnlineConfigsResponseBody} extends {@link TeaModel}
*
* <p>ListOnlineConfigsResponseBody</p>
*/
public class ListOnlineConfigsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("requestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("result")
private java.util.List<Result> result;
private ListOnlineConfigsResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.result = builder.result;
}
public static Builder builder() {
return new Builder();
}
public static ListOnlineConfigsResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return result
*/
public java.util.List<Result> getResult() {
return this.result;
}
public static final class Builder {
private String requestId;
private java.util.List<Result> result;
private Builder() {
}
private Builder(ListOnlineConfigsResponseBody model) {
this.requestId = model.requestId;
this.result = model.result;
}
/**
* <p>id of request</p>
*
* <strong>example:</strong>
* <p>E45380E8-994A-5402-9806-F114B3295FCF</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>List</p>
*/
public Builder result(java.util.List<Result> result) {
this.result = result;
return this;
}
public ListOnlineConfigsResponseBody build() {
return new ListOnlineConfigsResponseBody(this);
}
}
/**
*
* {@link ListOnlineConfigsResponseBody} extends {@link TeaModel}
*
* <p>ListOnlineConfigsResponseBody</p>
*/
public static class Result extends TeaModel {
@com.aliyun.core.annotation.NameInMap("config")
private String config;
@com.aliyun.core.annotation.NameInMap("indexName")
private String indexName;
private Result(Builder builder) {
this.config = builder.config;
this.indexName = builder.indexName;
}
public static Builder builder() {
return new Builder();
}
public static Result create() {
return builder().build();
}
/**
* @return config
*/
public String getConfig() {
return this.config;
}
/**
* @return indexName
*/
public String getIndexName() {
return this.indexName;
}
public static final class Builder {
private String config;
private String indexName;
private Builder() {
}
private Builder(Result model) {
this.config = model.config;
this.indexName = model.indexName;
}
/**
* <p>The configuration information</p>
*
* <strong>example:</strong>
* <p>{"specItems":[{"specKey":"YQ_KEYWORD_NUMBER_PLUS","value":"1"}]}</p>
*/
public Builder config(String config) {
this.config = config;
return this;
}
/**
* <p>The name of the index</p>
*
* <strong>example:</strong>
* <p>generation</p>
*/
public Builder indexName(String indexName) {
this.indexName = indexName;
return this;
}
public Result build() {
return new Result(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListPausePolicysRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListPausePolicysRequest} extends {@link RequestModel}
*
* <p>ListPausePolicysRequest</p>
*/
public class ListPausePolicysRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("instanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String instanceId;
private ListPausePolicysRequest(Builder builder) {
super(builder);
this.instanceId = builder.instanceId;
}
public static Builder builder() {
return new Builder();
}
public static ListPausePolicysRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
public static final class Builder extends Request.Builder<ListPausePolicysRequest, Builder> {
private String instanceId;
private Builder() {
super();
}
private Builder(ListPausePolicysRequest request) {
super(request);
this.instanceId = request.instanceId;
}
/**
* <p>The instance ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ha-cn-i7m2roiy504</p>
*/
public Builder instanceId(String instanceId) {
this.putPathParameter("instanceId", instanceId);
this.instanceId = instanceId;
return this;
}
@Override
public ListPausePolicysRequest build() {
return new ListPausePolicysRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListPausePolicysResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListPausePolicysResponse} extends {@link TeaModel}
*
* <p>ListPausePolicysResponse</p>
*/
public class ListPausePolicysResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListPausePolicysResponseBody body;
private ListPausePolicysResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListPausePolicysResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListPausePolicysResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListPausePolicysResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListPausePolicysResponseBody body);
@Override
ListPausePolicysResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListPausePolicysResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListPausePolicysResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListPausePolicysResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListPausePolicysResponseBody body) {
this.body = body;
return this;
}
@Override
public ListPausePolicysResponse build() {
return new ListPausePolicysResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListPausePolicysResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListPausePolicysResponseBody} extends {@link TeaModel}
*
* <p>ListPausePolicysResponseBody</p>
*/
public class ListPausePolicysResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("requestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("result")
private java.util.Map<String, ResultValue> result;
private ListPausePolicysResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.result = builder.result;
}
public static Builder builder() {
return new Builder();
}
public static ListPausePolicysResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return result
*/
public java.util.Map<String, ResultValue> getResult() {
return this.result;
}
public static final class Builder {
private String requestId;
private java.util.Map<String, ResultValue> result;
private Builder() {
}
private Builder(ListPausePolicysResponseBody model) {
this.requestId = model.requestId;
this.result = model.result;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>2AE63638-5420-56DC-BF59-37D8174039A0</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The result.</p>
*/
public Builder result(java.util.Map<String, ResultValue> result) {
this.result = result;
return this;
}
public ListPausePolicysResponseBody build() {
return new ListPausePolicysResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListPostQueryResultRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListPostQueryResultRequest} extends {@link RequestModel}
*
* <p>ListPostQueryResultRequest</p>
*/
public class ListPostQueryResultRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("instanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String instanceId;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("body")
private java.util.Map<String, ?> body;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("type")
private String type;
private ListPostQueryResultRequest(Builder builder) {
super(builder);
this.instanceId = builder.instanceId;
this.body = builder.body;
this.type = builder.type;
}
public static Builder builder() {
return new Builder();
}
public static ListPostQueryResultRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
/**
* @return body
*/
public java.util.Map<String, ?> getBody() {
return this.body;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
public static final class Builder extends Request.Builder<ListPostQueryResultRequest, Builder> {
private String instanceId;
private java.util.Map<String, ?> body;
private String type;
private Builder() {
super();
}
private Builder(ListPostQueryResultRequest request) {
super(request);
this.instanceId = request.instanceId;
this.body = request.body;
this.type = request.type;
}
/**
* <p>The instance ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ha-cn-2r42ppr7901</p>
*/
public Builder instanceId(String instanceId) {
this.putPathParameter("instanceId", instanceId);
this.instanceId = instanceId;
return this;
}
/**
* <p>The request body.</p>
*
* <strong>example:</strong>
* <p>{}</p>
*/
public Builder body(java.util.Map<String, ?> body) {
this.putBodyParameter("body", body);
this.body = body;
return this;
}
/**
* <p>The query type. Valid values: sql: SQL query. ha3: Havenask query.</p>
*
* <strong>example:</strong>
* <p>ha3</p>
*/
public Builder type(String type) {
this.putQueryParameter("type", type);
this.type = type;
return this;
}
@Override
public ListPostQueryResultRequest build() {
return new ListPostQueryResultRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListPostQueryResultResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListPostQueryResultResponse} extends {@link TeaModel}
*
* <p>ListPostQueryResultResponse</p>
*/
public class ListPostQueryResultResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListPostQueryResultResponseBody body;
private ListPostQueryResultResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListPostQueryResultResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListPostQueryResultResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListPostQueryResultResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListPostQueryResultResponseBody body);
@Override
ListPostQueryResultResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListPostQueryResultResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListPostQueryResultResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListPostQueryResultResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListPostQueryResultResponseBody body) {
this.body = body;
return this;
}
@Override
public ListPostQueryResultResponse build() {
return new ListPostQueryResultResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListPostQueryResultResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListPostQueryResultResponseBody} extends {@link TeaModel}
*
* <p>ListPostQueryResultResponseBody</p>
*/
public class ListPostQueryResultResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("requestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("result")
private Object result;
private ListPostQueryResultResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.result = builder.result;
}
public static Builder builder() {
return new Builder();
}
public static ListPostQueryResultResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return result
*/
public Object getResult() {
return this.result;
}
public static final class Builder {
private String requestId;
private Object result;
private Builder() {
}
private Builder(ListPostQueryResultResponseBody model) {
this.requestId = model.requestId;
this.result = model.result;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>022F36C7-9FB4-5D67-BEBC-3D14B0984463</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The result.</p>
*
* <strong>example:</strong>
* <p>{}</p>
*/
public Builder result(Object result) {
this.result = result;
return this;
}
public ListPostQueryResultResponseBody build() {
return new ListPostQueryResultResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListQueryResultRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListQueryResultRequest} extends {@link RequestModel}
*
* <p>ListQueryResultRequest</p>
*/
public class ListQueryResultRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("instanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String instanceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("query")
private String query;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("sql")
private String sql;
private ListQueryResultRequest(Builder builder) {
super(builder);
this.instanceId = builder.instanceId;
this.query = builder.query;
this.sql = builder.sql;
}
public static Builder builder() {
return new Builder();
}
public static ListQueryResultRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
/**
* @return query
*/
public String getQuery() {
return this.query;
}
/**
* @return sql
*/
public String getSql() {
return this.sql;
}
public static final class Builder extends Request.Builder<ListQueryResultRequest, Builder> {
private String instanceId;
private String query;
private String sql;
private Builder() {
super();
}
private Builder(ListQueryResultRequest request) {
super(request);
this.instanceId = request.instanceId;
this.query = request.query;
this.sql = request.sql;
}
/**
* <p>The instance ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ha-cn-i7m2olkw201</p>
*/
public Builder instanceId(String instanceId) {
this.putPathParameter("instanceId", instanceId);
this.instanceId = instanceId;
return this;
}
/**
* <p>The query statement</p>
*
* <strong>example:</strong>
* <p>query%3D1%26%26config%3Dstart%3A0%2Chit%3A10%2Cformat%3Ajson%26%26cluster%3Dgeneral</p>
*/
public Builder query(String query) {
this.putQueryParameter("query", query);
this.query = query;
return this;
}
/**
* <p>The SQL statement that is executed in the query</p>
*
* <strong>example:</strong>
* <p>query%3Dselect%20max(content_id)%20from%20generation</p>
*/
public Builder sql(String sql) {
this.putQueryParameter("sql", sql);
this.sql = sql;
return this;
}
@Override
public ListQueryResultRequest build() {
return new ListQueryResultRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListQueryResultResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListQueryResultResponse} extends {@link TeaModel}
*
* <p>ListQueryResultResponse</p>
*/
public class ListQueryResultResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListQueryResultResponseBody body;
private ListQueryResultResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListQueryResultResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListQueryResultResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListQueryResultResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListQueryResultResponseBody body);
@Override
ListQueryResultResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListQueryResultResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListQueryResultResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListQueryResultResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListQueryResultResponseBody body) {
this.body = body;
return this;
}
@Override
public ListQueryResultResponse build() {
return new ListQueryResultResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListQueryResultResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListQueryResultResponseBody} extends {@link TeaModel}
*
* <p>ListQueryResultResponseBody</p>
*/
public class ListQueryResultResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("requestId")
private String requestId;
private ListQueryResultResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static ListQueryResultResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
private Builder() {
}
private Builder(ListQueryResultResponseBody model) {
this.requestId = model.requestId;
}
/**
* <p>The ID of the request</p>
*
* <strong>example:</strong>
* <p>9E5BCFAA-98B3-51D0-9188-B1BC07589337</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public ListQueryResultResponseBody build() {
return new ListQueryResultResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListRestQueryResultRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListRestQueryResultRequest} extends {@link RequestModel}
*
* <p>ListRestQueryResultRequest</p>
*/
public class ListRestQueryResultRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("instanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String instanceId;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("indexName")
private String indexName;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("query")
private java.util.Map<String, ?> query;
private ListRestQueryResultRequest(Builder builder) {
super(builder);
this.instanceId = builder.instanceId;
this.indexName = builder.indexName;
this.query = builder.query;
}
public static Builder builder() {
return new Builder();
}
public static ListRestQueryResultRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
/**
* @return indexName
*/
public String getIndexName() {
return this.indexName;
}
/**
* @return query
*/
public java.util.Map<String, ?> getQuery() {
return this.query;
}
public static final class Builder extends Request.Builder<ListRestQueryResultRequest, Builder> {
private String instanceId;
private String indexName;
private java.util.Map<String, ?> query;
private Builder() {
super();
}
private Builder(ListRestQueryResultRequest request) {
super(request);
this.instanceId = request.instanceId;
this.indexName = request.indexName;
this.query = request.query;
}
/**
* <p>The instance ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ha-cn-tl32n3iu801</p>
*/
public Builder instanceId(String instanceId) {
this.putPathParameter("instanceId", instanceId);
this.instanceId = instanceId;
return this;
}
/**
* <p>The name of the index table.</p>
*
* <strong>example:</strong>
* <p>main_index</p>
*/
public Builder indexName(String indexName) {
this.putBodyParameter("indexName", indexName);
this.indexName = indexName;
return this;
}
/**
* <p>The rest query statement.</p>
*
* <strong>example:</strong>
* <p>query%3Drelation_id%3A%221151274675_2%22%26%26cluster%3Dgeneral%26%26config%3Dstart%3A0%2Chit%3A10%2Cformat%3Ajson</p>
*/
public Builder query(java.util.Map<String, ?> query) {
this.putBodyParameter("query", query);
this.query = query;
return this;
}
@Override
public ListRestQueryResultRequest build() {
return new ListRestQueryResultRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListRestQueryResultResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListRestQueryResultResponse} extends {@link TeaModel}
*
* <p>ListRestQueryResultResponse</p>
*/
public class ListRestQueryResultResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListRestQueryResultResponseBody body;
private ListRestQueryResultResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListRestQueryResultResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListRestQueryResultResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListRestQueryResultResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListRestQueryResultResponseBody body);
@Override
ListRestQueryResultResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListRestQueryResultResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListRestQueryResultResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListRestQueryResultResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListRestQueryResultResponseBody body) {
this.body = body;
return this;
}
@Override
public ListRestQueryResultResponse build() {
return new ListRestQueryResultResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListRestQueryResultResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListRestQueryResultResponseBody} extends {@link TeaModel}
*
* <p>ListRestQueryResultResponseBody</p>
*/
public class ListRestQueryResultResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("requestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("result")
private Object result;
private ListRestQueryResultResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.result = builder.result;
}
public static Builder builder() {
return new Builder();
}
public static ListRestQueryResultResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return result
*/
public Object getResult() {
return this.result;
}
public static final class Builder {
private String requestId;
private Object result;
private Builder() {
}
private Builder(ListRestQueryResultResponseBody model) {
this.requestId = model.requestId;
this.result = model.result;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>F43E8AB4-419C-5F4C-90D6-615590DFAA3C</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The result.</p>
*
* <strong>example:</strong>
* <p>{}</p>
*/
public Builder result(Object result) {
this.result = result;
return this;
}
public ListRestQueryResultResponseBody build() {
return new ListRestQueryResultResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListSchemasRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListSchemasRequest} extends {@link RequestModel}
*
* <p>ListSchemasRequest</p>
*/
public class ListSchemasRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("instanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String instanceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("accessKey")
private String accessKey;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("accessSecret")
private String accessSecret;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("endpoint")
private String endpoint;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("namespace")
private String namespace;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("partition")
private String partition;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("project")
private String project;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("table")
private String table;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("type")
@com.aliyun.core.annotation.Validation(required = true)
private String type;
private ListSchemasRequest(Builder builder) {
super(builder);
this.instanceId = builder.instanceId;
this.accessKey = builder.accessKey;
this.accessSecret = builder.accessSecret;
this.endpoint = builder.endpoint;
this.namespace = builder.namespace;
this.partition = builder.partition;
this.project = builder.project;
this.table = builder.table;
this.type = builder.type;
}
public static Builder builder() {
return new Builder();
}
public static ListSchemasRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
/**
* @return accessKey
*/
public String getAccessKey() {
return this.accessKey;
}
/**
* @return accessSecret
*/
public String getAccessSecret() {
return this.accessSecret;
}
/**
* @return endpoint
*/
public String getEndpoint() {
return this.endpoint;
}
/**
* @return namespace
*/
public String getNamespace() {
return this.namespace;
}
/**
* @return partition
*/
public String getPartition() {
return this.partition;
}
/**
* @return project
*/
public String getProject() {
return this.project;
}
/**
* @return table
*/
public String getTable() {
return this.table;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
public static final class Builder extends Request.Builder<ListSchemasRequest, Builder> {
private String instanceId;
private String accessKey;
private String accessSecret;
private String endpoint;
private String namespace;
private String partition;
private String project;
private String table;
private String type;
private Builder() {
super();
}
private Builder(ListSchemasRequest request) {
super(request);
this.instanceId = request.instanceId;
this.accessKey = request.accessKey;
this.accessSecret = request.accessSecret;
this.endpoint = request.endpoint;
this.namespace = request.namespace;
this.partition = request.partition;
this.project = request.project;
this.table = request.table;
this.type = request.type;
}
/**
* <p>The instance ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ha-cn-0ju2rq6610a</p>
*/
public Builder instanceId(String instanceId) {
this.putPathParameter("instanceId", instanceId);
this.instanceId = instanceId;
return this;
}
/**
* <p>The AccessKey ID of the MaxCompute data source.</p>
*
* <strong>example:</strong>
* <p>ak</p>
*/
public Builder accessKey(String accessKey) {
this.putQueryParameter("accessKey", accessKey);
this.accessKey = accessKey;
return this;
}
/**
* <p>The AccessKey secret of the MaxCompute data source.</p>
*
* <strong>example:</strong>
* <p>as</p>
*/
public Builder accessSecret(String accessSecret) {
this.putQueryParameter("accessSecret", accessSecret);
this.accessSecret = accessSecret;
return this;
}
/**
* <p>The endpoint of the MaxCompute data source.</p>
*
* <strong>example:</strong>
* <p><a href="http://service.cn-hangzhou.maxcompute.aliyun-inc.com/api">http://service.cn-hangzhou.maxcompute.aliyun-inc.com/api</a></p>
*/
public Builder endpoint(String endpoint) {
this.putQueryParameter("endpoint", endpoint);
this.endpoint = endpoint;
return this;
}
/**
* <p>The namespace of the SARO data source.</p>
*
* <strong>example:</strong>
* <p>igraph-cn-tl32wnrhi04</p>
*/
public Builder namespace(String namespace) {
this.putQueryParameter("namespace", namespace);
this.namespace = namespace;
return this;
}
/**
* <p>The shard name.</p>
*
* <strong>example:</strong>
* <p>dt=20230520</p>
*/
public Builder partition(String partition) {
this.putQueryParameter("partition", partition);
this.partition = partition;
return this;
}
/**
* <p>The name of the MaxCompute project that is used as the data source.</p>
*
* <strong>example:</strong>
* <p>start-flask-v3-obcc</p>
*/
public Builder project(String project) {
this.putQueryParameter("project", project);
this.project = project;
return this;
}
/**
* <p>The name of the MaxCompute table that is used as the data source.</p>
*
* <strong>example:</strong>
* <p>item</p>
*/
public Builder table(String table) {
this.putQueryParameter("table", table);
this.table = table;
return this;
}
/**
* <p>The type of the data source. Valid values: odps, swift, saro, oss, and unKnow.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>odps</p>
*/
public Builder type(String type) {
this.putQueryParameter("type", type);
this.type = type;
return this;
}
@Override
public ListSchemasRequest build() {
return new ListSchemasRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListSchemasResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListSchemasResponse} extends {@link TeaModel}
*
* <p>ListSchemasResponse</p>
*/
public class ListSchemasResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListSchemasResponseBody body;
private ListSchemasResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListSchemasResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListSchemasResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListSchemasResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListSchemasResponseBody body);
@Override
ListSchemasResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListSchemasResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListSchemasResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListSchemasResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListSchemasResponseBody body) {
this.body = body;
return this;
}
@Override
public ListSchemasResponse build() {
return new ListSchemasResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListSchemasResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListSchemasResponseBody} extends {@link TeaModel}
*
* <p>ListSchemasResponseBody</p>
*/
public class ListSchemasResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("requestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("result")
private Object result;
private ListSchemasResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.result = builder.result;
}
public static Builder builder() {
return new Builder();
}
public static ListSchemasResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return result
*/
public Object getResult() {
return this.result;
}
public static final class Builder {
private String requestId;
private Object result;
private Builder() {
}
private Builder(ListSchemasResponseBody model) {
this.requestId = model.requestId;
this.result = model.result;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>FE03180A-0E29-5474-8A86-33F0683294A4</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The result.</p>
*
* <strong>example:</strong>
* <p>{}</p>
*/
public Builder result(Object result) {
this.result = result;
return this;
}
public ListSchemasResponseBody build() {
return new ListSchemasResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListTableGenerationsRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListTableGenerationsRequest} extends {@link RequestModel}
*
* <p>ListTableGenerationsRequest</p>
*/
public class ListTableGenerationsRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("instanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String instanceId;
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("tableName")
@com.aliyun.core.annotation.Validation(required = true)
private String tableName;
private ListTableGenerationsRequest(Builder builder) {
super(builder);
this.instanceId = builder.instanceId;
this.tableName = builder.tableName;
}
public static Builder builder() {
return new Builder();
}
public static ListTableGenerationsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
/**
* @return tableName
*/
public String getTableName() {
return this.tableName;
}
public static final class Builder extends Request.Builder<ListTableGenerationsRequest, Builder> {
private String instanceId;
private String tableName;
private Builder() {
super();
}
private Builder(ListTableGenerationsRequest request) {
super(request);
this.instanceId = request.instanceId;
this.tableName = request.tableName;
}
/**
* <p>The instance ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ha-cn-tl32n3iu801</p>
*/
public Builder instanceId(String instanceId) {
this.putPathParameter("instanceId", instanceId);
this.instanceId = instanceId;
return this;
}
/**
* <p>The name of the table.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>test_summary</p>
*/
public Builder tableName(String tableName) {
this.putPathParameter("tableName", tableName);
this.tableName = tableName;
return this;
}
@Override
public ListTableGenerationsRequest build() {
return new ListTableGenerationsRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListTableGenerationsResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListTableGenerationsResponse} extends {@link TeaModel}
*
* <p>ListTableGenerationsResponse</p>
*/
public class ListTableGenerationsResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListTableGenerationsResponseBody body;
private ListTableGenerationsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListTableGenerationsResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListTableGenerationsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListTableGenerationsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListTableGenerationsResponseBody body);
@Override
ListTableGenerationsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListTableGenerationsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListTableGenerationsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListTableGenerationsResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListTableGenerationsResponseBody body) {
this.body = body;
return this;
}
@Override
public ListTableGenerationsResponse build() {
return new ListTableGenerationsResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListTableGenerationsResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListTableGenerationsResponseBody} extends {@link TeaModel}
*
* <p>ListTableGenerationsResponseBody</p>
*/
public class ListTableGenerationsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("requestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("result")
private java.util.List<Result> result;
private ListTableGenerationsResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.result = builder.result;
}
public static Builder builder() {
return new Builder();
}
public static ListTableGenerationsResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return result
*/
public java.util.List<Result> getResult() {
return this.result;
}
public static final class Builder {
private String requestId;
private java.util.List<Result> result;
private Builder() {
}
private Builder(ListTableGenerationsResponseBody model) {
this.requestId = model.requestId;
this.result = model.result;
}
/**
* <p>requestId</p>
*
* <strong>example:</strong>
* <p>F6E3D968-529C-5C40-AFDD-133A8B8FD930</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The result.</p>
*/
public Builder result(java.util.List<Result> result) {
this.result = result;
return this;
}
public ListTableGenerationsResponseBody build() {
return new ListTableGenerationsResponseBody(this);
}
}
/**
*
* {@link ListTableGenerationsResponseBody} extends {@link TeaModel}
*
* <p>ListTableGenerationsResponseBody</p>
*/
public static class Result extends TeaModel {
@com.aliyun.core.annotation.NameInMap("generationId")
private Long generationId;
private Result(Builder builder) {
this.generationId = builder.generationId;
}
public static Builder builder() {
return new Builder();
}
public static Result create() {
return builder().build();
}
/**
* @return generationId
*/
public Long getGenerationId() {
return this.generationId;
}
public static final class Builder {
private Long generationId;
private Builder() {
}
private Builder(Result model) {
this.generationId = model.generationId;
}
/**
* <p>The ID of the full index version.</p>
*
* <strong>example:</strong>
* <p>1708674867</p>
*/
public Builder generationId(Long generationId) {
this.generationId = generationId;
return this;
}
public Result build() {
return new Result(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListTablesRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListTablesRequest} extends {@link RequestModel}
*
* <p>ListTablesRequest</p>
*/
public class ListTablesRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("instanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String instanceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("newMode")
private Boolean newMode;
private ListTablesRequest(Builder builder) {
super(builder);
this.instanceId = builder.instanceId;
this.newMode = builder.newMode;
}
public static Builder builder() {
return new Builder();
}
public static ListTablesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
/**
* @return newMode
*/
public Boolean getNewMode() {
return this.newMode;
}
public static final class Builder extends Request.Builder<ListTablesRequest, Builder> {
private String instanceId;
private Boolean newMode;
private Builder() {
super();
}
private Builder(ListTablesRequest request) {
super(request);
this.instanceId = request.instanceId;
this.newMode = request.newMode;
}
/**
* <p>The instance ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ha-cn-0ju2rewdi02</p>
*/
public Builder instanceId(String instanceId) {
this.putPathParameter("instanceId", instanceId);
this.instanceId = instanceId;
return this;
}
/**
* <p>Specifies whether the OpenSearch Vector Search Edition instance is of the new version.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder newMode(Boolean newMode) {
this.putQueryParameter("newMode", newMode);
this.newMode = newMode;
return this;
}
@Override
public ListTablesRequest build() {
return new ListTablesRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListTablesResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListTablesResponse} extends {@link TeaModel}
*
* <p>ListTablesResponse</p>
*/
public class ListTablesResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListTablesResponseBody body;
private ListTablesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListTablesResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListTablesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListTablesResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListTablesResponseBody body);
@Override
ListTablesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListTablesResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListTablesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListTablesResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListTablesResponseBody body) {
this.body = body;
return this;
}
@Override
public ListTablesResponse build() {
return new ListTablesResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListTablesResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListTablesResponseBody} extends {@link TeaModel}
*
* <p>ListTablesResponseBody</p>
*/
public class ListTablesResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("requestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("result")
private java.util.List<Result> result;
private ListTablesResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.result = builder.result;
}
public static Builder builder() {
return new Builder();
}
public static ListTablesResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return result
*/
public java.util.List<Result> getResult() {
return this.result;
}
public static final class Builder {
private String requestId;
private java.util.List<Result> result;
private Builder() {
}
private Builder(ListTablesResponseBody model) {
this.requestId = model.requestId;
this.result = model.result;
}
/**
* <p>requestId</p>
*
* <strong>example:</strong>
* <p>10D5E615-69F7-5F49-B850-00169ADE513C</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The result.</p>
*/
public Builder result(java.util.List<Result> result) {
this.result = result;
return this;
}
public ListTablesResponseBody build() {
return new ListTablesResponseBody(this);
}
}
/**
*
* {@link ListTablesResponseBody} extends {@link TeaModel}
*
* <p>ListTablesResponseBody</p>
*/
public static class Result extends TeaModel {
@com.aliyun.core.annotation.NameInMap("indexStatus")
private String indexStatus;
@com.aliyun.core.annotation.NameInMap("name")
private String name;
@com.aliyun.core.annotation.NameInMap("status")
private String status;
private Result(Builder builder) {
this.indexStatus = builder.indexStatus;
this.name = builder.name;
this.status = builder.status;
}
public static Builder builder() {
return new Builder();
}
public static Result create() {
return builder().build();
}
/**
* @return indexStatus
*/
public String getIndexStatus() {
return this.indexStatus;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
public static final class Builder {
private String indexStatus;
private String name;
private String status;
private Builder() {
}
private Builder(Result model) {
this.indexStatus = model.indexStatus;
this.name = model.name;
this.status = model.status;
}
/**
* <p>The state of the index table. Valid values: NEW, PUBLISH, IN_USE, NOT_USE, STOP_USE, RESTORE_USE, and FAIL. After an index is created in an OpenSearch Retrieval Engine Edition instance, the index enters the IN_USE state. If the first full index fails to be created in an OpenSearch Vector Search Edition instance of the new version, the index is in the FAIL state.</p>
*
* <strong>example:</strong>
* <p>IN_USE</p>
*/
public Builder indexStatus(String indexStatus) {
this.indexStatus = indexStatus;
return this;
}
/**
* <p>The index name.</p>
*
* <strong>example:</strong>
* <p>es_test_1b</p>
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* <p>The state of the index table. Valid values: NEW, PUBLISH, IN_USE, NOT_USE, STOP_USE, RESTORE_USE, and FAIL. After an index is created in an OpenSearch Retrieval Engine Edition instance, the index enters the IN_USE state. If the first full index fails to be created in an OpenSearch Vector Search Edition instance of the new version, the index is in the FAIL state.</p>
*
* <strong>example:</strong>
* <p>IN_USE</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
public Result build() {
return new Result(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListTagResourcesRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListTagResourcesRequest} extends {@link RequestModel}
*
* <p>ListTagResourcesRequest</p>
*/
public class ListTagResourcesRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("nextToken")
private String nextToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("resourceId")
private java.util.List<String> resourceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("resourceType")
@com.aliyun.core.annotation.Validation(required = true)
private String resourceType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("tag")
private java.util.List<Tag> tag;
private ListTagResourcesRequest(Builder builder) {
super(builder);
this.nextToken = builder.nextToken;
this.resourceId = builder.resourceId;
this.resourceType = builder.resourceType;
this.tag = builder.tag;
}
public static Builder builder() {
return new Builder();
}
public static ListTagResourcesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return nextToken
*/
public String getNextToken() {
return this.nextToken;
}
/**
* @return resourceId
*/
public java.util.List<String> getResourceId() {
return this.resourceId;
}
/**
* @return resourceType
*/
public String getResourceType() {
return this.resourceType;
}
/**
* @return tag
*/
public java.util.List<Tag> getTag() {
return this.tag;
}
public static final class Builder extends Request.Builder<ListTagResourcesRequest, Builder> {
private String nextToken;
private java.util.List<String> resourceId;
private String resourceType;
private java.util.List<Tag> tag;
private Builder() {
super();
}
private Builder(ListTagResourcesRequest request) {
super(request);
this.nextToken = request.nextToken;
this.resourceId = request.resourceId;
this.resourceType = request.resourceType;
this.tag = request.tag;
}
/**
* nextToken.
*/
public Builder nextToken(String nextToken) {
this.putQueryParameter("nextToken", nextToken);
this.nextToken = nextToken;
return this;
}
/**
* resourceId.
*/
public Builder resourceId(java.util.List<String> resourceId) {
String resourceIdShrink = shrink(resourceId, "resourceId", "json");
this.putQueryParameter("resourceId", resourceIdShrink);
this.resourceId = resourceId;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>instance</p>
*/
public Builder resourceType(String resourceType) {
this.putQueryParameter("resourceType", resourceType);
this.resourceType = resourceType;
return this;
}
/**
* tag.
*/
public Builder tag(java.util.List<Tag> tag) {
String tagShrink = shrink(tag, "tag", "json");
this.putQueryParameter("tag", tagShrink);
this.tag = tag;
return this;
}
@Override
public ListTagResourcesRequest build() {
return new ListTagResourcesRequest(this);
}
}
/**
*
* {@link ListTagResourcesRequest} extends {@link TeaModel}
*
* <p>ListTagResourcesRequest</p>
*/
public static class Tag extends TeaModel {
@com.aliyun.core.annotation.NameInMap("key")
private String key;
@com.aliyun.core.annotation.NameInMap("value")
private String value;
private Tag(Builder builder) {
this.key = builder.key;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static Tag create() {
return builder().build();
}
/**
* @return key
*/
public String getKey() {
return this.key;
}
/**
* @return value
*/
public String getValue() {
return this.value;
}
public static final class Builder {
private String key;
private String value;
private Builder() {
}
private Builder(Tag model) {
this.key = model.key;
this.value = model.value;
}
/**
* key.
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* value.
*/
public Builder value(String value) {
this.value = value;
return this;
}
public Tag build() {
return new Tag(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListTagResourcesResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListTagResourcesResponse} extends {@link TeaModel}
*
* <p>ListTagResourcesResponse</p>
*/
public class ListTagResourcesResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListTagResourcesResponseBody body;
private ListTagResourcesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListTagResourcesResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListTagResourcesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListTagResourcesResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListTagResourcesResponseBody body);
@Override
ListTagResourcesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListTagResourcesResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListTagResourcesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListTagResourcesResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListTagResourcesResponseBody body) {
this.body = body;
return this;
}
@Override
public ListTagResourcesResponse build() {
return new ListTagResourcesResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListTagResourcesResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListTagResourcesResponseBody} extends {@link TeaModel}
*
* <p>ListTagResourcesResponseBody</p>
*/
public class ListTagResourcesResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("nextToken")
private String nextToken;
@com.aliyun.core.annotation.NameInMap("requestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("tagResources")
private java.util.List<TagResources> tagResources;
private ListTagResourcesResponseBody(Builder builder) {
this.nextToken = builder.nextToken;
this.requestId = builder.requestId;
this.tagResources = builder.tagResources;
}
public static Builder builder() {
return new Builder();
}
public static ListTagResourcesResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return nextToken
*/
public String getNextToken() {
return this.nextToken;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return tagResources
*/
public java.util.List<TagResources> getTagResources() {
return this.tagResources;
}
public static final class Builder {
private String nextToken;
private String requestId;
private java.util.List<TagResources> tagResources;
private Builder() {
}
private Builder(ListTagResourcesResponseBody model) {
this.nextToken = model.nextToken;
this.requestId = model.requestId;
this.tagResources = model.tagResources;
}
/**
* nextToken.
*/
public Builder nextToken(String nextToken) {
this.nextToken = nextToken;
return this;
}
/**
* requestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* tagResources.
*/
public Builder tagResources(java.util.List<TagResources> tagResources) {
this.tagResources = tagResources;
return this;
}
public ListTagResourcesResponseBody build() {
return new ListTagResourcesResponseBody(this);
}
}
/**
*
* {@link ListTagResourcesResponseBody} extends {@link TeaModel}
*
* <p>ListTagResourcesResponseBody</p>
*/
public static class TagResources extends TeaModel {
@com.aliyun.core.annotation.NameInMap("resourceId")
private String resourceId;
@com.aliyun.core.annotation.NameInMap("resourceType")
private String resourceType;
@com.aliyun.core.annotation.NameInMap("tagKey")
private String tagKey;
@com.aliyun.core.annotation.NameInMap("tagValue")
private String tagValue;
private TagResources(Builder builder) {
this.resourceId = builder.resourceId;
this.resourceType = builder.resourceType;
this.tagKey = builder.tagKey;
this.tagValue = builder.tagValue;
}
public static Builder builder() {
return new Builder();
}
public static TagResources create() {
return builder().build();
}
/**
* @return resourceId
*/
public String getResourceId() {
return this.resourceId;
}
/**
* @return resourceType
*/
public String getResourceType() {
return this.resourceType;
}
/**
* @return tagKey
*/
public String getTagKey() {
return this.tagKey;
}
/**
* @return tagValue
*/
public String getTagValue() {
return this.tagValue;
}
public static final class Builder {
private String resourceId;
private String resourceType;
private String tagKey;
private String tagValue;
private Builder() {
}
private Builder(TagResources model) {
this.resourceId = model.resourceId;
this.resourceType = model.resourceType;
this.tagKey = model.tagKey;
this.tagValue = model.tagValue;
}
/**
* resourceId.
*/
public Builder resourceId(String resourceId) {
this.resourceId = resourceId;
return this;
}
/**
* resourceType.
*/
public Builder resourceType(String resourceType) {
this.resourceType = resourceType;
return this;
}
/**
* tagKey.
*/
public Builder tagKey(String tagKey) {
this.tagKey = tagKey;
return this;
}
/**
* tagValue.
*/
public Builder tagValue(String tagValue) {
this.tagValue = tagValue;
return this;
}
public TagResources build() {
return new TagResources(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListTasksRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListTasksRequest} extends {@link RequestModel}
*
* <p>ListTasksRequest</p>
*/
public class ListTasksRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("instanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String instanceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("end")
private Long end;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("start")
private Long start;
private ListTasksRequest(Builder builder) {
super(builder);
this.instanceId = builder.instanceId;
this.end = builder.end;
this.start = builder.start;
}
public static Builder builder() {
return new Builder();
}
public static ListTasksRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
/**
* @return end
*/
public Long getEnd() {
return this.end;
}
/**
* @return start
*/
public Long getStart() {
return this.start;
}
public static final class Builder extends Request.Builder<ListTasksRequest, Builder> {
private String instanceId;
private Long end;
private Long start;
private Builder() {
super();
}
private Builder(ListTasksRequest request) {
super(request);
this.instanceId = request.instanceId;
this.end = request.end;
this.start = request.start;
}
/**
* <p>The instance ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ha-cn-tl32n3iu801</p>
*/
public Builder instanceId(String instanceId) {
this.putPathParameter("instanceId", instanceId);
this.instanceId = instanceId;
return this;
}
/**
* <p>The timestamp that indicates the end of the time range to query.</p>
*
* <strong>example:</strong>
* <p>1690423741577</p>
*/
public Builder end(Long end) {
this.putQueryParameter("end", end);
this.end = end;
return this;
}
/**
* <p>The timestamp that indicates the beginning of the time range to query.</p>
*
* <strong>example:</strong>
* <p>1687238865434</p>
*/
public Builder start(Long start) {
this.putQueryParameter("start", start);
this.start = start;
return this;
}
@Override
public ListTasksRequest build() {
return new ListTasksRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListTasksResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListTasksResponse} extends {@link TeaModel}
*
* <p>ListTasksResponse</p>
*/
public class ListTasksResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListTasksResponseBody body;
private ListTasksResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListTasksResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListTasksResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListTasksResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListTasksResponseBody body);
@Override
ListTasksResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListTasksResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListTasksResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListTasksResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListTasksResponseBody body) {
this.body = body;
return this;
}
@Override
public ListTasksResponse build() {
return new ListTasksResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025 | java-sources/com/aliyun/alibabacloud-searchengine20211025/5.0.0/com/aliyun/sdk/service/searchengine20211025/models/ListTasksResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchengine20211025.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListTasksResponseBody} extends {@link TeaModel}
*
* <p>ListTasksResponseBody</p>
*/
public class ListTasksResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("requestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("result")
private Object result;
private ListTasksResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.result = builder.result;
}
public static Builder builder() {
return new Builder();
}
public static ListTasksResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return result
*/
public Object getResult() {
return this.result;
}
public static final class Builder {
private String requestId;
private Object result;
private Builder() {
}
private Builder(ListTasksResponseBody model) {
this.requestId = model.requestId;
this.result = model.result;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>D39EE0F1-D7EF-5F46-B781-6BF4185308B0</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The result.</p>
*
* <strong>example:</strong>
* <p>{}</p>
*/
public Builder result(Object result) {
this.result = result;
return this;
}
public ListTasksResponseBody build() {
return new ListTasksResponseBody(this);
}
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.