index
int64
repo_id
string
file_path
string
content
string
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetDownloadJobResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetDownloadJobResponse} extends {@link TeaModel} * * <p>GetDownloadJobResponse</p> */ public class GetDownloadJobResponse 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 GetDownloadJobResponseBody body; private GetDownloadJobResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetDownloadJobResponse 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 GetDownloadJobResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetDownloadJobResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetDownloadJobResponseBody body); @Override GetDownloadJobResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetDownloadJobResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetDownloadJobResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetDownloadJobResponse 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(GetDownloadJobResponseBody body) { this.body = body; return this; } @Override public GetDownloadJobResponse build() { return new GetDownloadJobResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetDownloadJobResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetDownloadJobResponseBody} extends {@link TeaModel} * * <p>GetDownloadJobResponseBody</p> */ public class GetDownloadJobResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("configuration") private Configuration configuration; @com.aliyun.core.annotation.NameInMap("createTime") private String createTime; @com.aliyun.core.annotation.NameInMap("description") private String description; @com.aliyun.core.annotation.NameInMap("displayName") private String displayName; @com.aliyun.core.annotation.NameInMap("executionDetails") private ExecutionDetails executionDetails; @com.aliyun.core.annotation.NameInMap("name") private String name; @com.aliyun.core.annotation.NameInMap("status") private String status; private GetDownloadJobResponseBody(Builder builder) { this.configuration = builder.configuration; this.createTime = builder.createTime; this.description = builder.description; this.displayName = builder.displayName; this.executionDetails = builder.executionDetails; this.name = builder.name; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static GetDownloadJobResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return configuration */ public Configuration getConfiguration() { return this.configuration; } /** * @return createTime */ public String getCreateTime() { return this.createTime; } /** * @return description */ public String getDescription() { return this.description; } /** * @return displayName */ public String getDisplayName() { return this.displayName; } /** * @return executionDetails */ public ExecutionDetails getExecutionDetails() { return this.executionDetails; } /** * @return name */ public String getName() { return this.name; } /** * @return status */ public String getStatus() { return this.status; } public static final class Builder { private Configuration configuration; private String createTime; private String description; private String displayName; private ExecutionDetails executionDetails; private String name; private String status; private Builder() { } private Builder(GetDownloadJobResponseBody model) { this.configuration = model.configuration; this.createTime = model.createTime; this.description = model.description; this.displayName = model.displayName; this.executionDetails = model.executionDetails; this.name = model.name; this.status = model.status; } /** * <p>下载配置</p> */ public Builder configuration(Configuration configuration) { this.configuration = configuration; return this; } /** * <p>代表创建时间的资源属性字段</p> * * <strong>example:</strong> * <p>1722411060</p> */ public Builder createTime(String createTime) { this.createTime = createTime; return this; } /** * <p>任务描述</p> * * <strong>example:</strong> * <p>a download job</p> */ public Builder description(String description) { this.description = description; return this; } /** * <p>任务显示名称</p> * * <strong>example:</strong> * <p>download-123456</p> */ public Builder displayName(String displayName) { this.displayName = displayName; return this; } /** * <p>任务执行细节</p> */ public Builder executionDetails(ExecutionDetails executionDetails) { this.executionDetails = executionDetails; return this; } /** * <p>代表资源名称的资源属性字段</p> * * <strong>example:</strong> * <p>download-123</p> */ public Builder name(String name) { this.name = name; return this; } /** * <p>The status of the log download task.</p> * * <strong>example:</strong> * <p>running</p> */ public Builder status(String status) { this.status = status; return this; } public GetDownloadJobResponseBody build() { return new GetDownloadJobResponseBody(this); } } /** * * {@link GetDownloadJobResponseBody} extends {@link TeaModel} * * <p>GetDownloadJobResponseBody</p> */ public static class Sink extends TeaModel { @com.aliyun.core.annotation.NameInMap("bucket") private String bucket; @com.aliyun.core.annotation.NameInMap("compressionType") private String compressionType; @com.aliyun.core.annotation.NameInMap("contentType") private String contentType; @com.aliyun.core.annotation.NameInMap("prefix") private String prefix; @com.aliyun.core.annotation.NameInMap("roleArn") private String roleArn; @com.aliyun.core.annotation.NameInMap("type") private String type; private Sink(Builder builder) { this.bucket = builder.bucket; this.compressionType = builder.compressionType; this.contentType = builder.contentType; this.prefix = builder.prefix; this.roleArn = builder.roleArn; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static Sink create() { return builder().build(); } /** * @return bucket */ public String getBucket() { return this.bucket; } /** * @return compressionType */ public String getCompressionType() { return this.compressionType; } /** * @return contentType */ public String getContentType() { return this.contentType; } /** * @return prefix */ public String getPrefix() { return this.prefix; } /** * @return roleArn */ public String getRoleArn() { return this.roleArn; } /** * @return type */ public String getType() { return this.type; } public static final class Builder { private String bucket; private String compressionType; private String contentType; private String prefix; private String roleArn; private String type; private Builder() { } private Builder(Sink model) { this.bucket = model.bucket; this.compressionType = model.compressionType; this.contentType = model.contentType; this.prefix = model.prefix; this.roleArn = model.roleArn; this.type = model.type; } /** * <p>对象存储桶</p> * * <strong>example:</strong> * <p>ali-test-oss-bucket</p> */ public Builder bucket(String bucket) { this.bucket = bucket; return this; } /** * <p>压缩格式</p> * * <strong>example:</strong> * <p>none</p> */ public Builder compressionType(String compressionType) { this.compressionType = compressionType; return this; } /** * <p>下载文件格式</p> * * <strong>example:</strong> * <p>csv</p> */ public Builder contentType(String contentType) { this.contentType = contentType; return this; } /** * prefix. */ public Builder prefix(String prefix) { this.prefix = prefix; return this; } /** * <p>下载使用roleArn</p> * * <strong>example:</strong> * <p>acs:ram::0123456789:role/aliyunlogdefaultrole</p> */ public Builder roleArn(String roleArn) { this.roleArn = roleArn; return this; } /** * type. */ public Builder type(String type) { this.type = type; return this; } public Sink build() { return new Sink(this); } } } /** * * {@link GetDownloadJobResponseBody} extends {@link TeaModel} * * <p>GetDownloadJobResponseBody</p> */ public static class Configuration extends TeaModel { @com.aliyun.core.annotation.NameInMap("allowInComplete") private Boolean allowInComplete; @com.aliyun.core.annotation.NameInMap("fromTime") private Long fromTime; @com.aliyun.core.annotation.NameInMap("logstore") private String logstore; @com.aliyun.core.annotation.NameInMap("powerSql") private Boolean powerSql; @com.aliyun.core.annotation.NameInMap("query") private String query; @com.aliyun.core.annotation.NameInMap("sink") private Sink sink; @com.aliyun.core.annotation.NameInMap("toTime") private Long toTime; private Configuration(Builder builder) { this.allowInComplete = builder.allowInComplete; this.fromTime = builder.fromTime; this.logstore = builder.logstore; this.powerSql = builder.powerSql; this.query = builder.query; this.sink = builder.sink; this.toTime = builder.toTime; } public static Builder builder() { return new Builder(); } public static Configuration create() { return builder().build(); } /** * @return allowInComplete */ public Boolean getAllowInComplete() { return this.allowInComplete; } /** * @return fromTime */ public Long getFromTime() { return this.fromTime; } /** * @return logstore */ public String getLogstore() { return this.logstore; } /** * @return powerSql */ public Boolean getPowerSql() { return this.powerSql; } /** * @return query */ public String getQuery() { return this.query; } /** * @return sink */ public Sink getSink() { return this.sink; } /** * @return toTime */ public Long getToTime() { return this.toTime; } public static final class Builder { private Boolean allowInComplete; private Long fromTime; private String logstore; private Boolean powerSql; private String query; private Sink sink; private Long toTime; private Builder() { } private Builder(Configuration model) { this.allowInComplete = model.allowInComplete; this.fromTime = model.fromTime; this.logstore = model.logstore; this.powerSql = model.powerSql; this.query = model.query; this.sink = model.sink; this.toTime = model.toTime; } /** * allowInComplete. */ public Builder allowInComplete(Boolean allowInComplete) { this.allowInComplete = allowInComplete; return this; } /** * <p>起点时间戳(精确到秒)</p> * * <strong>example:</strong> * <p>1722409860</p> */ public Builder fromTime(Long fromTime) { this.fromTime = fromTime; return this; } /** * <p>源logstore</p> * * <strong>example:</strong> * <p>ali-test-logstore</p> */ public Builder logstore(String logstore) { this.logstore = logstore; return this; } /** * <p>是否启用powerSql</p> * * <strong>example:</strong> * <p>false</p> */ public Builder powerSql(Boolean powerSql) { this.powerSql = powerSql; return this; } /** * <p>查询语句</p> * * <strong>example:</strong> * <ul> * <li>| select *</li> * </ul> */ public Builder query(String query) { this.query = query; return this; } /** * <p>导出配置</p> */ public Builder sink(Sink sink) { this.sink = sink; return this; } /** * <p>结束时间戳(精确到秒)</p> * * <strong>example:</strong> * <p>1722411060</p> */ public Builder toTime(Long toTime) { this.toTime = toTime; return this; } public Configuration build() { return new Configuration(this); } } } /** * * {@link GetDownloadJobResponseBody} extends {@link TeaModel} * * <p>GetDownloadJobResponseBody</p> */ public static class ExecutionDetails extends TeaModel { @com.aliyun.core.annotation.NameInMap("checkSum") private String checkSum; @com.aliyun.core.annotation.NameInMap("errorMessage") private String errorMessage; @com.aliyun.core.annotation.NameInMap("executeTime") private Long executeTime; @com.aliyun.core.annotation.NameInMap("filePath") private String filePath; @com.aliyun.core.annotation.NameInMap("fileSize") private Long fileSize; @com.aliyun.core.annotation.NameInMap("logCount") private Long logCount; @com.aliyun.core.annotation.NameInMap("notice") private String notice; @com.aliyun.core.annotation.NameInMap("progress") private Long progress; private ExecutionDetails(Builder builder) { this.checkSum = builder.checkSum; this.errorMessage = builder.errorMessage; this.executeTime = builder.executeTime; this.filePath = builder.filePath; this.fileSize = builder.fileSize; this.logCount = builder.logCount; this.notice = builder.notice; this.progress = builder.progress; } public static Builder builder() { return new Builder(); } public static ExecutionDetails create() { return builder().build(); } /** * @return checkSum */ public String getCheckSum() { return this.checkSum; } /** * @return errorMessage */ public String getErrorMessage() { return this.errorMessage; } /** * @return executeTime */ public Long getExecuteTime() { return this.executeTime; } /** * @return filePath */ public String getFilePath() { return this.filePath; } /** * @return fileSize */ public Long getFileSize() { return this.fileSize; } /** * @return logCount */ public Long getLogCount() { return this.logCount; } /** * @return notice */ public String getNotice() { return this.notice; } /** * @return progress */ public Long getProgress() { return this.progress; } public static final class Builder { private String checkSum; private String errorMessage; private Long executeTime; private String filePath; private Long fileSize; private Long logCount; private String notice; private Long progress; private Builder() { } private Builder(ExecutionDetails model) { this.checkSum = model.checkSum; this.errorMessage = model.errorMessage; this.executeTime = model.executeTime; this.filePath = model.filePath; this.fileSize = model.fileSize; this.logCount = model.logCount; this.notice = model.notice; this.progress = model.progress; } /** * checkSum. */ public Builder checkSum(String checkSum) { this.checkSum = checkSum; return this; } /** * <p>下载错误信息</p> * * <strong>example:</strong> * <p>timeout</p> */ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; return this; } /** * <p>下载执行时间</p> * * <strong>example:</strong> * <p>123</p> */ public Builder executeTime(Long executeTime) { this.executeTime = executeTime; return this; } /** * <p>下载结果链接</p> * * <strong>example:</strong> * <p><a href="https://xxx.csv.zst?xxx">https://xxx.csv.zst?xxx</a></p> */ public Builder filePath(String filePath) { this.filePath = filePath; return this; } /** * <p>下载文件大小</p> * * <strong>example:</strong> * <p>123456</p> */ public Builder fileSize(Long fileSize) { this.fileSize = fileSize; return this; } /** * <p>下载日志条数</p> * * <strong>example:</strong> * <p>123</p> */ public Builder logCount(Long logCount) { this.logCount = logCount; return this; } /** * notice. */ public Builder notice(String notice) { this.notice = notice; return this; } /** * <p>下载进度</p> * * <strong>example:</strong> * <p>100</p> */ public Builder progress(Long progress) { this.progress = progress; return this; } public ExecutionDetails build() { return new ExecutionDetails(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetETLRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetETLRequest} extends {@link RequestModel} * * <p>GetETLRequest</p> */ public class GetETLRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("project") private String project; @com.aliyun.core.annotation.Path @com.aliyun.core.annotation.NameInMap("etlName") private String etlName; private GetETLRequest(Builder builder) { super(builder); this.project = builder.project; this.etlName = builder.etlName; } public static Builder builder() { return new Builder(); } public static GetETLRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return project */ public String getProject() { return this.project; } /** * @return etlName */ public String getEtlName() { return this.etlName; } public static final class Builder extends Request.Builder<GetETLRequest, Builder> { private String project; private String etlName; private Builder() { super(); } private Builder(GetETLRequest request) { super(request); this.project = request.project; this.etlName = request.etlName; } /** * project. */ public Builder project(String project) { this.putHostParameter("project", project); this.project = project; return this; } /** * etlName. */ public Builder etlName(String etlName) { this.putPathParameter("etlName", etlName); this.etlName = etlName; return this; } @Override public GetETLRequest build() { return new GetETLRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetETLResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetETLResponse} extends {@link TeaModel} * * <p>GetETLResponse</p> */ public class GetETLResponse 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 ETL body; private GetETLResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetETLResponse 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 ETL getBody() { return this.body; } public interface Builder extends Response.Builder<GetETLResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ETL body); @Override GetETLResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetETLResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ETL body; private BuilderImpl() { super(); } private BuilderImpl(GetETLResponse 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(ETL body) { this.body = body; return this; } @Override public GetETLResponse build() { return new GetETLResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetHistogramsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetHistogramsRequest} extends {@link RequestModel} * * <p>GetHistogramsRequest</p> */ public class GetHistogramsRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("project") private String project; @com.aliyun.core.annotation.Path @com.aliyun.core.annotation.NameInMap("logstore") @com.aliyun.core.annotation.Validation(required = true) private String logstore; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("from") @com.aliyun.core.annotation.Validation(required = true) private Long from; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("query") private String query; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("to") @com.aliyun.core.annotation.Validation(required = true) private Long to; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("topic") private String topic; private GetHistogramsRequest(Builder builder) { super(builder); this.project = builder.project; this.logstore = builder.logstore; this.from = builder.from; this.query = builder.query; this.to = builder.to; this.topic = builder.topic; } public static Builder builder() { return new Builder(); } public static GetHistogramsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return project */ public String getProject() { return this.project; } /** * @return logstore */ public String getLogstore() { return this.logstore; } /** * @return from */ public Long getFrom() { return this.from; } /** * @return query */ public String getQuery() { return this.query; } /** * @return to */ public Long getTo() { return this.to; } /** * @return topic */ public String getTopic() { return this.topic; } public static final class Builder extends Request.Builder<GetHistogramsRequest, Builder> { private String project; private String logstore; private Long from; private String query; private Long to; private String topic; private Builder() { super(); } private Builder(GetHistogramsRequest request) { super(request); this.project = request.project; this.logstore = request.logstore; this.from = request.from; this.query = request.query; this.to = request.to; this.topic = request.topic; } /** * <p>The name of the project.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>ali-test-project</p> */ public Builder project(String project) { this.putHostParameter("project", project); this.project = project; return this; } /** * <p>The name of the Logstore.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>test-logstore</p> */ public Builder logstore(String logstore) { this.putPathParameter("logstore", logstore); this.logstore = logstore; return this; } /** * <p>The start time of the subinterval. The value is a UNIX timestamp representing the number of seconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1409529600</p> */ public Builder from(Long from) { this.putQueryParameter("from", from); this.from = from; return this; } /** * <p>The search statement. Only search statements are supported. Analytic statements are not supported. For more information about the syntax of search statements, see <a href="https://help.aliyun.com/document_detail/43772.html">Log search overview</a>.</p> * * <strong>example:</strong> * <p>with_pack_meta</p> */ public Builder query(String query) { this.putQueryParameter("query", query); this.query = query; return this; } /** * <p>The end time of the subinterval. The value is a UNIX timestamp representing the number of seconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1409569200</p> */ public Builder to(Long to) { this.putQueryParameter("to", to); this.to = to; return this; } /** * <p>The topic of the logs.</p> * * <strong>example:</strong> * <p>topic</p> */ public Builder topic(String topic) { this.putQueryParameter("topic", topic); this.topic = topic; return this; } @Override public GetHistogramsRequest build() { return new GetHistogramsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetHistogramsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetHistogramsResponse} extends {@link TeaModel} * * <p>GetHistogramsResponse</p> */ public class GetHistogramsResponse 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 java.util.List<GetHistogramsResponseBody> body; private GetHistogramsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetHistogramsResponse 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 java.util.List<GetHistogramsResponseBody> getBody() { return this.body; } public interface Builder extends Response.Builder<GetHistogramsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(java.util.List<GetHistogramsResponseBody> body); @Override GetHistogramsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetHistogramsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private java.util.List<GetHistogramsResponseBody> body; private BuilderImpl() { super(); } private BuilderImpl(GetHistogramsResponse 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(java.util.List<GetHistogramsResponseBody> body) { this.body = body; return this; } @Override public GetHistogramsResponse build() { return new GetHistogramsResponse(this); } } /** * * {@link GetHistogramsResponse} extends {@link TeaModel} * * <p>GetHistogramsResponse</p> */ public static class GetHistogramsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("from") private Long from; @com.aliyun.core.annotation.NameInMap("to") private Long to; @com.aliyun.core.annotation.NameInMap("count") private Long count; @com.aliyun.core.annotation.NameInMap("progress") private String progress; private GetHistogramsResponseBody(Builder builder) { this.from = builder.from; this.to = builder.to; this.count = builder.count; this.progress = builder.progress; } public static Builder builder() { return new Builder(); } public static GetHistogramsResponseBody create() { return builder().build(); } /** * @return from */ public Long getFrom() { return this.from; } /** * @return to */ public Long getTo() { return this.to; } /** * @return count */ public Long getCount() { return this.count; } /** * @return progress */ public String getProgress() { return this.progress; } public static final class Builder { private Long from; private Long to; private Long count; private String progress; private Builder() { } private Builder(GetHistogramsResponseBody model) { this.from = model.from; this.to = model.to; this.count = model.count; this.progress = model.progress; } /** * <p>The start time of the subinterval. The value is a UNIX timestamp representing the number of seconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.</p> * <p>The time range that is specified in this operation is a left-closed, right-open interval. The interval includes the start time specified by the from parameter, but does not include the end time specified by the to parameter. If you specify the same value for the from and to parameters, the interval is invalid, and an error message is returned.</p> * * <strong>example:</strong> * <p>1409529600</p> */ public Builder from(Long from) { this.from = from; return this; } /** * <p>The end time of the subinterval. The value is a UNIX timestamp representing the number of seconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.</p> * <p>The time range that is specified in this operation is a left-closed, right-open interval. The interval includes the start time specified by the from parameter, but does not include the end time specified by the to parameter. If you specify the same value for the from and to parameters, the interval is invalid, and an error message is returned.</p> * * <strong>example:</strong> * <p>1409569200</p> */ public Builder to(Long to) { this.to = to; return this; } /** * <p>The number of logs that are generated within the subinterval.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder count(Long count) { this.count = count; return this; } /** * <p>Indicates whether the query and analysis results in the subinterval is complete. Valid values:</p> * <p>Complete: The query is successful, and the complete query and analysis results are returned.</p> * <p>Incomplete: The query is successful, but the query and analysis results are incomplete. To obtain the complete results, you must repeat the request.</p> * * <strong>example:</strong> * <p>Complete</p> */ public Builder progress(String progress) { this.progress = progress; return this; } public GetHistogramsResponseBody build() { return new GetHistogramsResponseBody(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetIndexRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetIndexRequest} extends {@link RequestModel} * * <p>GetIndexRequest</p> */ public class GetIndexRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("project") private String project; @com.aliyun.core.annotation.Path @com.aliyun.core.annotation.NameInMap("logstore") @com.aliyun.core.annotation.Validation(required = true) private String logstore; private GetIndexRequest(Builder builder) { super(builder); this.project = builder.project; this.logstore = builder.logstore; } public static Builder builder() { return new Builder(); } public static GetIndexRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return project */ public String getProject() { return this.project; } /** * @return logstore */ public String getLogstore() { return this.logstore; } public static final class Builder extends Request.Builder<GetIndexRequest, Builder> { private String project; private String logstore; private Builder() { super(); } private Builder(GetIndexRequest request) { super(request); this.project = request.project; this.logstore = request.logstore; } /** * <p>The name of the project.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>ali-test-project</p> */ public Builder project(String project) { this.putHostParameter("project", project); this.project = project; return this; } /** * <p>The name of the Logstore.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>test-logstore</p> */ public Builder logstore(String logstore) { this.putPathParameter("logstore", logstore); this.logstore = logstore; return this; } @Override public GetIndexRequest build() { return new GetIndexRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetIndexResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.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-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetIndexResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetIndexResponseBody} extends {@link TeaModel} * * <p>GetIndexResponseBody</p> */ public class GetIndexResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("index_mode") private String indexMode; @com.aliyun.core.annotation.NameInMap("keys") private java.util.Map<String, IndexKey> keys; @com.aliyun.core.annotation.NameInMap("lastModifyTime") private Long lastModifyTime; @com.aliyun.core.annotation.NameInMap("line") private Line line; @com.aliyun.core.annotation.NameInMap("log_reduce") private Boolean logReduce; @com.aliyun.core.annotation.NameInMap("log_reduce_black_list") private java.util.List<String> logReduceBlackList; @com.aliyun.core.annotation.NameInMap("log_reduce_white_list") private java.util.List<String> logReduceWhiteList; @com.aliyun.core.annotation.NameInMap("max_text_len") private Integer maxTextLen; @com.aliyun.core.annotation.NameInMap("storage") private String storage; @com.aliyun.core.annotation.NameInMap("ttl") @com.aliyun.core.annotation.Validation(required = true) private Integer ttl; private GetIndexResponseBody(Builder builder) { this.indexMode = builder.indexMode; this.keys = builder.keys; this.lastModifyTime = builder.lastModifyTime; this.line = builder.line; this.logReduce = builder.logReduce; this.logReduceBlackList = builder.logReduceBlackList; this.logReduceWhiteList = builder.logReduceWhiteList; this.maxTextLen = builder.maxTextLen; this.storage = builder.storage; this.ttl = builder.ttl; } public static Builder builder() { return new Builder(); } public static GetIndexResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return indexMode */ public String getIndexMode() { return this.indexMode; } /** * @return keys */ public java.util.Map<String, IndexKey> getKeys() { return this.keys; } /** * @return lastModifyTime */ public Long getLastModifyTime() { return this.lastModifyTime; } /** * @return line */ public Line getLine() { return this.line; } /** * @return logReduce */ public Boolean getLogReduce() { return this.logReduce; } /** * @return logReduceBlackList */ public java.util.List<String> getLogReduceBlackList() { return this.logReduceBlackList; } /** * @return logReduceWhiteList */ public java.util.List<String> getLogReduceWhiteList() { return this.logReduceWhiteList; } /** * @return maxTextLen */ public Integer getMaxTextLen() { return this.maxTextLen; } /** * @return storage */ public String getStorage() { return this.storage; } /** * @return ttl */ public Integer getTtl() { return this.ttl; } public static final class Builder { private String indexMode; private java.util.Map<String, IndexKey> keys; private Long lastModifyTime; private Line line; private Boolean logReduce; private java.util.List<String> logReduceBlackList; private java.util.List<String> logReduceWhiteList; private Integer maxTextLen; private String storage; private Integer ttl; private Builder() { } private Builder(GetIndexResponseBody model) { this.indexMode = model.indexMode; this.keys = model.keys; this.lastModifyTime = model.lastModifyTime; this.line = model.line; this.logReduce = model.logReduce; this.logReduceBlackList = model.logReduceBlackList; this.logReduceWhiteList = model.logReduceWhiteList; this.maxTextLen = model.maxTextLen; this.storage = model.storage; this.ttl = model.ttl; } /** * <p>The type of the index.</p> * * <strong>example:</strong> * <p>v2</p> */ public Builder indexMode(String indexMode) { this.indexMode = indexMode; return this; } /** * <p>The configurations of field indexes. A field index is in the key-value format in which the key specifies the name of the field and the value specifies the index configuration of the field.</p> */ public Builder keys(java.util.Map<String, IndexKey> keys) { this.keys = keys; return this; } /** * <p>The time when the index configurations were last updated. The value is a UNIX timestamp representing the number of seconds that have elapsed since January 1, 1970, 00:00:00 UTC.</p> * * <strong>example:</strong> * <p>1524155379</p> */ public Builder lastModifyTime(Long lastModifyTime) { this.lastModifyTime = lastModifyTime; return this; } /** * <p>The configurations of full-text indexes.</p> */ public Builder line(Line line) { this.line = line; return this; } /** * <p>Indicates whether the log clustering feature is enabled.</p> * * <strong>example:</strong> * <p>false</p> */ public Builder logReduce(Boolean logReduce) { this.logReduce = logReduce; return this; } /** * <p>The fields in the blacklist that are used to cluster logs. This parameter is valid only if the log clustering feature is enabled.</p> */ public Builder logReduceBlackList(java.util.List<String> logReduceBlackList) { this.logReduceBlackList = logReduceBlackList; return this; } /** * <p>The fields in the whitelist that are used to cluster logs. This parameter is valid only if the log clustering feature is enabled.</p> */ public Builder logReduceWhiteList(java.util.List<String> logReduceWhiteList) { this.logReduceWhiteList = logReduceWhiteList; return this; } /** * <p>The maximum length of a field value that can be retained. Default value: 2048. Unit: bytes. The default value is equal to 2 KB. You can change the value of the max_text_len parameter. Valid values: 64 to 16384. Unit: bytes.</p> * * <strong>example:</strong> * <p>2048</p> */ public Builder maxTextLen(Integer maxTextLen) { this.maxTextLen = maxTextLen; return this; } /** * <p>The storage type. The value is fixed as pg.</p> * * <strong>example:</strong> * <p>pg</p> */ public Builder storage(String storage) { this.storage = storage; return this; } /** * <p>The lifecycle of the index file. Valid values: 7, 30, and 90. Unit: day.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>30</p> */ public Builder ttl(Integer ttl) { this.ttl = ttl; return this; } public GetIndexResponseBody build() { return new GetIndexResponseBody(this); } } /** * * {@link GetIndexResponseBody} extends {@link TeaModel} * * <p>GetIndexResponseBody</p> */ public static class Line extends TeaModel { @com.aliyun.core.annotation.NameInMap("caseSensitive") private Boolean caseSensitive; @com.aliyun.core.annotation.NameInMap("chn") private Boolean chn; @com.aliyun.core.annotation.NameInMap("exclude_keys") private java.util.List<String> excludeKeys; @com.aliyun.core.annotation.NameInMap("include_keys") private java.util.List<String> includeKeys; @com.aliyun.core.annotation.NameInMap("token") @com.aliyun.core.annotation.Validation(required = true) private java.util.List<String> token; private Line(Builder builder) { this.caseSensitive = builder.caseSensitive; this.chn = builder.chn; this.excludeKeys = builder.excludeKeys; this.includeKeys = builder.includeKeys; this.token = builder.token; } public static Builder builder() { return new Builder(); } public static Line create() { return builder().build(); } /** * @return caseSensitive */ public Boolean getCaseSensitive() { return this.caseSensitive; } /** * @return chn */ public Boolean getChn() { return this.chn; } /** * @return excludeKeys */ public java.util.List<String> getExcludeKeys() { return this.excludeKeys; } /** * @return includeKeys */ public java.util.List<String> getIncludeKeys() { return this.includeKeys; } /** * @return token */ public java.util.List<String> getToken() { return this.token; } public static final class Builder { private Boolean caseSensitive; private Boolean chn; private java.util.List<String> excludeKeys; private java.util.List<String> includeKeys; private java.util.List<String> token; private Builder() { } private Builder(Line model) { this.caseSensitive = model.caseSensitive; this.chn = model.chn; this.excludeKeys = model.excludeKeys; this.includeKeys = model.includeKeys; this.token = model.token; } /** * <p>Indicates whether case sensitivity is enabled. Valid values:</p> * <ul> * <li>true</li> * <li>false</li> * </ul> * * <strong>example:</strong> * <p>false</p> */ public Builder caseSensitive(Boolean caseSensitive) { this.caseSensitive = caseSensitive; return this; } /** * <p>Indicates whether Chinese characters are included. Valid values:</p> * <ul> * <li>true</li> * <li>false</li> * </ul> * * <strong>example:</strong> * <p>false</p> */ public Builder chn(Boolean chn) { this.chn = chn; return this; } /** * <p>The excluded fields.</p> */ public Builder excludeKeys(java.util.List<String> excludeKeys) { this.excludeKeys = excludeKeys; return this; } /** * <p>The included fields.</p> */ public Builder includeKeys(java.util.List<String> includeKeys) { this.includeKeys = includeKeys; return this; } /** * <p>The delimiters.</p> * <p>This parameter is required.</p> */ public Builder token(java.util.List<String> token) { this.token = token; return this; } public Line build() { return new Line(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetIngestProcessorRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetIngestProcessorRequest} extends {@link RequestModel} * * <p>GetIngestProcessorRequest</p> */ public class GetIngestProcessorRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("project") private String project; @com.aliyun.core.annotation.Path @com.aliyun.core.annotation.NameInMap("processorName") @com.aliyun.core.annotation.Validation(required = true) private String processorName; private GetIngestProcessorRequest(Builder builder) { super(builder); this.project = builder.project; this.processorName = builder.processorName; } public static Builder builder() { return new Builder(); } public static GetIngestProcessorRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return project */ public String getProject() { return this.project; } /** * @return processorName */ public String getProcessorName() { return this.processorName; } public static final class Builder extends Request.Builder<GetIngestProcessorRequest, Builder> { private String project; private String processorName; private Builder() { super(); } private Builder(GetIngestProcessorRequest request) { super(request); this.project = request.project; this.processorName = request.processorName; } /** * <p>The name of the project.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>ali-test-project</p> */ public Builder project(String project) { this.putHostParameter("project", project); this.project = project; return this; } /** * <p>The identifier of the ingest processor.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>parse-nginx-log</p> */ public Builder processorName(String processorName) { this.putPathParameter("processorName", processorName); this.processorName = processorName; return this; } @Override public GetIngestProcessorRequest build() { return new GetIngestProcessorRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetIngestProcessorResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetIngestProcessorResponse} extends {@link TeaModel} * * <p>GetIngestProcessorResponse</p> */ public class GetIngestProcessorResponse 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 IngestProcessor body; private GetIngestProcessorResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetIngestProcessorResponse 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 IngestProcessor getBody() { return this.body; } public interface Builder extends Response.Builder<GetIngestProcessorResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(IngestProcessor body); @Override GetIngestProcessorResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetIngestProcessorResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private IngestProcessor body; private BuilderImpl() { super(); } private BuilderImpl(GetIngestProcessorResponse 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(IngestProcessor body) { this.body = body; return this; } @Override public GetIngestProcessorResponse build() { return new GetIngestProcessorResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetLogStoreMeteringModeRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetLogStoreMeteringModeRequest} extends {@link RequestModel} * * <p>GetLogStoreMeteringModeRequest</p> */ public class GetLogStoreMeteringModeRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("project") private String project; @com.aliyun.core.annotation.Path @com.aliyun.core.annotation.NameInMap("logstore") @com.aliyun.core.annotation.Validation(required = true) private String logstore; private GetLogStoreMeteringModeRequest(Builder builder) { super(builder); this.project = builder.project; this.logstore = builder.logstore; } public static Builder builder() { return new Builder(); } public static GetLogStoreMeteringModeRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return project */ public String getProject() { return this.project; } /** * @return logstore */ public String getLogstore() { return this.logstore; } public static final class Builder extends Request.Builder<GetLogStoreMeteringModeRequest, Builder> { private String project; private String logstore; private Builder() { super(); } private Builder(GetLogStoreMeteringModeRequest request) { super(request); this.project = request.project; this.logstore = request.logstore; } /** * <p>The name of the project.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>projectName</p> */ public Builder project(String project) { this.putHostParameter("project", project); this.project = project; return this; } /** * <p>The name of the Logstore.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>logstoreName</p> */ public Builder logstore(String logstore) { this.putPathParameter("logstore", logstore); this.logstore = logstore; return this; } @Override public GetLogStoreMeteringModeRequest build() { return new GetLogStoreMeteringModeRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetLogStoreMeteringModeResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetLogStoreMeteringModeResponse} extends {@link TeaModel} * * <p>GetLogStoreMeteringModeResponse</p> */ public class GetLogStoreMeteringModeResponse 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 GetLogStoreMeteringModeResponseBody body; private GetLogStoreMeteringModeResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetLogStoreMeteringModeResponse 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 GetLogStoreMeteringModeResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetLogStoreMeteringModeResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetLogStoreMeteringModeResponseBody body); @Override GetLogStoreMeteringModeResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetLogStoreMeteringModeResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetLogStoreMeteringModeResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetLogStoreMeteringModeResponse 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(GetLogStoreMeteringModeResponseBody body) { this.body = body; return this; } @Override public GetLogStoreMeteringModeResponse build() { return new GetLogStoreMeteringModeResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetLogStoreMeteringModeResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetLogStoreMeteringModeResponseBody} extends {@link TeaModel} * * <p>GetLogStoreMeteringModeResponseBody</p> */ public class GetLogStoreMeteringModeResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("meteringMode") private String meteringMode; private GetLogStoreMeteringModeResponseBody(Builder builder) { this.meteringMode = builder.meteringMode; } public static Builder builder() { return new Builder(); } public static GetLogStoreMeteringModeResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return meteringMode */ public String getMeteringMode() { return this.meteringMode; } public static final class Builder { private String meteringMode; private Builder() { } private Builder(GetLogStoreMeteringModeResponseBody model) { this.meteringMode = model.meteringMode; } /** * <p>The billing mode. Default value: ChargeByFunction. Valid values: ChargeByFunction and ChargeByDataIngest.</p> * * <strong>example:</strong> * <p>ChargeByFunction</p> */ public Builder meteringMode(String meteringMode) { this.meteringMode = meteringMode; return this; } public GetLogStoreMeteringModeResponseBody build() { return new GetLogStoreMeteringModeResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetLogStoreRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetLogStoreRequest} extends {@link RequestModel} * * <p>GetLogStoreRequest</p> */ public class GetLogStoreRequest extends Request { @com.aliyun.core.annotation.Path @com.aliyun.core.annotation.NameInMap("logstore") @com.aliyun.core.annotation.Validation(required = true) private String logstore; @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("project") private String project; private GetLogStoreRequest(Builder builder) { super(builder); this.logstore = builder.logstore; this.project = builder.project; } public static Builder builder() { return new Builder(); } public static GetLogStoreRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return logstore */ public String getLogstore() { return this.logstore; } /** * @return project */ public String getProject() { return this.project; } public static final class Builder extends Request.Builder<GetLogStoreRequest, Builder> { private String logstore; private String project; private Builder() { super(); } private Builder(GetLogStoreRequest request) { super(request); this.logstore = request.logstore; this.project = request.project; } /** * <p>The name of the Logstore.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>ali-test-logstore</p> */ public Builder logstore(String logstore) { this.putPathParameter("logstore", logstore); this.logstore = logstore; return this; } /** * <p>This parameter is required.</p> */ public Builder project(String project) { this.putHostParameter("project", project); this.project = project; return this; } @Override public GetLogStoreRequest build() { return new GetLogStoreRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetLogStoreResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetLogStoreResponse} extends {@link TeaModel} * * <p>GetLogStoreResponse</p> */ public class GetLogStoreResponse 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 Logstore body; private GetLogStoreResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetLogStoreResponse 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 Logstore getBody() { return this.body; } public interface Builder extends Response.Builder<GetLogStoreResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(Logstore body); @Override GetLogStoreResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetLogStoreResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private Logstore body; private BuilderImpl() { super(); } private BuilderImpl(GetLogStoreResponse 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(Logstore body) { this.body = body; return this; } @Override public GetLogStoreResponse build() { return new GetLogStoreResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetLoggingRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetLoggingRequest} extends {@link RequestModel} * * <p>GetLoggingRequest</p> */ public class GetLoggingRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("project") private String project; private GetLoggingRequest(Builder builder) { super(builder); this.project = builder.project; } public static Builder builder() { return new Builder(); } public static GetLoggingRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return project */ public String getProject() { return this.project; } public static final class Builder extends Request.Builder<GetLoggingRequest, Builder> { private String project; private Builder() { super(); } private Builder(GetLoggingRequest request) { super(request); this.project = request.project; } /** * <p>The name of the project.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>ali-test-project</p> */ public Builder project(String project) { this.putHostParameter("project", project); this.project = project; return this; } @Override public GetLoggingRequest build() { return new GetLoggingRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetLoggingResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetLoggingResponse} extends {@link TeaModel} * * <p>GetLoggingResponse</p> */ public class GetLoggingResponse 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 Logging body; private GetLoggingResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetLoggingResponse 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 Logging getBody() { return this.body; } public interface Builder extends Response.Builder<GetLoggingResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(Logging body); @Override GetLoggingResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetLoggingResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private Logging body; private BuilderImpl() { super(); } private BuilderImpl(GetLoggingResponse 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(Logging body) { this.body = body; return this; } @Override public GetLoggingResponse build() { return new GetLoggingResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetLogsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetLogsRequest} extends {@link RequestModel} * * <p>GetLogsRequest</p> */ public class GetLogsRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("project") private String project; @com.aliyun.core.annotation.Path @com.aliyun.core.annotation.NameInMap("logstore") @com.aliyun.core.annotation.Validation(required = true) private String logstore; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("from") @com.aliyun.core.annotation.Validation(required = true) private Integer from; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("line") @com.aliyun.core.annotation.Validation(maximum = 100) private Long line; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("offset") private Long offset; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("powerSql") private Boolean powerSql; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("query") private String query; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("reverse") private Boolean reverse; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("to") @com.aliyun.core.annotation.Validation(required = true) private Integer to; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("topic") private String topic; private GetLogsRequest(Builder builder) { super(builder); this.project = builder.project; this.logstore = builder.logstore; this.from = builder.from; this.line = builder.line; this.offset = builder.offset; this.powerSql = builder.powerSql; this.query = builder.query; this.reverse = builder.reverse; this.to = builder.to; this.topic = builder.topic; } public static Builder builder() { return new Builder(); } public static GetLogsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return project */ public String getProject() { return this.project; } /** * @return logstore */ public String getLogstore() { return this.logstore; } /** * @return from */ public Integer getFrom() { return this.from; } /** * @return line */ public Long getLine() { return this.line; } /** * @return offset */ public Long getOffset() { return this.offset; } /** * @return powerSql */ public Boolean getPowerSql() { return this.powerSql; } /** * @return query */ public String getQuery() { return this.query; } /** * @return reverse */ public Boolean getReverse() { return this.reverse; } /** * @return to */ public Integer getTo() { return this.to; } /** * @return topic */ public String getTopic() { return this.topic; } public static final class Builder extends Request.Builder<GetLogsRequest, Builder> { private String project; private String logstore; private Integer from; private Long line; private Long offset; private Boolean powerSql; private String query; private Boolean reverse; private Integer to; private String topic; private Builder() { super(); } private Builder(GetLogsRequest request) { super(request); this.project = request.project; this.logstore = request.logstore; this.from = request.from; this.line = request.line; this.offset = request.offset; this.powerSql = request.powerSql; this.query = request.query; this.reverse = request.reverse; this.to = request.to; this.topic = request.topic; } /** * <p>The name of the project.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>ali-test-project</p> */ public Builder project(String project) { this.putHostParameter("project", project); this.project = project; return this; } /** * <p>The Logstore whose logs you want to query.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>example-logstore</p> */ public Builder logstore(String logstore) { this.putPathParameter("logstore", logstore); this.logstore = logstore; return this; } /** * <p>The beginning of the time range to query. The value is the log time that is specified when log data is written.</p> * <ul> * <li>The time range that is specified in this operation is a left-closed, right-open interval. The interval includes the start time specified by the <strong>from</strong> parameter, but does not include the end time specified by the <strong>to</strong> parameter. If you specify the same value for the <strong>from</strong> and <strong>to</strong> parameters, the interval is invalid, and an error message is returned.</li> * <li>The value is a UNIX timestamp representing the number of seconds that have elapsed since January 1, 1970, 00:00:00 UTC.</li> * </ul> * <blockquote> * <p>To ensure that full data can be queried, specify a query time range that is accurate to the minute. If you also specify a time range in an analytic statement, Simple Log Service uses the time range specified in the analytic statement for query and analysis.</p> * </blockquote> * <p>If you want to specify a time range that is accurate to the second in your analytic statement, you must use the from_unixtime or to_unixtime function to convert the time format. For more information about the functions, see <a href="https://help.aliyun.com/document_detail/63451.html">from_unixtime function</a> and <a href="https://help.aliyun.com/document_detail/63451.html">to_unixtime function</a>. Examples:</p> * <ul> * <li><code>* | SELECT * FROM log WHERE from_unixtime(__time__) &gt; from_unixtime(1664186624) AND from_unixtime(__time__) &lt; now()</code></li> * <li><code>* | SELECT * FROM log WHERE __time__ &gt; to_unixtime(date_parse(\&quot;2022-10-19 15:46:05\&quot;, \&quot;%Y-%m-%d %H:%i:%s\&quot;)) AND __time__ &lt; to_unixtime(now())</code></li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1627268185</p> */ public Builder from(Integer from) { this.putQueryParameter("from", from); this.from = from; return this; } /** * <p>The maximum number of logs to return for the request. This parameter takes effect only when the query parameter is set to a search statement. Minimum value: 0. Maximum value: 100. Default value: 100. For more information, see <a href="https://help.aliyun.com/document_detail/89994.html">Perform paged queries</a>.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder line(Long line) { this.putQueryParameter("line", line); this.line = line; return this; } /** * <p>The line from which the query starts. This parameter takes effect only when the query parameter is set to a search statement. Default value: 0. For more information, see <a href="https://help.aliyun.com/document_detail/89994.html">Perform paged queries</a>.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder offset(Long offset) { this.putQueryParameter("offset", offset); this.offset = offset; return this; } /** * <p>Specifies whether to enable the Dedicated SQL feature. For more information, see <a href="https://help.aliyun.com/document_detail/223777.html">Enable Dedicated SQL</a>. Valid values:</p> * <ul> * <li>true: enables the Dedicated SQL feature.</li> * <li>false (default): enables the Standard SQL feature.</li> * </ul> * <p>You can use the powerSql or <strong>query</strong> parameter to configure Dedicated SQL.</p> * * <strong>example:</strong> * <p>false</p> */ public Builder powerSql(Boolean powerSql) { this.putQueryParameter("powerSql", powerSql); this.powerSql = powerSql; return this; } /** * <p>The search statement or the query statement. For more information, see <a href="https://help.aliyun.com/document_detail/43772.html">Log search overview</a> and <a href="https://help.aliyun.com/document_detail/53608.html">Log analysis overview</a>. If you add <code>set session parallel_sql=true;</code> to the analytic statement in the query parameter, Dedicated SQL is used. For example, you can set the query parameter to <code>* | set session parallel_sql=true; select count(*) as pv</code>. For more information about common errors that may occur during log query and analysis, see <a href="https://help.aliyun.com/document_detail/61628.html">How do I resolve common errors that occur when I query and analyze logs?</a></p> * <blockquote> * <p>If you specify an analytic statement in the value of the query parameter, the line and offset parameters do not take effect. In this case, we recommend that you set the line and offset parameters to 0 and use the LIMIT clause to limit the number of logs to return on each page. For more information, see <a href="https://help.aliyun.com/document_detail/89994.html">Paged query</a>.</p> * </blockquote> * * <strong>example:</strong> * <p>status: 401 | SELECT remote_addr,COUNT(*) as pv GROUP by remote_addr ORDER by pv desc limit 5</p> */ public Builder query(String query) { this.putQueryParameter("query", query); this.query = query; return this; } /** * <p>Specifies whether to return logs in reverse chronological order of log timestamps. The log timestamps are accurate to the minute. Valid values:</p> * <ul> * <li>true: returns logs in reverse chronological order of log timestamps.</li> * <li>false (default): returns logs in chronological order of log timestamps.</li> * </ul> * <blockquote> * </blockquote> * <ul> * <li>The reverse parameter takes effect only when the query parameter is set to a search statement. The reverse parameter specifies the method used to sort returned logs.</li> * <li>If the query parameter is set to a query statement, the reverse parameter does not take effect. The method used to sort returned logs is specified by the ORDER BY clause in the analytic statement. If you use the keyword asc in the ORDER BY clause, the logs are sorted in chronological order. If you use the keyword desc in the ORDER BY clause, the logs are sorted in reverse chronological order. By default, asc is used in the ORDER BY clause.</li> * </ul> * * <strong>example:</strong> * <p>false</p> */ public Builder reverse(Boolean reverse) { this.putQueryParameter("reverse", reverse); this.reverse = reverse; return this; } /** * <p>The end of the time range to query. The value is the log time that is specified when log data is written.</p> * <ul> * <li>The time range that is specified in this operation is a left-closed, right-open interval. The interval includes the start time specified by the <strong>from</strong> parameter, but does not include the end time specified by the <strong>to</strong> parameter. If you specify the same value for the <strong>from</strong> and <strong>to</strong> parameters, the interval is invalid, and an error message is returned.</li> * <li>The value is a UNIX timestamp representing the number of seconds that have elapsed since January 1, 1970, 00:00:00 UTC.</li> * </ul> * <blockquote> * <p>To ensure that full data can be queried, specify a query time range that is accurate to the minute. If you also specify a time range in an analytic statement, Simple Log Service uses the time range specified in the analytic statement for query and analysis.</p> * </blockquote> * <p>If you want to specify a time range that is accurate to the second in your analytic statement, you must use the from_unixtime or to_unixtime function to convert the time format. For more information about the functions, see <a href="https://help.aliyun.com/document_detail/63451.html">from_unixtime function</a> and <a href="https://help.aliyun.com/document_detail/63451.html">to_unixtime function</a>. Examples:</p> * <ul> * <li><code>* | SELECT * FROM log WHERE from_unixtime(__time__) &gt; from_unixtime(1664186624) AND from_unixtime(__time__) &lt; now()</code></li> * <li><code>* | SELECT * FROM log WHERE __time__ &gt; to_unixtime(date_parse(\&quot;2022-10-19 15:46:05\&quot;, \&quot;%Y-%m-%d %H:%i:%s\&quot;)) AND __time__ &lt; to_unixtime(now())</code></li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1627269085</p> */ public Builder to(Integer to) { this.putQueryParameter("to", to); this.to = to; return this; } /** * <p>The topic of the logs. The default value is an empty string. For more information, see <a href="https://help.aliyun.com/document_detail/48881.html">Topic</a>.</p> * * <strong>example:</strong> * <p>topic</p> */ public Builder topic(String topic) { this.putQueryParameter("topic", topic); this.topic = topic; return this; } @Override public GetLogsRequest build() { return new GetLogsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetLogsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetLogsResponse} extends {@link TeaModel} * * <p>GetLogsResponse</p> */ public class GetLogsResponse 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 java.util.List<java.util.Map<String, ?>> body; private GetLogsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetLogsResponse 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 java.util.List<java.util.Map<String, ?>> getBody() { return this.body; } public interface Builder extends Response.Builder<GetLogsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(java.util.List<java.util.Map<String, ?>> body); @Override GetLogsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetLogsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private java.util.List<java.util.Map<String, ?>> body; private BuilderImpl() { super(); } private BuilderImpl(GetLogsResponse 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(java.util.List<java.util.Map<String, ?>> body) { this.body = body; return this; } @Override public GetLogsResponse build() { return new GetLogsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetLogsV2Request.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetLogsV2Request} extends {@link RequestModel} * * <p>GetLogsV2Request</p> */ public class GetLogsV2Request extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("project") private String project; @com.aliyun.core.annotation.Path @com.aliyun.core.annotation.NameInMap("logstore") @com.aliyun.core.annotation.Validation(required = true) private String logstore; @com.aliyun.core.annotation.Header @com.aliyun.core.annotation.NameInMap("Accept-Encoding") @com.aliyun.core.annotation.Validation(required = true) private String acceptEncoding; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("forward") private Boolean forward; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("from") @com.aliyun.core.annotation.Validation(required = true) private Integer from; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("highlight") private Boolean highlight; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("line") @com.aliyun.core.annotation.Validation(maximum = 100) private Long line; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("offset") private Long offset; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("powerSql") private Boolean powerSql; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("query") private String query; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("reverse") private Boolean reverse; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("session") private String session; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("to") @com.aliyun.core.annotation.Validation(required = true) private Integer to; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("topic") private String topic; private GetLogsV2Request(Builder builder) { super(builder); this.project = builder.project; this.logstore = builder.logstore; this.acceptEncoding = builder.acceptEncoding; this.forward = builder.forward; this.from = builder.from; this.highlight = builder.highlight; this.line = builder.line; this.offset = builder.offset; this.powerSql = builder.powerSql; this.query = builder.query; this.reverse = builder.reverse; this.session = builder.session; this.to = builder.to; this.topic = builder.topic; } public static Builder builder() { return new Builder(); } public static GetLogsV2Request create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return project */ public String getProject() { return this.project; } /** * @return logstore */ public String getLogstore() { return this.logstore; } /** * @return acceptEncoding */ public String getAcceptEncoding() { return this.acceptEncoding; } /** * @return forward */ public Boolean getForward() { return this.forward; } /** * @return from */ public Integer getFrom() { return this.from; } /** * @return highlight */ public Boolean getHighlight() { return this.highlight; } /** * @return line */ public Long getLine() { return this.line; } /** * @return offset */ public Long getOffset() { return this.offset; } /** * @return powerSql */ public Boolean getPowerSql() { return this.powerSql; } /** * @return query */ public String getQuery() { return this.query; } /** * @return reverse */ public Boolean getReverse() { return this.reverse; } /** * @return session */ public String getSession() { return this.session; } /** * @return to */ public Integer getTo() { return this.to; } /** * @return topic */ public String getTopic() { return this.topic; } public static final class Builder extends Request.Builder<GetLogsV2Request, Builder> { private String project; private String logstore; private String acceptEncoding; private Boolean forward; private Integer from; private Boolean highlight; private Long line; private Long offset; private Boolean powerSql; private String query; private Boolean reverse; private String session; private Integer to; private String topic; private Builder() { super(); } private Builder(GetLogsV2Request request) { super(request); this.project = request.project; this.logstore = request.logstore; this.acceptEncoding = request.acceptEncoding; this.forward = request.forward; this.from = request.from; this.highlight = request.highlight; this.line = request.line; this.offset = request.offset; this.powerSql = request.powerSql; this.query = request.query; this.reverse = request.reverse; this.session = request.session; this.to = request.to; this.topic = request.topic; } /** * <p>The name of the project.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>ali-test-project</p> */ public Builder project(String project) { this.putHostParameter("project", project); this.project = project; return this; } /** * <p>The name of the Logstore.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>test-logstore</p> */ public Builder logstore(String logstore) { this.putPathParameter("logstore", logstore); this.logstore = logstore; return this; } /** * <p>The compression format.</p> * <ul> * <li>For Java, Python, and Go, only the lz4 and gzip algorithms are supported for decompression.</li> * <li>For PHP, JavaScript, and C#, only the gzip algorithm is supported for decompression.</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>lz4</p> */ public Builder acceptEncoding(String acceptEncoding) { this.putHeaderParameter("Accept-Encoding", acceptEncoding); this.acceptEncoding = acceptEncoding; return this; } /** * <p>Specifies whether to page forward or backward for the scan-based query or phrase search.</p> * * <strong>example:</strong> * <p>false</p> */ public Builder forward(Boolean forward) { this.putBodyParameter("forward", forward); this.forward = forward; return this; } /** * <p>The beginning of the time range to query. The value is the log time that is specified when log data is written.</p> * <p>The time range that is specified in this operation is a left-closed, right-open interval. The interval includes the start time specified by the from parameter, but does not include the end time specified by the to parameter. If you specify the same value for the from and to parameters, the interval is invalid, and an error message is returned. The value is a timestamp that follows the UNIX time format. It is the number of seconds that have elapsed since January 1, 1970, 00:00:00 UTC.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1627268185</p> */ public Builder from(Integer from) { this.putBodyParameter("from", from); this.from = from; return this; } /** * <p>Specifies whether to highlight the returned result.</p> * * <strong>example:</strong> * <p>false</p> */ public Builder highlight(Boolean highlight) { this.putBodyParameter("highlight", highlight); this.highlight = highlight; return this; } /** * <p>The maximum number of logs to return for the request. This parameter takes effect only when the query parameter is set to a search statement. Valid values: 0 to 100. Default value: 100.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder line(Long line) { this.putBodyParameter("line", line); this.line = line; return this; } /** * <p>The line from which the query starts. This parameter takes effect only when the query parameter is set to a search statement. Default value: 0.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder offset(Long offset) { this.putBodyParameter("offset", offset); this.offset = offset; return this; } /** * <p>Specifies whether to enable the SQL enhancement feature. By default, the feature is disabled.</p> * * <strong>example:</strong> * <p>false</p> */ public Builder powerSql(Boolean powerSql) { this.putBodyParameter("powerSql", powerSql); this.powerSql = powerSql; return this; } /** * <p>The search statement or query statement. For more information, see the &quot;Log search overview&quot; and &quot;Log analysis overview&quot; topics.</p> * <p>If you add set session parallel_sql=true; to the analytic statement in the query parameter, Dedicated SQL is used. Example: * | set session parallel_sql=true; select count(*) as pv.</p> * <p>Note: If you specify an analytic statement in the query parameter, the line and offset parameters do not take effect in this operation. In this case, we recommend that you set the line and offset parameters to 0 and use the LIMIT clause to specify the number of logs to return on each page. For more information, see the &quot;Perform paged queries&quot; topic.</p> * * <strong>example:</strong> * <p>status: 401 | SELECT remote_addr,COUNT(*) as pv GROUP by remote_addr ORDER by pv desc limit 5</p> */ public Builder query(String query) { this.putBodyParameter("query", query); this.query = query; return this; } /** * <p>Specifies whether to return logs in reverse chronological order of log timestamps. The log timestamps are accurate to minutes. Valid values:</p> * <p>true: Logs are returned in reverse chronological order of log timestamps. false (default): Logs are returned in chronological order of log timestamps. Note: The reverse parameter takes effect only when the query parameter is set to a search statement. The reverse parameter specifies the method used to sort returned logs. If the query parameter is set to a query statement, the reverse parameter does not take effect. The method used to sort returned logs is specified by the ORDER BY clause in the analytic statement. If you use the keyword asc in the ORDER BY clause, the logs are sorted in chronological order. If you use the keyword desc in the ORDER BY clause, the logs are sorted in reverse chronological order. By default, asc is used in the ORDER BY clause.</p> * * <strong>example:</strong> * <p>false</p> */ public Builder reverse(Boolean reverse) { this.putBodyParameter("reverse", reverse); this.reverse = reverse; return this; } /** * <p>The parameter that is used to query data.</p> * * <strong>example:</strong> * <p>mode=scan</p> */ public Builder session(String session) { this.putBodyParameter("session", session); this.session = session; return this; } /** * <p>The end of the time range to query. The value is the log time that is specified when log data is written.</p> * <p>The time range that is specified in this operation is a left-closed, right-open interval. The interval includes the start time specified by the from parameter, but does not include the end time specified by the to parameter. If you specify the same value for the from and to parameters, the interval is invalid, and an error message is returned. The value is a timestamp that follows the UNIX time format. It is the number of seconds that have elapsed since January 1, 1970, 00:00:00 UTC.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1627268185</p> */ public Builder to(Integer to) { this.putBodyParameter("to", to); this.to = to; return this; } /** * <p>The topic of the logs. Default value: double quotation marks (&quot;&quot;).</p> * * <strong>example:</strong> * <p>&quot;&quot;</p> */ public Builder topic(String topic) { this.putBodyParameter("topic", topic); this.topic = topic; return this; } @Override public GetLogsV2Request build() { return new GetLogsV2Request(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetLogsV2Response.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetLogsV2Response} extends {@link TeaModel} * * <p>GetLogsV2Response</p> */ public class GetLogsV2Response 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 GetLogsV2ResponseBody body; private GetLogsV2Response(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetLogsV2Response 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 GetLogsV2ResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetLogsV2Response, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetLogsV2ResponseBody body); @Override GetLogsV2Response build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetLogsV2Response, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetLogsV2ResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetLogsV2Response 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(GetLogsV2ResponseBody body) { this.body = body; return this; } @Override public GetLogsV2Response build() { return new GetLogsV2Response(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetLogsV2ResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetLogsV2ResponseBody} extends {@link TeaModel} * * <p>GetLogsV2ResponseBody</p> */ public class GetLogsV2ResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("data") private java.util.List<java.util.Map<String, String>> data; @com.aliyun.core.annotation.NameInMap("meta") private Meta meta; private GetLogsV2ResponseBody(Builder builder) { this.data = builder.data; this.meta = builder.meta; } public static Builder builder() { return new Builder(); } public static GetLogsV2ResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return data */ public java.util.List<java.util.Map<String, String>> getData() { return this.data; } /** * @return meta */ public Meta getMeta() { return this.meta; } public static final class Builder { private java.util.List<java.util.Map<String, String>> data; private Meta meta; private Builder() { } private Builder(GetLogsV2ResponseBody model) { this.data = model.data; this.meta = model.meta; } /** * <p>The returned result.</p> */ public Builder data(java.util.List<java.util.Map<String, String>> data) { this.data = data; return this; } /** * <p>The metadata of the returned data.</p> */ public Builder meta(Meta meta) { this.meta = meta; return this; } public GetLogsV2ResponseBody build() { return new GetLogsV2ResponseBody(this); } } /** * * {@link GetLogsV2ResponseBody} extends {@link TeaModel} * * <p>GetLogsV2ResponseBody</p> */ public static class PhraseQueryInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("beginOffset") private Long beginOffset; @com.aliyun.core.annotation.NameInMap("endOffset") private Long endOffset; @com.aliyun.core.annotation.NameInMap("endTime") private Long endTime; @com.aliyun.core.annotation.NameInMap("scanAll") private Boolean scanAll; private PhraseQueryInfo(Builder builder) { this.beginOffset = builder.beginOffset; this.endOffset = builder.endOffset; this.endTime = builder.endTime; this.scanAll = builder.scanAll; } public static Builder builder() { return new Builder(); } public static PhraseQueryInfo create() { return builder().build(); } /** * @return beginOffset */ public Long getBeginOffset() { return this.beginOffset; } /** * @return endOffset */ public Long getEndOffset() { return this.endOffset; } /** * @return endTime */ public Long getEndTime() { return this.endTime; } /** * @return scanAll */ public Boolean getScanAll() { return this.scanAll; } public static final class Builder { private Long beginOffset; private Long endOffset; private Long endTime; private Boolean scanAll; private Builder() { } private Builder(PhraseQueryInfo model) { this.beginOffset = model.beginOffset; this.endOffset = model.endOffset; this.endTime = model.endTime; this.scanAll = model.scanAll; } /** * beginOffset. */ public Builder beginOffset(Long beginOffset) { this.beginOffset = beginOffset; return this; } /** * endOffset. */ public Builder endOffset(Long endOffset) { this.endOffset = endOffset; return this; } /** * endTime. */ public Builder endTime(Long endTime) { this.endTime = endTime; return this; } /** * scanAll. */ public Builder scanAll(Boolean scanAll) { this.scanAll = scanAll; return this; } public PhraseQueryInfo build() { return new PhraseQueryInfo(this); } } } /** * * {@link GetLogsV2ResponseBody} extends {@link TeaModel} * * <p>GetLogsV2ResponseBody</p> */ public static class Meta extends TeaModel { @com.aliyun.core.annotation.NameInMap("aggQuery") private String aggQuery; @com.aliyun.core.annotation.NameInMap("columnTypes") private java.util.List<String> columnTypes; @com.aliyun.core.annotation.NameInMap("count") private Integer count; @com.aliyun.core.annotation.NameInMap("cpuCores") private Integer cpuCores; @com.aliyun.core.annotation.NameInMap("cpuSec") private Double cpuSec; @com.aliyun.core.annotation.NameInMap("elapsedMillisecond") private Long elapsedMillisecond; @com.aliyun.core.annotation.NameInMap("hasSQL") private Boolean hasSQL; @com.aliyun.core.annotation.NameInMap("highlights") private java.util.List<java.util.List<LogContent>> highlights; @com.aliyun.core.annotation.NameInMap("isAccurate") private Boolean isAccurate; @com.aliyun.core.annotation.NameInMap("keys") private java.util.List<String> keys; @com.aliyun.core.annotation.NameInMap("limited") private Integer limited; @com.aliyun.core.annotation.NameInMap("mode") private Integer mode; @com.aliyun.core.annotation.NameInMap("phraseQueryInfo") private PhraseQueryInfo phraseQueryInfo; @com.aliyun.core.annotation.NameInMap("processedBytes") private Long processedBytes; @com.aliyun.core.annotation.NameInMap("processedRows") private Long processedRows; @com.aliyun.core.annotation.NameInMap("progress") private String progress; @com.aliyun.core.annotation.NameInMap("scanBytes") private Long scanBytes; @com.aliyun.core.annotation.NameInMap("telementryType") private String telementryType; @com.aliyun.core.annotation.NameInMap("terms") private java.util.List<java.util.Map<String, ?>> terms; @com.aliyun.core.annotation.NameInMap("whereQuery") private String whereQuery; private Meta(Builder builder) { this.aggQuery = builder.aggQuery; this.columnTypes = builder.columnTypes; this.count = builder.count; this.cpuCores = builder.cpuCores; this.cpuSec = builder.cpuSec; this.elapsedMillisecond = builder.elapsedMillisecond; this.hasSQL = builder.hasSQL; this.highlights = builder.highlights; this.isAccurate = builder.isAccurate; this.keys = builder.keys; this.limited = builder.limited; this.mode = builder.mode; this.phraseQueryInfo = builder.phraseQueryInfo; this.processedBytes = builder.processedBytes; this.processedRows = builder.processedRows; this.progress = builder.progress; this.scanBytes = builder.scanBytes; this.telementryType = builder.telementryType; this.terms = builder.terms; this.whereQuery = builder.whereQuery; } public static Builder builder() { return new Builder(); } public static Meta create() { return builder().build(); } /** * @return aggQuery */ public String getAggQuery() { return this.aggQuery; } /** * @return columnTypes */ public java.util.List<String> getColumnTypes() { return this.columnTypes; } /** * @return count */ public Integer getCount() { return this.count; } /** * @return cpuCores */ public Integer getCpuCores() { return this.cpuCores; } /** * @return cpuSec */ public Double getCpuSec() { return this.cpuSec; } /** * @return elapsedMillisecond */ public Long getElapsedMillisecond() { return this.elapsedMillisecond; } /** * @return hasSQL */ public Boolean getHasSQL() { return this.hasSQL; } /** * @return highlights */ public java.util.List<java.util.List<LogContent>> getHighlights() { return this.highlights; } /** * @return isAccurate */ public Boolean getIsAccurate() { return this.isAccurate; } /** * @return keys */ public java.util.List<String> getKeys() { return this.keys; } /** * @return limited */ public Integer getLimited() { return this.limited; } /** * @return mode */ public Integer getMode() { return this.mode; } /** * @return phraseQueryInfo */ public PhraseQueryInfo getPhraseQueryInfo() { return this.phraseQueryInfo; } /** * @return processedBytes */ public Long getProcessedBytes() { return this.processedBytes; } /** * @return processedRows */ public Long getProcessedRows() { return this.processedRows; } /** * @return progress */ public String getProgress() { return this.progress; } /** * @return scanBytes */ public Long getScanBytes() { return this.scanBytes; } /** * @return telementryType */ public String getTelementryType() { return this.telementryType; } /** * @return terms */ public java.util.List<java.util.Map<String, ?>> getTerms() { return this.terms; } /** * @return whereQuery */ public String getWhereQuery() { return this.whereQuery; } public static final class Builder { private String aggQuery; private java.util.List<String> columnTypes; private Integer count; private Integer cpuCores; private Double cpuSec; private Long elapsedMillisecond; private Boolean hasSQL; private java.util.List<java.util.List<LogContent>> highlights; private Boolean isAccurate; private java.util.List<String> keys; private Integer limited; private Integer mode; private PhraseQueryInfo phraseQueryInfo; private Long processedBytes; private Long processedRows; private String progress; private Long scanBytes; private String telementryType; private java.util.List<java.util.Map<String, ?>> terms; private String whereQuery; private Builder() { } private Builder(Meta model) { this.aggQuery = model.aggQuery; this.columnTypes = model.columnTypes; this.count = model.count; this.cpuCores = model.cpuCores; this.cpuSec = model.cpuSec; this.elapsedMillisecond = model.elapsedMillisecond; this.hasSQL = model.hasSQL; this.highlights = model.highlights; this.isAccurate = model.isAccurate; this.keys = model.keys; this.limited = model.limited; this.mode = model.mode; this.phraseQueryInfo = model.phraseQueryInfo; this.processedBytes = model.processedBytes; this.processedRows = model.processedRows; this.progress = model.progress; this.scanBytes = model.scanBytes; this.telementryType = model.telementryType; this.terms = model.terms; this.whereQuery = model.whereQuery; } /** * <p>The SQL statement after | in the query statement.</p> * * <strong>example:</strong> * <p>select *</p> */ public Builder aggQuery(String aggQuery) { this.aggQuery = aggQuery; return this; } /** * columnTypes. */ public Builder columnTypes(java.util.List<String> columnTypes) { this.columnTypes = columnTypes; return this; } /** * <p>The number of rows that are returned.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * cpuCores. */ public Builder cpuCores(Integer cpuCores) { this.cpuCores = cpuCores; return this; } /** * cpuSec. */ public Builder cpuSec(Double cpuSec) { this.cpuSec = cpuSec; return this; } /** * <p>The amount of time that is consumed by the request. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>5</p> */ public Builder elapsedMillisecond(Long elapsedMillisecond) { this.elapsedMillisecond = elapsedMillisecond; return this; } /** * <p>Indicates whether the query is an SQL query.</p> * * <strong>example:</strong> * <p>false</p> */ public Builder hasSQL(Boolean hasSQL) { this.hasSQL = hasSQL; return this; } /** * highlights. */ public Builder highlights(java.util.List<java.util.List<LogContent>> highlights) { this.highlights = highlights; return this; } /** * <p>Indicates whether the returned result is accurate to seconds.</p> * * <strong>example:</strong> * <p>true</p> */ public Builder isAccurate(Boolean isAccurate) { this.isAccurate = isAccurate; return this; } /** * <p>All keys in the query result.</p> */ public Builder keys(java.util.List<String> keys) { this.keys = keys; return this; } /** * limited. */ public Builder limited(Integer limited) { this.limited = limited; return this; } /** * mode. */ public Builder mode(Integer mode) { this.mode = mode; return this; } /** * phraseQueryInfo. */ public Builder phraseQueryInfo(PhraseQueryInfo phraseQueryInfo) { this.phraseQueryInfo = phraseQueryInfo; return this; } /** * <p>The number of logs that are processed in the request.</p> * * <strong>example:</strong> * <p>10000</p> */ public Builder processedBytes(Long processedBytes) { this.processedBytes = processedBytes; return this; } /** * <p>The number of rows that are processed in the query.</p> * * <strong>example:</strong> * <p>10000</p> */ public Builder processedRows(Long processedRows) { this.processedRows = processedRows; return this; } /** * <p>Indicates whether the query result is complete. Valid values:</p> * <ul> * <li>Complete: The query was successful, and the complete result is returned.</li> * <li>Incomplete: The query was successful, but the query result is incomplete. To obtain the complete result, you must call the operation again.</li> * </ul> * * <strong>example:</strong> * <p>Complete</p> */ public Builder progress(String progress) { this.progress = progress; return this; } /** * scanBytes. */ public Builder scanBytes(Long scanBytes) { this.scanBytes = scanBytes; return this; } /** * <p>The type of observable data.</p> * * <strong>example:</strong> * <p>None</p> */ public Builder telementryType(String telementryType) { this.telementryType = telementryType; return this; } /** * <p>All terms in the query statement.</p> */ public Builder terms(java.util.List<java.util.Map<String, ?>> terms) { this.terms = terms; return this; } /** * <p>The part before | in the query statement.</p> * * <strong>example:</strong> * <ul> * <li></li> * </ul> */ public Builder whereQuery(String whereQuery) { this.whereQuery = whereQuery; return this; } public Meta build() { return new Meta(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetLogtailPipelineConfigRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetLogtailPipelineConfigRequest} extends {@link RequestModel} * * <p>GetLogtailPipelineConfigRequest</p> */ public class GetLogtailPipelineConfigRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("project") private String project; @com.aliyun.core.annotation.Path @com.aliyun.core.annotation.NameInMap("configName") @com.aliyun.core.annotation.Validation(required = true) private String configName; private GetLogtailPipelineConfigRequest(Builder builder) { super(builder); this.project = builder.project; this.configName = builder.configName; } public static Builder builder() { return new Builder(); } public static GetLogtailPipelineConfigRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return project */ public String getProject() { return this.project; } /** * @return configName */ public String getConfigName() { return this.configName; } public static final class Builder extends Request.Builder<GetLogtailPipelineConfigRequest, Builder> { private String project; private String configName; private Builder() { super(); } private Builder(GetLogtailPipelineConfigRequest request) { super(request); this.project = request.project; this.configName = request.configName; } /** * <p>The name of the project.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>test-project</p> */ public Builder project(String project) { this.putHostParameter("project", project); this.project = project; return this; } /** * <p>The name of the Logtail pipeline configuration.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>test-config</p> */ public Builder configName(String configName) { this.putPathParameter("configName", configName); this.configName = configName; return this; } @Override public GetLogtailPipelineConfigRequest build() { return new GetLogtailPipelineConfigRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetLogtailPipelineConfigResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetLogtailPipelineConfigResponse} extends {@link TeaModel} * * <p>GetLogtailPipelineConfigResponse</p> */ public class GetLogtailPipelineConfigResponse 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 LogtailPipelineConfig body; private GetLogtailPipelineConfigResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetLogtailPipelineConfigResponse 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 LogtailPipelineConfig getBody() { return this.body; } public interface Builder extends Response.Builder<GetLogtailPipelineConfigResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(LogtailPipelineConfig body); @Override GetLogtailPipelineConfigResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetLogtailPipelineConfigResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private LogtailPipelineConfig body; private BuilderImpl() { super(); } private BuilderImpl(GetLogtailPipelineConfigResponse 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(LogtailPipelineConfig body) { this.body = body; return this; } @Override public GetLogtailPipelineConfigResponse build() { return new GetLogtailPipelineConfigResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetMLServiceResultsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetMLServiceResultsRequest} extends {@link RequestModel} * * <p>GetMLServiceResultsRequest</p> */ public class GetMLServiceResultsRequest extends Request { @com.aliyun.core.annotation.Path @com.aliyun.core.annotation.NameInMap("serviceName") private String serviceName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("allowBuiltin") private Boolean allowBuiltin; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("body") private MLServiceAnalysisParam body; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("version") private String version; private GetMLServiceResultsRequest(Builder builder) { super(builder); this.serviceName = builder.serviceName; this.allowBuiltin = builder.allowBuiltin; this.body = builder.body; this.version = builder.version; } public static Builder builder() { return new Builder(); } public static GetMLServiceResultsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return serviceName */ public String getServiceName() { return this.serviceName; } /** * @return allowBuiltin */ public Boolean getAllowBuiltin() { return this.allowBuiltin; } /** * @return body */ public MLServiceAnalysisParam getBody() { return this.body; } /** * @return version */ public String getVersion() { return this.version; } public static final class Builder extends Request.Builder<GetMLServiceResultsRequest, Builder> { private String serviceName; private Boolean allowBuiltin; private MLServiceAnalysisParam body; private String version; private Builder() { super(); } private Builder(GetMLServiceResultsRequest request) { super(request); this.serviceName = request.serviceName; this.allowBuiltin = request.allowBuiltin; this.body = request.body; this.version = request.version; } /** * <p>The name of the service.</p> * <p>Valid values:</p> * <ul> * <li>sls_builtin_service_trace_rca: service name for high-latency trace analysis.</li> * <li>sls_builtin_service_log_struct: service name for NER tasks on logs.</li> * <li>sls_builtin_service_metric_anomaly: service name for single-dimension anomaly detection on time series.</li> * </ul> * * <strong>example:</strong> * <p>sls_builtin_service_log_struct</p> */ public Builder serviceName(String serviceName) { this.putPathParameter("serviceName", serviceName); this.serviceName = serviceName; return this; } /** * allowBuiltin. */ public Builder allowBuiltin(Boolean allowBuiltin) { this.putQueryParameter("allowBuiltin", allowBuiltin); this.allowBuiltin = allowBuiltin; return this; } /** * body. */ public Builder body(MLServiceAnalysisParam body) { this.putBodyParameter("body", body); this.body = body; return this; } /** * <p>The version of the algorithm. The algorithm varies based on the version.</p> * * <strong>example:</strong> * <p>v1</p> */ public Builder version(String version) { this.putQueryParameter("version", version); this.version = version; return this; } @Override public GetMLServiceResultsRequest build() { return new GetMLServiceResultsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetMLServiceResultsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetMLServiceResultsResponse} extends {@link TeaModel} * * <p>GetMLServiceResultsResponse</p> */ public class GetMLServiceResultsResponse 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 GetMLServiceResultsResponseBody body; private GetMLServiceResultsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetMLServiceResultsResponse 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 GetMLServiceResultsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetMLServiceResultsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetMLServiceResultsResponseBody body); @Override GetMLServiceResultsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetMLServiceResultsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetMLServiceResultsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetMLServiceResultsResponse 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(GetMLServiceResultsResponseBody body) { this.body = body; return this; } @Override public GetMLServiceResultsResponse build() { return new GetMLServiceResultsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetMLServiceResultsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetMLServiceResultsResponseBody} extends {@link TeaModel} * * <p>GetMLServiceResultsResponseBody</p> */ public class GetMLServiceResultsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("data") private java.util.List<java.util.Map<String, String>> data; @com.aliyun.core.annotation.NameInMap("status") private java.util.Map<String, String> status; private GetMLServiceResultsResponseBody(Builder builder) { this.data = builder.data; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static GetMLServiceResultsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return data */ public java.util.List<java.util.Map<String, String>> getData() { return this.data; } /** * @return status */ public java.util.Map<String, String> getStatus() { return this.status; } public static final class Builder { private java.util.List<java.util.Map<String, String>> data; private java.util.Map<String, String> status; private Builder() { } private Builder(GetMLServiceResultsResponseBody model) { this.data = model.data; this.status = model.status; } /** * data. */ public Builder data(java.util.List<java.util.Map<String, String>> data) { this.data = data; return this; } /** * status. */ public Builder status(java.util.Map<String, String> status) { this.status = status; return this; } public GetMLServiceResultsResponseBody build() { return new GetMLServiceResultsResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetMachineGroupRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetMachineGroupRequest} extends {@link RequestModel} * * <p>GetMachineGroupRequest</p> */ public class GetMachineGroupRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("project") private String project; @com.aliyun.core.annotation.Path @com.aliyun.core.annotation.NameInMap("machineGroup") @com.aliyun.core.annotation.Validation(required = true) private String machineGroup; private GetMachineGroupRequest(Builder builder) { super(builder); this.project = builder.project; this.machineGroup = builder.machineGroup; } public static Builder builder() { return new Builder(); } public static GetMachineGroupRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return project */ public String getProject() { return this.project; } /** * @return machineGroup */ public String getMachineGroup() { return this.machineGroup; } public static final class Builder extends Request.Builder<GetMachineGroupRequest, Builder> { private String project; private String machineGroup; private Builder() { super(); } private Builder(GetMachineGroupRequest request) { super(request); this.project = request.project; this.machineGroup = request.machineGroup; } /** * <p>The name of the project.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>ali-test-project</p> */ public Builder project(String project) { this.putHostParameter("project", project); this.project = project; return this; } /** * <p>The name of the machine group.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>test-machine-group</p> */ public Builder machineGroup(String machineGroup) { this.putPathParameter("machineGroup", machineGroup); this.machineGroup = machineGroup; return this; } @Override public GetMachineGroupRequest build() { return new GetMachineGroupRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetMachineGroupResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetMachineGroupResponse} extends {@link TeaModel} * * <p>GetMachineGroupResponse</p> */ public class GetMachineGroupResponse 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 MachineGroup body; private GetMachineGroupResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetMachineGroupResponse 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 MachineGroup getBody() { return this.body; } public interface Builder extends Response.Builder<GetMachineGroupResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(MachineGroup body); @Override GetMachineGroupResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetMachineGroupResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private MachineGroup body; private BuilderImpl() { super(); } private BuilderImpl(GetMachineGroupResponse 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(MachineGroup body) { this.body = body; return this; } @Override public GetMachineGroupResponse build() { return new GetMachineGroupResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetMaxComputeExportRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetMaxComputeExportRequest} extends {@link RequestModel} * * <p>GetMaxComputeExportRequest</p> */ public class GetMaxComputeExportRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("project") private String project; @com.aliyun.core.annotation.Path @com.aliyun.core.annotation.NameInMap("mcExportName") @com.aliyun.core.annotation.Validation(required = true) private String mcExportName; private GetMaxComputeExportRequest(Builder builder) { super(builder); this.project = builder.project; this.mcExportName = builder.mcExportName; } public static Builder builder() { return new Builder(); } public static GetMaxComputeExportRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return project */ public String getProject() { return this.project; } /** * @return mcExportName */ public String getMcExportName() { return this.mcExportName; } public static final class Builder extends Request.Builder<GetMaxComputeExportRequest, Builder> { private String project; private String mcExportName; private Builder() { super(); } private Builder(GetMaxComputeExportRequest request) { super(request); this.project = request.project; this.mcExportName = request.mcExportName; } /** * <p>The name of the project.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>my-project</p> */ public Builder project(String project) { this.putHostParameter("project", project); this.project = project; return this; } /** * <p>The unique name of the job. Make sure that the job exists.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>export-mc-123456789-123456</p> */ public Builder mcExportName(String mcExportName) { this.putPathParameter("mcExportName", mcExportName); this.mcExportName = mcExportName; return this; } @Override public GetMaxComputeExportRequest build() { return new GetMaxComputeExportRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetMaxComputeExportResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetMaxComputeExportResponse} extends {@link TeaModel} * * <p>GetMaxComputeExportResponse</p> */ public class GetMaxComputeExportResponse 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 MaxComputeExport body; private GetMaxComputeExportResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetMaxComputeExportResponse 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 MaxComputeExport getBody() { return this.body; } public interface Builder extends Response.Builder<GetMaxComputeExportResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(MaxComputeExport body); @Override GetMaxComputeExportResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetMaxComputeExportResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private MaxComputeExport body; private BuilderImpl() { super(); } private BuilderImpl(GetMaxComputeExportResponse 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(MaxComputeExport body) { this.body = body; return this; } @Override public GetMaxComputeExportResponse build() { return new GetMaxComputeExportResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetMetricStoreMeteringModeRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetMetricStoreMeteringModeRequest} extends {@link RequestModel} * * <p>GetMetricStoreMeteringModeRequest</p> */ public class GetMetricStoreMeteringModeRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("project") private String project; @com.aliyun.core.annotation.Path @com.aliyun.core.annotation.NameInMap("metricStore") @com.aliyun.core.annotation.Validation(required = true) private String metricStore; private GetMetricStoreMeteringModeRequest(Builder builder) { super(builder); this.project = builder.project; this.metricStore = builder.metricStore; } public static Builder builder() { return new Builder(); } public static GetMetricStoreMeteringModeRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return project */ public String getProject() { return this.project; } /** * @return metricStore */ public String getMetricStore() { return this.metricStore; } public static final class Builder extends Request.Builder<GetMetricStoreMeteringModeRequest, Builder> { private String project; private String metricStore; private Builder() { super(); } private Builder(GetMetricStoreMeteringModeRequest request) { super(request); this.project = request.project; this.metricStore = request.metricStore; } /** * <p>The name of the project.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>projectName</p> */ public Builder project(String project) { this.putHostParameter("project", project); this.project = project; return this; } /** * <p>metricStore</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>metricStoreName</p> */ public Builder metricStore(String metricStore) { this.putPathParameter("metricStore", metricStore); this.metricStore = metricStore; return this; } @Override public GetMetricStoreMeteringModeRequest build() { return new GetMetricStoreMeteringModeRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetMetricStoreMeteringModeResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetMetricStoreMeteringModeResponse} extends {@link TeaModel} * * <p>GetMetricStoreMeteringModeResponse</p> */ public class GetMetricStoreMeteringModeResponse 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 GetMetricStoreMeteringModeResponseBody body; private GetMetricStoreMeteringModeResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetMetricStoreMeteringModeResponse 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 GetMetricStoreMeteringModeResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetMetricStoreMeteringModeResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetMetricStoreMeteringModeResponseBody body); @Override GetMetricStoreMeteringModeResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetMetricStoreMeteringModeResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetMetricStoreMeteringModeResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetMetricStoreMeteringModeResponse 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(GetMetricStoreMeteringModeResponseBody body) { this.body = body; return this; } @Override public GetMetricStoreMeteringModeResponse build() { return new GetMetricStoreMeteringModeResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetMetricStoreMeteringModeResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetMetricStoreMeteringModeResponseBody} extends {@link TeaModel} * * <p>GetMetricStoreMeteringModeResponseBody</p> */ public class GetMetricStoreMeteringModeResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("meteringMode") private String meteringMode; private GetMetricStoreMeteringModeResponseBody(Builder builder) { this.meteringMode = builder.meteringMode; } public static Builder builder() { return new Builder(); } public static GetMetricStoreMeteringModeResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return meteringMode */ public String getMeteringMode() { return this.meteringMode; } public static final class Builder { private String meteringMode; private Builder() { } private Builder(GetMetricStoreMeteringModeResponseBody model) { this.meteringMode = model.meteringMode; } /** * <p>The billing mode. Default value: ChargeByFunction. Valid values: ChargeByFunction and ChargeByDataIngest.</p> * * <strong>example:</strong> * <p>ChargeByFunction</p> */ public Builder meteringMode(String meteringMode) { this.meteringMode = meteringMode; return this; } public GetMetricStoreMeteringModeResponseBody build() { return new GetMetricStoreMeteringModeResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetMetricStoreRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetMetricStoreRequest} extends {@link RequestModel} * * <p>GetMetricStoreRequest</p> */ public class GetMetricStoreRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("project") private String project; @com.aliyun.core.annotation.Path @com.aliyun.core.annotation.NameInMap("name") @com.aliyun.core.annotation.Validation(required = true) private String name; private GetMetricStoreRequest(Builder builder) { super(builder); this.project = builder.project; this.name = builder.name; } public static Builder builder() { return new Builder(); } public static GetMetricStoreRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return project */ public String getProject() { return this.project; } /** * @return name */ public String getName() { return this.name; } public static final class Builder extends Request.Builder<GetMetricStoreRequest, Builder> { private String project; private String name; private Builder() { super(); } private Builder(GetMetricStoreRequest request) { super(request); this.project = request.project; this.name = request.name; } /** * <p>The name of the project.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>my-project</p> */ public Builder project(String project) { this.putHostParameter("project", project); this.project = project; return this; } /** * <p>The name of the Metricstore.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>my_metric_store</p> */ public Builder name(String name) { this.putPathParameter("name", name); this.name = name; return this; } @Override public GetMetricStoreRequest build() { return new GetMetricStoreRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetMetricStoreResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetMetricStoreResponse} extends {@link TeaModel} * * <p>GetMetricStoreResponse</p> */ public class GetMetricStoreResponse 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 GetMetricStoreResponseBody body; private GetMetricStoreResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetMetricStoreResponse 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 GetMetricStoreResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetMetricStoreResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetMetricStoreResponseBody body); @Override GetMetricStoreResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetMetricStoreResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetMetricStoreResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetMetricStoreResponse 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(GetMetricStoreResponseBody body) { this.body = body; return this; } @Override public GetMetricStoreResponse build() { return new GetMetricStoreResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetMetricStoreResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetMetricStoreResponseBody} extends {@link TeaModel} * * <p>GetMetricStoreResponseBody</p> */ public class GetMetricStoreResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("autoSplit") private Boolean autoSplit; @com.aliyun.core.annotation.NameInMap("createTime") private Long createTime; @com.aliyun.core.annotation.NameInMap("hot_ttl") private Integer hotTtl; @com.aliyun.core.annotation.NameInMap("infrequentAccessTTL") private Integer infrequentAccessTTL; @com.aliyun.core.annotation.NameInMap("lastModifyTime") private Long lastModifyTime; @com.aliyun.core.annotation.NameInMap("maxSplitShard") private Integer maxSplitShard; @com.aliyun.core.annotation.NameInMap("metricType") private String metricType; @com.aliyun.core.annotation.NameInMap("mode") private String mode; @com.aliyun.core.annotation.NameInMap("name") private String name; @com.aliyun.core.annotation.NameInMap("shardCount") private Integer shardCount; @com.aliyun.core.annotation.NameInMap("ttl") private Integer ttl; private GetMetricStoreResponseBody(Builder builder) { this.autoSplit = builder.autoSplit; this.createTime = builder.createTime; this.hotTtl = builder.hotTtl; this.infrequentAccessTTL = builder.infrequentAccessTTL; this.lastModifyTime = builder.lastModifyTime; this.maxSplitShard = builder.maxSplitShard; this.metricType = builder.metricType; this.mode = builder.mode; this.name = builder.name; this.shardCount = builder.shardCount; this.ttl = builder.ttl; } public static Builder builder() { return new Builder(); } public static GetMetricStoreResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return autoSplit */ public Boolean getAutoSplit() { return this.autoSplit; } /** * @return createTime */ public Long getCreateTime() { return this.createTime; } /** * @return hotTtl */ public Integer getHotTtl() { return this.hotTtl; } /** * @return infrequentAccessTTL */ public Integer getInfrequentAccessTTL() { return this.infrequentAccessTTL; } /** * @return lastModifyTime */ public Long getLastModifyTime() { return this.lastModifyTime; } /** * @return maxSplitShard */ public Integer getMaxSplitShard() { return this.maxSplitShard; } /** * @return metricType */ public String getMetricType() { return this.metricType; } /** * @return mode */ public String getMode() { return this.mode; } /** * @return name */ public String getName() { return this.name; } /** * @return shardCount */ public Integer getShardCount() { return this.shardCount; } /** * @return ttl */ public Integer getTtl() { return this.ttl; } public static final class Builder { private Boolean autoSplit; private Long createTime; private Integer hotTtl; private Integer infrequentAccessTTL; private Long lastModifyTime; private Integer maxSplitShard; private String metricType; private String mode; private String name; private Integer shardCount; private Integer ttl; private Builder() { } private Builder(GetMetricStoreResponseBody model) { this.autoSplit = model.autoSplit; this.createTime = model.createTime; this.hotTtl = model.hotTtl; this.infrequentAccessTTL = model.infrequentAccessTTL; this.lastModifyTime = model.lastModifyTime; this.maxSplitShard = model.maxSplitShard; this.metricType = model.metricType; this.mode = model.mode; this.name = model.name; this.shardCount = model.shardCount; this.ttl = model.ttl; } /** * <p>Indicates whether the automatic sharding feature is enabled.</p> * * <strong>example:</strong> * <p>true</p> */ public Builder autoSplit(Boolean autoSplit) { this.autoSplit = autoSplit; return this; } /** * <p>The creation time. The value is a UNIX timestamp.</p> * * <strong>example:</strong> * <p>1698933894</p> */ public Builder createTime(Long createTime) { this.createTime = createTime; return this; } /** * hot_ttl. */ public Builder hotTtl(Integer hotTtl) { this.hotTtl = hotTtl; return this; } /** * infrequentAccessTTL. */ public Builder infrequentAccessTTL(Integer infrequentAccessTTL) { this.infrequentAccessTTL = infrequentAccessTTL; return this; } /** * <p>The last update time. The value is a UNIX timestamp.</p> * * <strong>example:</strong> * <p>1712023974</p> */ public Builder lastModifyTime(Long lastModifyTime) { this.lastModifyTime = lastModifyTime; return this; } /** * <p>The maximum number of shards into which existing shards can be automatically split.</p> * * <strong>example:</strong> * <p>64</p> */ public Builder maxSplitShard(Integer maxSplitShard) { this.maxSplitShard = maxSplitShard; return this; } /** * <p>The metric type of the Metricstore. Example: prometheus.</p> * * <strong>example:</strong> * <p>prometheus</p> */ public Builder metricType(String metricType) { this.metricType = metricType; return this; } /** * <p>The specification type of the Metricstore. Example: standard.</p> * * <strong>example:</strong> * <p>standard</p> */ public Builder mode(String mode) { this.mode = mode; return this; } /** * <p>The name of the Metricstore.</p> * * <strong>example:</strong> * <p>my_metric_store</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 shardCount(Integer shardCount) { this.shardCount = shardCount; return this; } /** * <p>The retention period. Unit: days.</p> * * <strong>example:</strong> * <p>7</p> */ public Builder ttl(Integer ttl) { this.ttl = ttl; return this; } public GetMetricStoreResponseBody build() { return new GetMetricStoreResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetOSSExportRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetOSSExportRequest} extends {@link RequestModel} * * <p>GetOSSExportRequest</p> */ public class GetOSSExportRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("project") private String project; @com.aliyun.core.annotation.Path @com.aliyun.core.annotation.NameInMap("ossExportName") @com.aliyun.core.annotation.Validation(required = true) private String ossExportName; private GetOSSExportRequest(Builder builder) { super(builder); this.project = builder.project; this.ossExportName = builder.ossExportName; } public static Builder builder() { return new Builder(); } public static GetOSSExportRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return project */ public String getProject() { return this.project; } /** * @return ossExportName */ public String getOssExportName() { return this.ossExportName; } public static final class Builder extends Request.Builder<GetOSSExportRequest, Builder> { private String project; private String ossExportName; private Builder() { super(); } private Builder(GetOSSExportRequest request) { super(request); this.project = request.project; this.ossExportName = request.ossExportName; } /** * <p>The name of the project.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>ali-test-project</p> */ public Builder project(String project) { this.putHostParameter("project", project); this.project = project; return this; } /** * <p>The unique name of the job. Make sure that the job exists.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>job-123456789-123456</p> */ public Builder ossExportName(String ossExportName) { this.putPathParameter("ossExportName", ossExportName); this.ossExportName = ossExportName; return this; } @Override public GetOSSExportRequest build() { return new GetOSSExportRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetOSSExportResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetOSSExportResponse} extends {@link TeaModel} * * <p>GetOSSExportResponse</p> */ public class GetOSSExportResponse 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 OSSExport body; private GetOSSExportResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetOSSExportResponse 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 OSSExport getBody() { return this.body; } public interface Builder extends Response.Builder<GetOSSExportResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(OSSExport body); @Override GetOSSExportResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetOSSExportResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private OSSExport body; private BuilderImpl() { super(); } private BuilderImpl(GetOSSExportResponse 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(OSSExport body) { this.body = body; return this; } @Override public GetOSSExportResponse build() { return new GetOSSExportResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetOSSHDFSExportRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetOSSHDFSExportRequest} extends {@link RequestModel} * * <p>GetOSSHDFSExportRequest</p> */ public class GetOSSHDFSExportRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("project") private String project; @com.aliyun.core.annotation.Path @com.aliyun.core.annotation.NameInMap("ossExportName") @com.aliyun.core.annotation.Validation(required = true) private String ossExportName; private GetOSSHDFSExportRequest(Builder builder) { super(builder); this.project = builder.project; this.ossExportName = builder.ossExportName; } public static Builder builder() { return new Builder(); } public static GetOSSHDFSExportRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return project */ public String getProject() { return this.project; } /** * @return ossExportName */ public String getOssExportName() { return this.ossExportName; } public static final class Builder extends Request.Builder<GetOSSHDFSExportRequest, Builder> { private String project; private String ossExportName; private Builder() { super(); } private Builder(GetOSSHDFSExportRequest request) { super(request); this.project = request.project; this.ossExportName = request.ossExportName; } /** * <p>The name of the project.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>ali-test-project</p> */ public Builder project(String project) { this.putHostParameter("project", project); this.project = project; return this; } /** * <p>The unique name of the job. Make sure that the job exists.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>job-123456789-123456</p> */ public Builder ossExportName(String ossExportName) { this.putPathParameter("ossExportName", ossExportName); this.ossExportName = ossExportName; return this; } @Override public GetOSSHDFSExportRequest build() { return new GetOSSHDFSExportRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetOSSHDFSExportResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetOSSHDFSExportResponse} extends {@link TeaModel} * * <p>GetOSSHDFSExportResponse</p> */ public class GetOSSHDFSExportResponse 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 OSSExport body; private GetOSSHDFSExportResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetOSSHDFSExportResponse 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 OSSExport getBody() { return this.body; } public interface Builder extends Response.Builder<GetOSSHDFSExportResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(OSSExport body); @Override GetOSSHDFSExportResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetOSSHDFSExportResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private OSSExport body; private BuilderImpl() { super(); } private BuilderImpl(GetOSSHDFSExportResponse 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(OSSExport body) { this.body = body; return this; } @Override public GetOSSHDFSExportResponse build() { return new GetOSSHDFSExportResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetOSSIngestionRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetOSSIngestionRequest} extends {@link RequestModel} * * <p>GetOSSIngestionRequest</p> */ public class GetOSSIngestionRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("project") private String project; @com.aliyun.core.annotation.Path @com.aliyun.core.annotation.NameInMap("ossIngestionName") @com.aliyun.core.annotation.Validation(required = true) private String ossIngestionName; private GetOSSIngestionRequest(Builder builder) { super(builder); this.project = builder.project; this.ossIngestionName = builder.ossIngestionName; } public static Builder builder() { return new Builder(); } public static GetOSSIngestionRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return project */ public String getProject() { return this.project; } /** * @return ossIngestionName */ public String getOssIngestionName() { return this.ossIngestionName; } public static final class Builder extends Request.Builder<GetOSSIngestionRequest, Builder> { private String project; private String ossIngestionName; private Builder() { super(); } private Builder(GetOSSIngestionRequest request) { super(request); this.project = request.project; this.ossIngestionName = request.ossIngestionName; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>ali-test-project</p> */ public Builder project(String project) { this.putHostParameter("project", project); this.project = project; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>ingest-oss-123456</p> */ public Builder ossIngestionName(String ossIngestionName) { this.putPathParameter("ossIngestionName", ossIngestionName); this.ossIngestionName = ossIngestionName; return this; } @Override public GetOSSIngestionRequest build() { return new GetOSSIngestionRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetOSSIngestionResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetOSSIngestionResponse} extends {@link TeaModel} * * <p>GetOSSIngestionResponse</p> */ public class GetOSSIngestionResponse 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 OSSIngestion body; private GetOSSIngestionResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetOSSIngestionResponse 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 OSSIngestion getBody() { return this.body; } public interface Builder extends Response.Builder<GetOSSIngestionResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(OSSIngestion body); @Override GetOSSIngestionResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetOSSIngestionResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private OSSIngestion body; private BuilderImpl() { super(); } private BuilderImpl(GetOSSIngestionResponse 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(OSSIngestion body) { this.body = body; return this; } @Override public GetOSSIngestionResponse build() { return new GetOSSIngestionResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetProjectLogsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetProjectLogsRequest} extends {@link RequestModel} * * <p>GetProjectLogsRequest</p> */ public class GetProjectLogsRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("project") private String project; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("powerSql") private Boolean powerSql; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("query") @com.aliyun.core.annotation.Validation(required = true) private String query; private GetProjectLogsRequest(Builder builder) { super(builder); this.project = builder.project; this.powerSql = builder.powerSql; this.query = builder.query; } public static Builder builder() { return new Builder(); } public static GetProjectLogsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return project */ public String getProject() { return this.project; } /** * @return powerSql */ public Boolean getPowerSql() { return this.powerSql; } /** * @return query */ public String getQuery() { return this.query; } public static final class Builder extends Request.Builder<GetProjectLogsRequest, Builder> { private String project; private Boolean powerSql; private String query; private Builder() { super(); } private Builder(GetProjectLogsRequest request) { super(request); this.project = request.project; this.powerSql = request.powerSql; this.query = request.query; } /** * <p>The name of the project.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>ali-test-project</p> */ public Builder project(String project) { this.putHostParameter("project", project); this.project = project; return this; } /** * <p>Specifies whether to enable the Dedicated SQL feature. For more information, see <a href="https://help.aliyun.com/document_detail/223777.html">Enable Dedicated SQL</a>. Valid values:</p> * <ul> * <li>true</li> * <li>false (default): enables the Standard SQL feature.</li> * </ul> * <p>You can use the powerSql or <strong>query</strong> parameter to configure Dedicated SQL.</p> * * <strong>example:</strong> * <p>false</p> */ public Builder powerSql(Boolean powerSql) { this.putQueryParameter("powerSql", powerSql); this.powerSql = powerSql; return this; } /** * <p>The standard SQL statement. In this example, the SQL statement queries the number of page views (PVs) from 2022-03-01 10:41:40 to 2022-03-01 10:56:40 in a Logstore whose name is nginx-moni.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>SELECT COUNT(*) as pv FROM nginx-moni where <strong>time</strong> &gt; 1646102500 and <strong>time</strong> &lt; 1646103400</p> */ public Builder query(String query) { this.putQueryParameter("query", query); this.query = query; return this; } @Override public GetProjectLogsRequest build() { return new GetProjectLogsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetProjectLogsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetProjectLogsResponse} extends {@link TeaModel} * * <p>GetProjectLogsResponse</p> */ public class GetProjectLogsResponse 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 java.util.List<java.util.Map<String, String>> body; private GetProjectLogsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetProjectLogsResponse 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 java.util.List<java.util.Map<String, String>> getBody() { return this.body; } public interface Builder extends Response.Builder<GetProjectLogsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(java.util.List<java.util.Map<String, String>> body); @Override GetProjectLogsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetProjectLogsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private java.util.List<java.util.Map<String, String>> body; private BuilderImpl() { super(); } private BuilderImpl(GetProjectLogsResponse 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(java.util.List<java.util.Map<String, String>> body) { this.body = body; return this; } @Override public GetProjectLogsResponse build() { return new GetProjectLogsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetProjectPolicyRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetProjectPolicyRequest} extends {@link RequestModel} * * <p>GetProjectPolicyRequest</p> */ public class GetProjectPolicyRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("project") private String project; private GetProjectPolicyRequest(Builder builder) { super(builder); this.project = builder.project; } public static Builder builder() { return new Builder(); } public static GetProjectPolicyRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return project */ public String getProject() { return this.project; } public static final class Builder extends Request.Builder<GetProjectPolicyRequest, Builder> { private String project; private Builder() { super(); } private Builder(GetProjectPolicyRequest request) { super(request); this.project = request.project; } /** * <p>The name of the project.</p> * * <strong>example:</strong> * <p>ali-test-project</p> */ public Builder project(String project) { this.putHostParameter("project", project); this.project = project; return this; } @Override public GetProjectPolicyRequest build() { return new GetProjectPolicyRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetProjectPolicyResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetProjectPolicyResponse} extends {@link TeaModel} * * <p>GetProjectPolicyResponse</p> */ public class GetProjectPolicyResponse 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 String body; private GetProjectPolicyResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetProjectPolicyResponse 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 String getBody() { return this.body; } public interface Builder extends Response.Builder<GetProjectPolicyResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(String body); @Override GetProjectPolicyResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetProjectPolicyResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private String body; private BuilderImpl() { super(); } private BuilderImpl(GetProjectPolicyResponse 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(String body) { this.body = body; return this; } @Override public GetProjectPolicyResponse build() { return new GetProjectPolicyResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetProjectRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetProjectRequest} extends {@link RequestModel} * * <p>GetProjectRequest</p> */ public class GetProjectRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("project") private String project; private GetProjectRequest(Builder builder) { super(builder); this.project = builder.project; } public static Builder builder() { return new Builder(); } public static GetProjectRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return project */ public String getProject() { return this.project; } public static final class Builder extends Request.Builder<GetProjectRequest, Builder> { private String project; private Builder() { super(); } private Builder(GetProjectRequest request) { super(request); this.project = request.project; } /** * <p>The name of the project.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>ali-project-test</p> */ public Builder project(String project) { this.putHostParameter("project", project); this.project = project; return this; } @Override public GetProjectRequest build() { return new GetProjectRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetProjectResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetProjectResponse} extends {@link TeaModel} * * <p>GetProjectResponse</p> */ public class GetProjectResponse 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 Project body; private GetProjectResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetProjectResponse 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 Project getBody() { return this.body; } public interface Builder extends Response.Builder<GetProjectResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(Project body); @Override GetProjectResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetProjectResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private Project body; private BuilderImpl() { super(); } private BuilderImpl(GetProjectResponse 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(Project body) { this.body = body; return this; } @Override public GetProjectResponse build() { return new GetProjectResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetS3IngestionRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetS3IngestionRequest} extends {@link RequestModel} * * <p>GetS3IngestionRequest</p> */ public class GetS3IngestionRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("project") private String project; @com.aliyun.core.annotation.Path @com.aliyun.core.annotation.NameInMap("s3IngestionName") @com.aliyun.core.annotation.Validation(required = true) private String s3IngestionName; private GetS3IngestionRequest(Builder builder) { super(builder); this.project = builder.project; this.s3IngestionName = builder.s3IngestionName; } public static Builder builder() { return new Builder(); } public static GetS3IngestionRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return project */ public String getProject() { return this.project; } /** * @return s3IngestionName */ public String getS3IngestionName() { return this.s3IngestionName; } public static final class Builder extends Request.Builder<GetS3IngestionRequest, Builder> { private String project; private String s3IngestionName; private Builder() { super(); } private Builder(GetS3IngestionRequest request) { super(request); this.project = request.project; this.s3IngestionName = request.s3IngestionName; } /** * <p>This parameter is required.</p> */ public Builder project(String project) { this.putHostParameter("project", project); this.project = project; return this; } /** * <p>This parameter is required.</p> */ public Builder s3IngestionName(String s3IngestionName) { this.putPathParameter("s3IngestionName", s3IngestionName); this.s3IngestionName = s3IngestionName; return this; } @Override public GetS3IngestionRequest build() { return new GetS3IngestionRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetS3IngestionResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetS3IngestionResponse} extends {@link TeaModel} * * <p>GetS3IngestionResponse</p> */ public class GetS3IngestionResponse 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 S3Ingestion body; private GetS3IngestionResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetS3IngestionResponse 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 S3Ingestion getBody() { return this.body; } public interface Builder extends Response.Builder<GetS3IngestionResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(S3Ingestion body); @Override GetS3IngestionResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetS3IngestionResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private S3Ingestion body; private BuilderImpl() { super(); } private BuilderImpl(GetS3IngestionResponse 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(S3Ingestion body) { this.body = body; return this; } @Override public GetS3IngestionResponse build() { return new GetS3IngestionResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetSavedSearchRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetSavedSearchRequest} extends {@link RequestModel} * * <p>GetSavedSearchRequest</p> */ public class GetSavedSearchRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("project") private String project; @com.aliyun.core.annotation.Path @com.aliyun.core.annotation.NameInMap("savedsearchName") @com.aliyun.core.annotation.Validation(required = true) private String savedsearchName; private GetSavedSearchRequest(Builder builder) { super(builder); this.project = builder.project; this.savedsearchName = builder.savedsearchName; } public static Builder builder() { return new Builder(); } public static GetSavedSearchRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return project */ public String getProject() { return this.project; } /** * @return savedsearchName */ public String getSavedsearchName() { return this.savedsearchName; } public static final class Builder extends Request.Builder<GetSavedSearchRequest, Builder> { private String project; private String savedsearchName; private Builder() { super(); } private Builder(GetSavedSearchRequest request) { super(request); this.project = request.project; this.savedsearchName = request.savedsearchName; } /** * <p>The name of the project.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>aliyun-test-project</p> */ public Builder project(String project) { this.putHostParameter("project", project); this.project = project; return this; } /** * <p>The name of the saved search.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>savedsearch-name</p> */ public Builder savedsearchName(String savedsearchName) { this.putPathParameter("savedsearchName", savedsearchName); this.savedsearchName = savedsearchName; return this; } @Override public GetSavedSearchRequest build() { return new GetSavedSearchRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetSavedSearchResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetSavedSearchResponse} extends {@link TeaModel} * * <p>GetSavedSearchResponse</p> */ public class GetSavedSearchResponse 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 SavedSearch body; private GetSavedSearchResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetSavedSearchResponse 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 SavedSearch getBody() { return this.body; } public interface Builder extends Response.Builder<GetSavedSearchResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(SavedSearch body); @Override GetSavedSearchResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetSavedSearchResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private SavedSearch body; private BuilderImpl() { super(); } private BuilderImpl(GetSavedSearchResponse 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(SavedSearch body) { this.body = body; return this; } @Override public GetSavedSearchResponse build() { return new GetSavedSearchResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetScheduledSQLRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetScheduledSQLRequest} extends {@link RequestModel} * * <p>GetScheduledSQLRequest</p> */ public class GetScheduledSQLRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("project") private String project; @com.aliyun.core.annotation.Path @com.aliyun.core.annotation.NameInMap("scheduledSQLName") @com.aliyun.core.annotation.Validation(required = true) private String scheduledSQLName; private GetScheduledSQLRequest(Builder builder) { super(builder); this.project = builder.project; this.scheduledSQLName = builder.scheduledSQLName; } public static Builder builder() { return new Builder(); } public static GetScheduledSQLRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return project */ public String getProject() { return this.project; } /** * @return scheduledSQLName */ public String getScheduledSQLName() { return this.scheduledSQLName; } public static final class Builder extends Request.Builder<GetScheduledSQLRequest, Builder> { private String project; private String scheduledSQLName; private Builder() { super(); } private Builder(GetScheduledSQLRequest request) { super(request); this.project = request.project; this.scheduledSQLName = request.scheduledSQLName; } /** * <p>The name of the project.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>ali-test-project</p> */ public Builder project(String project) { this.putHostParameter("project", project); this.project = project; return this; } /** * <p>The unique name of the job. Make sure that the job exists.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>sql-123456789-123456</p> */ public Builder scheduledSQLName(String scheduledSQLName) { this.putPathParameter("scheduledSQLName", scheduledSQLName); this.scheduledSQLName = scheduledSQLName; return this; } @Override public GetScheduledSQLRequest build() { return new GetScheduledSQLRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetScheduledSQLResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetScheduledSQLResponse} extends {@link TeaModel} * * <p>GetScheduledSQLResponse</p> */ public class GetScheduledSQLResponse 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 ScheduledSQL body; private GetScheduledSQLResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetScheduledSQLResponse 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 ScheduledSQL getBody() { return this.body; } public interface Builder extends Response.Builder<GetScheduledSQLResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ScheduledSQL body); @Override GetScheduledSQLResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetScheduledSQLResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ScheduledSQL body; private BuilderImpl() { super(); } private BuilderImpl(GetScheduledSQLResponse 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(ScheduledSQL body) { this.body = body; return this; } @Override public GetScheduledSQLResponse build() { return new GetScheduledSQLResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetSlsServiceRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetSlsServiceRequest} extends {@link RequestModel} * * <p>GetSlsServiceRequest</p> */ public class GetSlsServiceRequest extends Request { private GetSlsServiceRequest(Builder builder) { super(builder); } public static Builder builder() { return new Builder(); } public static GetSlsServiceRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } public static final class Builder extends Request.Builder<GetSlsServiceRequest, Builder> { private Builder() { super(); } private Builder(GetSlsServiceRequest request) { super(request); } @Override public GetSlsServiceRequest build() { return new GetSlsServiceRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetSlsServiceResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetSlsServiceResponse} extends {@link TeaModel} * * <p>GetSlsServiceResponse</p> */ public class GetSlsServiceResponse 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 ServiceStatus body; private GetSlsServiceResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetSlsServiceResponse 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 ServiceStatus getBody() { return this.body; } public interface Builder extends Response.Builder<GetSlsServiceResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ServiceStatus body); @Override GetSlsServiceResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetSlsServiceResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ServiceStatus body; private BuilderImpl() { super(); } private BuilderImpl(GetSlsServiceResponse 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(ServiceStatus body) { this.body = body; return this; } @Override public GetSlsServiceResponse build() { return new GetSlsServiceResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetSqlInstanceRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetSqlInstanceRequest} extends {@link RequestModel} * * <p>GetSqlInstanceRequest</p> */ public class GetSqlInstanceRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("project") private String project; private GetSqlInstanceRequest(Builder builder) { super(builder); this.project = builder.project; } public static Builder builder() { return new Builder(); } public static GetSqlInstanceRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return project */ public String getProject() { return this.project; } public static final class Builder extends Request.Builder<GetSqlInstanceRequest, Builder> { private String project; private Builder() { super(); } private Builder(GetSqlInstanceRequest request) { super(request); this.project = request.project; } /** * <p>This parameter is required.</p> */ public Builder project(String project) { this.putHostParameter("project", project); this.project = project; return this; } @Override public GetSqlInstanceRequest build() { return new GetSqlInstanceRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetSqlInstanceResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.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 java.util.List<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 java.util.List<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(java.util.List<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 java.util.List<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(java.util.List<GetSqlInstanceResponseBody> body) { this.body = body; return this; } @Override public GetSqlInstanceResponse build() { return new GetSqlInstanceResponse(this); } } /** * * {@link GetSqlInstanceResponse} extends {@link TeaModel} * * <p>GetSqlInstanceResponse</p> */ public static class GetSqlInstanceResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("name") private String name; @com.aliyun.core.annotation.NameInMap("cu") private Integer cu; @com.aliyun.core.annotation.NameInMap("createTime") private Integer createTime; @com.aliyun.core.annotation.NameInMap("updateTime") private Integer updateTime; @com.aliyun.core.annotation.NameInMap("useAsDefault") private Boolean useAsDefault; private GetSqlInstanceResponseBody(Builder builder) { this.name = builder.name; this.cu = builder.cu; this.createTime = builder.createTime; this.updateTime = builder.updateTime; this.useAsDefault = builder.useAsDefault; } public static Builder builder() { return new Builder(); } public static GetSqlInstanceResponseBody create() { return builder().build(); } /** * @return name */ public String getName() { return this.name; } /** * @return cu */ public Integer getCu() { return this.cu; } /** * @return createTime */ public Integer getCreateTime() { return this.createTime; } /** * @return updateTime */ public Integer getUpdateTime() { return this.updateTime; } /** * @return useAsDefault */ public Boolean getUseAsDefault() { return this.useAsDefault; } public static final class Builder { private String name; private Integer cu; private Integer createTime; private Integer updateTime; private Boolean useAsDefault; private Builder() { } private Builder(GetSqlInstanceResponseBody model) { this.name = model.name; this.cu = model.cu; this.createTime = model.createTime; this.updateTime = model.updateTime; this.useAsDefault = model.useAsDefault; } /** * name. */ public Builder name(String name) { this.name = name; return this; } /** * cu. */ public Builder cu(Integer cu) { this.cu = cu; return this; } /** * createTime. */ public Builder createTime(Integer createTime) { this.createTime = createTime; return this; } /** * updateTime. */ public Builder updateTime(Integer updateTime) { this.updateTime = updateTime; return this; } /** * useAsDefault. */ public Builder useAsDefault(Boolean useAsDefault) { this.useAsDefault = useAsDefault; return this; } public GetSqlInstanceResponseBody build() { return new GetSqlInstanceResponseBody(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetStoreViewIndexRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetStoreViewIndexRequest} extends {@link RequestModel} * * <p>GetStoreViewIndexRequest</p> */ public class GetStoreViewIndexRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("project") private String project; @com.aliyun.core.annotation.Path @com.aliyun.core.annotation.NameInMap("name") @com.aliyun.core.annotation.Validation(required = true) private String name; private GetStoreViewIndexRequest(Builder builder) { super(builder); this.project = builder.project; this.name = builder.name; } public static Builder builder() { return new Builder(); } public static GetStoreViewIndexRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return project */ public String getProject() { return this.project; } /** * @return name */ public String getName() { return this.name; } public static final class Builder extends Request.Builder<GetStoreViewIndexRequest, Builder> { private String project; private String name; private Builder() { super(); } private Builder(GetStoreViewIndexRequest request) { super(request); this.project = request.project; this.name = request.name; } /** * <p>The name of the project.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>example-project</p> */ public Builder project(String project) { this.putHostParameter("project", project); this.project = project; return this; } /** * <p>The name of the dataset.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>my_storeview</p> */ public Builder name(String name) { this.putPathParameter("name", name); this.name = name; return this; } @Override public GetStoreViewIndexRequest build() { return new GetStoreViewIndexRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetStoreViewIndexResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetStoreViewIndexResponse} extends {@link TeaModel} * * <p>GetStoreViewIndexResponse</p> */ public class GetStoreViewIndexResponse 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 GetStoreViewIndexResponseBody body; private GetStoreViewIndexResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetStoreViewIndexResponse 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 GetStoreViewIndexResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetStoreViewIndexResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetStoreViewIndexResponseBody body); @Override GetStoreViewIndexResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetStoreViewIndexResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetStoreViewIndexResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetStoreViewIndexResponse 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(GetStoreViewIndexResponseBody body) { this.body = body; return this; } @Override public GetStoreViewIndexResponse build() { return new GetStoreViewIndexResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetStoreViewIndexResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetStoreViewIndexResponseBody} extends {@link TeaModel} * * <p>GetStoreViewIndexResponseBody</p> */ public class GetStoreViewIndexResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("indexes") private java.util.List<Indexes> indexes; private GetStoreViewIndexResponseBody(Builder builder) { this.indexes = builder.indexes; } public static Builder builder() { return new Builder(); } public static GetStoreViewIndexResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return indexes */ public java.util.List<Indexes> getIndexes() { return this.indexes; } public static final class Builder { private java.util.List<Indexes> indexes; private Builder() { } private Builder(GetStoreViewIndexResponseBody model) { this.indexes = model.indexes; } /** * <p>The index configurations.</p> */ public Builder indexes(java.util.List<Indexes> indexes) { this.indexes = indexes; return this; } public GetStoreViewIndexResponseBody build() { return new GetStoreViewIndexResponseBody(this); } } /** * * {@link GetStoreViewIndexResponseBody} extends {@link TeaModel} * * <p>GetStoreViewIndexResponseBody</p> */ public static class Indexes extends TeaModel { @com.aliyun.core.annotation.NameInMap("index") private Index index; @com.aliyun.core.annotation.NameInMap("logstore") private String logstore; @com.aliyun.core.annotation.NameInMap("project") private String project; private Indexes(Builder builder) { this.index = builder.index; this.logstore = builder.logstore; this.project = builder.project; } public static Builder builder() { return new Builder(); } public static Indexes create() { return builder().build(); } /** * @return index */ public Index getIndex() { return this.index; } /** * @return logstore */ public String getLogstore() { return this.logstore; } /** * @return project */ public String getProject() { return this.project; } public static final class Builder { private Index index; private String logstore; private String project; private Builder() { } private Builder(Indexes model) { this.index = model.index; this.logstore = model.logstore; this.project = model.project; } /** * <p>The index configurations of the Logstore.</p> */ public Builder index(Index index) { this.index = index; return this; } /** * <p>The name of the Logstore.</p> * * <strong>example:</strong> * <p>my-logstore</p> */ public Builder logstore(String logstore) { this.logstore = logstore; return this; } /** * <p>The name of the project to which the Logstore belongs.</p> * * <strong>example:</strong> * <p>example-project</p> */ public Builder project(String project) { this.project = project; return this; } public Indexes build() { return new Indexes(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetStoreViewRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetStoreViewRequest} extends {@link RequestModel} * * <p>GetStoreViewRequest</p> */ public class GetStoreViewRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("project") private String project; @com.aliyun.core.annotation.Path @com.aliyun.core.annotation.NameInMap("name") @com.aliyun.core.annotation.Validation(required = true) private String name; private GetStoreViewRequest(Builder builder) { super(builder); this.project = builder.project; this.name = builder.name; } public static Builder builder() { return new Builder(); } public static GetStoreViewRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return project */ public String getProject() { return this.project; } /** * @return name */ public String getName() { return this.name; } public static final class Builder extends Request.Builder<GetStoreViewRequest, Builder> { private String project; private String name; private Builder() { super(); } private Builder(GetStoreViewRequest request) { super(request); this.project = request.project; this.name = request.name; } /** * <p>The name of the project.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>example-project</p> */ public Builder project(String project) { this.putHostParameter("project", project); this.project = project; return this; } /** * <p>The name of the dataset.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>my_storeview</p> */ public Builder name(String name) { this.putPathParameter("name", name); this.name = name; return this; } @Override public GetStoreViewRequest build() { return new GetStoreViewRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetStoreViewResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetStoreViewResponse} extends {@link TeaModel} * * <p>GetStoreViewResponse</p> */ public class GetStoreViewResponse 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 GetStoreViewResponseBody body; private GetStoreViewResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetStoreViewResponse 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 GetStoreViewResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetStoreViewResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetStoreViewResponseBody body); @Override GetStoreViewResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetStoreViewResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetStoreViewResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetStoreViewResponse 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(GetStoreViewResponseBody body) { this.body = body; return this; } @Override public GetStoreViewResponse build() { return new GetStoreViewResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GetStoreViewResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GetStoreViewResponseBody} extends {@link TeaModel} * * <p>GetStoreViewResponseBody</p> */ public class GetStoreViewResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("storeType") private String storeType; @com.aliyun.core.annotation.NameInMap("stores") private java.util.List<StoreViewStore> stores; private GetStoreViewResponseBody(Builder builder) { this.storeType = builder.storeType; this.stores = builder.stores; } public static Builder builder() { return new Builder(); } public static GetStoreViewResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return storeType */ public String getStoreType() { return this.storeType; } /** * @return stores */ public java.util.List<StoreViewStore> getStores() { return this.stores; } public static final class Builder { private String storeType; private java.util.List<StoreViewStore> stores; private Builder() { } private Builder(GetStoreViewResponseBody model) { this.storeType = model.storeType; this.stores = model.stores; } /** * <p>The type of the dataset.</p> * <p>Valid values:</p> * <ul> * <li><p>metricstore</p> * <!-- --> * * <!-- --> * * <!-- --> * </li> * <li><p>logstore</p> * <!-- --> * * <!-- --> * * <!-- --></li> * </ul> * * <strong>example:</strong> * <p>logstore</p> */ public Builder storeType(String storeType) { this.storeType = storeType; return this; } /** * <p>The Logstores or Metricstores.</p> */ public Builder stores(java.util.List<StoreViewStore> stores) { this.stores = stores; return this; } public GetStoreViewResponseBody build() { return new GetStoreViewResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/GroupConfiguration.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link GroupConfiguration} extends {@link TeaModel} * * <p>GroupConfiguration</p> */ public class GroupConfiguration extends TeaModel { @com.aliyun.core.annotation.NameInMap("fields") private java.util.List<String> fields; @com.aliyun.core.annotation.NameInMap("type") @com.aliyun.core.annotation.Validation(required = true) private String type; private GroupConfiguration(Builder builder) { this.fields = builder.fields; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static GroupConfiguration create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return fields */ public java.util.List<String> getFields() { return this.fields; } /** * @return type */ public String getType() { return this.type; } public static final class Builder { private java.util.List<String> fields; private String type; private Builder() { } private Builder(GroupConfiguration model) { this.fields = model.fields; this.type = model.type; } /** * fields. */ public Builder fields(java.util.List<String> fields) { this.fields = fields; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>custom</p> */ public Builder type(String type) { this.type = type; return this; } public GroupConfiguration build() { return new GroupConfiguration(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/Histogram.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link Histogram} extends {@link TeaModel} * * <p>Histogram</p> */ public class Histogram extends TeaModel { @com.aliyun.core.annotation.NameInMap("count") private Long count; @com.aliyun.core.annotation.NameInMap("from") private Integer from; @com.aliyun.core.annotation.NameInMap("progress") private String progress; @com.aliyun.core.annotation.NameInMap("to") private Integer to; private Histogram(Builder builder) { this.count = builder.count; this.from = builder.from; this.progress = builder.progress; this.to = builder.to; } public static Builder builder() { return new Builder(); } public static Histogram create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return count */ public Long getCount() { return this.count; } /** * @return from */ public Integer getFrom() { return this.from; } /** * @return progress */ public String getProgress() { return this.progress; } /** * @return to */ public Integer getTo() { return this.to; } public static final class Builder { private Long count; private Integer from; private String progress; private Integer to; private Builder() { } private Builder(Histogram model) { this.count = model.count; this.from = model.from; this.progress = model.progress; this.to = model.to; } /** * count. */ public Builder count(Long count) { this.count = count; return this; } /** * from. */ public Builder from(Integer from) { this.from = from; return this; } /** * progress. */ public Builder progress(String progress) { this.progress = progress; return this; } /** * to. */ public Builder to(Integer to) { this.to = to; return this; } public Histogram build() { return new Histogram(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/Index.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link Index} extends {@link TeaModel} * * <p>Index</p> */ public class Index extends TeaModel { @com.aliyun.core.annotation.NameInMap("keys") private java.util.Map<String, IndexKey> keys; @com.aliyun.core.annotation.NameInMap("line") private Line line; @com.aliyun.core.annotation.NameInMap("log_reduce") private Boolean logReduce; @com.aliyun.core.annotation.NameInMap("log_reduce_black_list") private java.util.List<String> logReduceBlackList; @com.aliyun.core.annotation.NameInMap("log_reduce_white_list") private java.util.List<String> logReduceWhiteList; @com.aliyun.core.annotation.NameInMap("max_text_len") private Integer maxTextLen; private Index(Builder builder) { this.keys = builder.keys; this.line = builder.line; this.logReduce = builder.logReduce; this.logReduceBlackList = builder.logReduceBlackList; this.logReduceWhiteList = builder.logReduceWhiteList; this.maxTextLen = builder.maxTextLen; } public static Builder builder() { return new Builder(); } public static Index create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return keys */ public java.util.Map<String, IndexKey> getKeys() { return this.keys; } /** * @return line */ public Line getLine() { return this.line; } /** * @return logReduce */ public Boolean getLogReduce() { return this.logReduce; } /** * @return logReduceBlackList */ public java.util.List<String> getLogReduceBlackList() { return this.logReduceBlackList; } /** * @return logReduceWhiteList */ public java.util.List<String> getLogReduceWhiteList() { return this.logReduceWhiteList; } /** * @return maxTextLen */ public Integer getMaxTextLen() { return this.maxTextLen; } public static final class Builder { private java.util.Map<String, IndexKey> keys; private Line line; private Boolean logReduce; private java.util.List<String> logReduceBlackList; private java.util.List<String> logReduceWhiteList; private Integer maxTextLen; private Builder() { } private Builder(Index model) { this.keys = model.keys; this.line = model.line; this.logReduce = model.logReduce; this.logReduceBlackList = model.logReduceBlackList; this.logReduceWhiteList = model.logReduceWhiteList; this.maxTextLen = model.maxTextLen; } /** * keys. */ public Builder keys(java.util.Map<String, IndexKey> keys) { this.keys = keys; return this; } /** * line. */ public Builder line(Line line) { this.line = line; return this; } /** * log_reduce. */ public Builder logReduce(Boolean logReduce) { this.logReduce = logReduce; return this; } /** * log_reduce_black_list. */ public Builder logReduceBlackList(java.util.List<String> logReduceBlackList) { this.logReduceBlackList = logReduceBlackList; return this; } /** * log_reduce_white_list. */ public Builder logReduceWhiteList(java.util.List<String> logReduceWhiteList) { this.logReduceWhiteList = logReduceWhiteList; return this; } /** * max_text_len. */ public Builder maxTextLen(Integer maxTextLen) { this.maxTextLen = maxTextLen; return this; } public Index build() { return new Index(this); } } /** * * {@link Index} extends {@link TeaModel} * * <p>Index</p> */ public static class Line extends TeaModel { @com.aliyun.core.annotation.NameInMap("caseSensitive") private Boolean caseSensitive; @com.aliyun.core.annotation.NameInMap("chn") private Boolean chn; @com.aliyun.core.annotation.NameInMap("exclude_keys") private java.util.List<String> excludeKeys; @com.aliyun.core.annotation.NameInMap("include_keys") private java.util.List<String> includeKeys; @com.aliyun.core.annotation.NameInMap("token") @com.aliyun.core.annotation.Validation(required = true) private java.util.List<String> token; private Line(Builder builder) { this.caseSensitive = builder.caseSensitive; this.chn = builder.chn; this.excludeKeys = builder.excludeKeys; this.includeKeys = builder.includeKeys; this.token = builder.token; } public static Builder builder() { return new Builder(); } public static Line create() { return builder().build(); } /** * @return caseSensitive */ public Boolean getCaseSensitive() { return this.caseSensitive; } /** * @return chn */ public Boolean getChn() { return this.chn; } /** * @return excludeKeys */ public java.util.List<String> getExcludeKeys() { return this.excludeKeys; } /** * @return includeKeys */ public java.util.List<String> getIncludeKeys() { return this.includeKeys; } /** * @return token */ public java.util.List<String> getToken() { return this.token; } public static final class Builder { private Boolean caseSensitive; private Boolean chn; private java.util.List<String> excludeKeys; private java.util.List<String> includeKeys; private java.util.List<String> token; private Builder() { } private Builder(Line model) { this.caseSensitive = model.caseSensitive; this.chn = model.chn; this.excludeKeys = model.excludeKeys; this.includeKeys = model.includeKeys; this.token = model.token; } /** * caseSensitive. */ public Builder caseSensitive(Boolean caseSensitive) { this.caseSensitive = caseSensitive; return this; } /** * chn. */ public Builder chn(Boolean chn) { this.chn = chn; return this; } /** * exclude_keys. */ public Builder excludeKeys(java.util.List<String> excludeKeys) { this.excludeKeys = excludeKeys; return this; } /** * include_keys. */ public Builder includeKeys(java.util.List<String> includeKeys) { this.includeKeys = includeKeys; return this; } /** * <p>This parameter is required.</p> */ public Builder token(java.util.List<String> token) { this.token = token; return this; } public Line build() { return new Line(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/IndexJsonKey.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link IndexJsonKey} extends {@link TeaModel} * * <p>IndexJsonKey</p> */ public class IndexJsonKey extends TeaModel { @com.aliyun.core.annotation.NameInMap("alias") private String alias; @com.aliyun.core.annotation.NameInMap("caseSensitive") private Boolean caseSensitive; @com.aliyun.core.annotation.NameInMap("chn") private Boolean chn; @com.aliyun.core.annotation.NameInMap("doc_value") private Boolean docValue; @com.aliyun.core.annotation.NameInMap("token") private java.util.List<String> token; @com.aliyun.core.annotation.NameInMap("type") @com.aliyun.core.annotation.Validation(required = true) private String type; private IndexJsonKey(Builder builder) { this.alias = builder.alias; this.caseSensitive = builder.caseSensitive; this.chn = builder.chn; this.docValue = builder.docValue; this.token = builder.token; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static IndexJsonKey create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return alias */ public String getAlias() { return this.alias; } /** * @return caseSensitive */ public Boolean getCaseSensitive() { return this.caseSensitive; } /** * @return chn */ public Boolean getChn() { return this.chn; } /** * @return docValue */ public Boolean getDocValue() { return this.docValue; } /** * @return token */ public java.util.List<String> getToken() { return this.token; } /** * @return type */ public String getType() { return this.type; } public static final class Builder { private String alias; private Boolean caseSensitive; private Boolean chn; private Boolean docValue; private java.util.List<String> token; private String type; private Builder() { } private Builder(IndexJsonKey model) { this.alias = model.alias; this.caseSensitive = model.caseSensitive; this.chn = model.chn; this.docValue = model.docValue; this.token = model.token; this.type = model.type; } /** * alias. */ public Builder alias(String alias) { this.alias = alias; return this; } /** * caseSensitive. */ public Builder caseSensitive(Boolean caseSensitive) { this.caseSensitive = caseSensitive; return this; } /** * chn. */ public Builder chn(Boolean chn) { this.chn = chn; return this; } /** * doc_value. */ public Builder docValue(Boolean docValue) { this.docValue = docValue; return this; } /** * token. */ public Builder token(java.util.List<String> token) { this.token = token; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>text</p> */ public Builder type(String type) { this.type = type; return this; } public IndexJsonKey build() { return new IndexJsonKey(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/IndexKey.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link IndexKey} extends {@link TeaModel} * * <p>IndexKey</p> */ public class IndexKey extends TeaModel { @com.aliyun.core.annotation.NameInMap("alias") private String alias; @com.aliyun.core.annotation.NameInMap("caseSensitive") private Boolean caseSensitive; @com.aliyun.core.annotation.NameInMap("chn") private Boolean chn; @com.aliyun.core.annotation.NameInMap("doc_value") private Boolean docValue; @com.aliyun.core.annotation.NameInMap("index_all") private Boolean indexAll; @com.aliyun.core.annotation.NameInMap("json_keys") private java.util.Map<String, IndexJsonKey> jsonKeys; @com.aliyun.core.annotation.NameInMap("max_depth") private Long maxDepth; @com.aliyun.core.annotation.NameInMap("token") private java.util.List<String> token; @com.aliyun.core.annotation.NameInMap("type") @com.aliyun.core.annotation.Validation(required = true) private String type; private IndexKey(Builder builder) { this.alias = builder.alias; this.caseSensitive = builder.caseSensitive; this.chn = builder.chn; this.docValue = builder.docValue; this.indexAll = builder.indexAll; this.jsonKeys = builder.jsonKeys; this.maxDepth = builder.maxDepth; this.token = builder.token; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static IndexKey create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return alias */ public String getAlias() { return this.alias; } /** * @return caseSensitive */ public Boolean getCaseSensitive() { return this.caseSensitive; } /** * @return chn */ public Boolean getChn() { return this.chn; } /** * @return docValue */ public Boolean getDocValue() { return this.docValue; } /** * @return indexAll */ public Boolean getIndexAll() { return this.indexAll; } /** * @return jsonKeys */ public java.util.Map<String, IndexJsonKey> getJsonKeys() { return this.jsonKeys; } /** * @return maxDepth */ public Long getMaxDepth() { return this.maxDepth; } /** * @return token */ public java.util.List<String> getToken() { return this.token; } /** * @return type */ public String getType() { return this.type; } public static final class Builder { private String alias; private Boolean caseSensitive; private Boolean chn; private Boolean docValue; private Boolean indexAll; private java.util.Map<String, IndexJsonKey> jsonKeys; private Long maxDepth; private java.util.List<String> token; private String type; private Builder() { } private Builder(IndexKey model) { this.alias = model.alias; this.caseSensitive = model.caseSensitive; this.chn = model.chn; this.docValue = model.docValue; this.indexAll = model.indexAll; this.jsonKeys = model.jsonKeys; this.maxDepth = model.maxDepth; this.token = model.token; this.type = model.type; } /** * alias. */ public Builder alias(String alias) { this.alias = alias; return this; } /** * caseSensitive. */ public Builder caseSensitive(Boolean caseSensitive) { this.caseSensitive = caseSensitive; return this; } /** * chn. */ public Builder chn(Boolean chn) { this.chn = chn; return this; } /** * doc_value. */ public Builder docValue(Boolean docValue) { this.docValue = docValue; return this; } /** * index_all. */ public Builder indexAll(Boolean indexAll) { this.indexAll = indexAll; return this; } /** * json_keys. */ public Builder jsonKeys(java.util.Map<String, IndexJsonKey> jsonKeys) { this.jsonKeys = jsonKeys; return this; } /** * max_depth. */ public Builder maxDepth(Long maxDepth) { this.maxDepth = maxDepth; return this; } /** * token. */ public Builder token(java.util.List<String> token) { this.token = token; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>text</p> */ public Builder type(String type) { this.type = type; return this; } public IndexKey build() { return new IndexKey(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/IngestProcessor.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link IngestProcessor} extends {@link TeaModel} * * <p>IngestProcessor</p> */ public class IngestProcessor extends TeaModel { @com.aliyun.core.annotation.NameInMap("configuration") @com.aliyun.core.annotation.Validation(required = true) private IngestProcessorConfiguration configuration; @com.aliyun.core.annotation.NameInMap("createTime") private Long createTime; @com.aliyun.core.annotation.NameInMap("description") private String description; @com.aliyun.core.annotation.NameInMap("displayName") @com.aliyun.core.annotation.Validation(required = true) private String displayName; @com.aliyun.core.annotation.NameInMap("processorName") @com.aliyun.core.annotation.Validation(required = true) private String processorName; @com.aliyun.core.annotation.NameInMap("updateTime") private Long updateTime; private IngestProcessor(Builder builder) { this.configuration = builder.configuration; this.createTime = builder.createTime; this.description = builder.description; this.displayName = builder.displayName; this.processorName = builder.processorName; this.updateTime = builder.updateTime; } public static Builder builder() { return new Builder(); } public static IngestProcessor create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return configuration */ public IngestProcessorConfiguration getConfiguration() { return this.configuration; } /** * @return createTime */ public Long getCreateTime() { return this.createTime; } /** * @return description */ public String getDescription() { return this.description; } /** * @return displayName */ public String getDisplayName() { return this.displayName; } /** * @return processorName */ public String getProcessorName() { return this.processorName; } /** * @return updateTime */ public Long getUpdateTime() { return this.updateTime; } public static final class Builder { private IngestProcessorConfiguration configuration; private Long createTime; private String description; private String displayName; private String processorName; private Long updateTime; private Builder() { } private Builder(IngestProcessor model) { this.configuration = model.configuration; this.createTime = model.createTime; this.description = model.description; this.displayName = model.displayName; this.processorName = model.processorName; this.updateTime = model.updateTime; } /** * <p>This parameter is required.</p> */ public Builder configuration(IngestProcessorConfiguration configuration) { this.configuration = configuration; return this; } /** * createTime. */ public Builder createTime(Long createTime) { this.createTime = createTime; return this; } /** * description. */ public Builder description(String description) { this.description = description; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>字段过滤处理</p> */ public Builder displayName(String displayName) { this.displayName = displayName; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>ingest-processor-1</p> */ public Builder processorName(String processorName) { this.processorName = processorName; return this; } /** * updateTime. */ public Builder updateTime(Long updateTime) { this.updateTime = updateTime; return this; } public IngestProcessor build() { return new IngestProcessor(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/IngestProcessorConfiguration.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link IngestProcessorConfiguration} extends {@link TeaModel} * * <p>IngestProcessorConfiguration</p> */ public class IngestProcessorConfiguration extends TeaModel { @com.aliyun.core.annotation.NameInMap("parseFail") private String parseFail; @com.aliyun.core.annotation.NameInMap("spl") @com.aliyun.core.annotation.Validation(required = true) private String spl; private IngestProcessorConfiguration(Builder builder) { this.parseFail = builder.parseFail; this.spl = builder.spl; } public static Builder builder() { return new Builder(); } public static IngestProcessorConfiguration create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return parseFail */ public String getParseFail() { return this.parseFail; } /** * @return spl */ public String getSpl() { return this.spl; } public static final class Builder { private String parseFail; private String spl; private Builder() { } private Builder(IngestProcessorConfiguration model) { this.parseFail = model.parseFail; this.spl = model.spl; } /** * parseFail. */ public Builder parseFail(String parseFail) { this.parseFail = parseFail; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <ul> * <li>| project content</li> * </ul> */ public Builder spl(String spl) { this.spl = spl; return this; } public IngestProcessorConfiguration build() { return new IngestProcessorConfiguration(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/JoinConfiguration.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link JoinConfiguration} extends {@link TeaModel} * * <p>JoinConfiguration</p> */ public class JoinConfiguration extends TeaModel { @com.aliyun.core.annotation.NameInMap("condition") private String condition; @com.aliyun.core.annotation.NameInMap("type") private String type; private JoinConfiguration(Builder builder) { this.condition = builder.condition; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static JoinConfiguration create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return condition */ public String getCondition() { return this.condition; } /** * @return type */ public String getType() { return this.type; } public static final class Builder { private String condition; private String type; private Builder() { } private Builder(JoinConfiguration model) { this.condition = model.condition; this.type = model.type; } /** * condition. */ public Builder condition(String condition) { this.condition = condition; return this; } /** * type. */ public Builder type(String type) { this.type = type; return this; } public JoinConfiguration build() { return new JoinConfiguration(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/KafkaIngestion.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link KafkaIngestion} extends {@link TeaModel} * * <p>KafkaIngestion</p> */ public class KafkaIngestion extends TeaModel { @com.aliyun.core.annotation.NameInMap("configuration") @com.aliyun.core.annotation.Validation(required = true) private KafkaIngestionConfiguration configuration; @com.aliyun.core.annotation.NameInMap("createTime") private Long createTime; @com.aliyun.core.annotation.NameInMap("description") private String description; @com.aliyun.core.annotation.NameInMap("displayName") @com.aliyun.core.annotation.Validation(required = true) private String displayName; @com.aliyun.core.annotation.NameInMap("lastModifiedTime") private Long lastModifiedTime; @com.aliyun.core.annotation.NameInMap("name") @com.aliyun.core.annotation.Validation(required = true) private String name; @com.aliyun.core.annotation.NameInMap("schedule") @com.aliyun.core.annotation.Validation(required = true) private Schedule schedule; @com.aliyun.core.annotation.NameInMap("scheduleId") private String scheduleId; @com.aliyun.core.annotation.NameInMap("status") private String status; private KafkaIngestion(Builder builder) { this.configuration = builder.configuration; this.createTime = builder.createTime; this.description = builder.description; this.displayName = builder.displayName; this.lastModifiedTime = builder.lastModifiedTime; this.name = builder.name; this.schedule = builder.schedule; this.scheduleId = builder.scheduleId; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static KafkaIngestion create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return configuration */ public KafkaIngestionConfiguration getConfiguration() { return this.configuration; } /** * @return createTime */ public Long getCreateTime() { return this.createTime; } /** * @return description */ public String getDescription() { return this.description; } /** * @return displayName */ public String getDisplayName() { return this.displayName; } /** * @return lastModifiedTime */ public Long getLastModifiedTime() { return this.lastModifiedTime; } /** * @return name */ public String getName() { return this.name; } /** * @return schedule */ public Schedule getSchedule() { return this.schedule; } /** * @return scheduleId */ public String getScheduleId() { return this.scheduleId; } /** * @return status */ public String getStatus() { return this.status; } public static final class Builder { private KafkaIngestionConfiguration configuration; private Long createTime; private String description; private String displayName; private Long lastModifiedTime; private String name; private Schedule schedule; private String scheduleId; private String status; private Builder() { } private Builder(KafkaIngestion model) { this.configuration = model.configuration; this.createTime = model.createTime; this.description = model.description; this.displayName = model.displayName; this.lastModifiedTime = model.lastModifiedTime; this.name = model.name; this.schedule = model.schedule; this.scheduleId = model.scheduleId; this.status = model.status; } /** * <p>This parameter is required.</p> */ public Builder configuration(KafkaIngestionConfiguration configuration) { this.configuration = configuration; return this; } /** * createTime. */ public Builder createTime(Long createTime) { this.createTime = createTime; return this; } /** * description. */ public Builder description(String description) { this.description = description; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>kafka ingestion</p> */ public Builder displayName(String displayName) { this.displayName = displayName; return this; } /** * lastModifiedTime. */ public Builder lastModifiedTime(Long lastModifiedTime) { this.lastModifiedTime = lastModifiedTime; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>ingest-kafka-123456</p> */ public Builder name(String name) { this.name = name; return this; } /** * <p>This parameter is required.</p> */ public Builder schedule(Schedule schedule) { this.schedule = schedule; return this; } /** * scheduleId. */ public Builder scheduleId(String scheduleId) { this.scheduleId = scheduleId; return this; } /** * status. */ public Builder status(String status) { this.status = status; return this; } public KafkaIngestion build() { return new KafkaIngestion(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/KafkaIngestionConfiguration.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link KafkaIngestionConfiguration} extends {@link TeaModel} * * <p>KafkaIngestionConfiguration</p> */ public class KafkaIngestionConfiguration extends TeaModel { @com.aliyun.core.annotation.NameInMap("logstore") @com.aliyun.core.annotation.Validation(required = true) private String logstore; @com.aliyun.core.annotation.NameInMap("source") @com.aliyun.core.annotation.Validation(required = true) private KafkaIngestionConfigurationSource source; private KafkaIngestionConfiguration(Builder builder) { this.logstore = builder.logstore; this.source = builder.source; } public static Builder builder() { return new Builder(); } public static KafkaIngestionConfiguration create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return logstore */ public String getLogstore() { return this.logstore; } /** * @return source */ public KafkaIngestionConfigurationSource getSource() { return this.source; } public static final class Builder { private String logstore; private KafkaIngestionConfigurationSource source; private Builder() { } private Builder(KafkaIngestionConfiguration model) { this.logstore = model.logstore; this.source = model.source; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>logstore</p> */ public Builder logstore(String logstore) { this.logstore = logstore; return this; } /** * <p>This parameter is required.</p> */ public Builder source(KafkaIngestionConfigurationSource source) { this.source = source; return this; } public KafkaIngestionConfiguration build() { return new KafkaIngestionConfiguration(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/KafkaIngestionConfigurationSource.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link KafkaIngestionConfigurationSource} extends {@link TeaModel} * * <p>KafkaIngestionConfigurationSource</p> */ public class KafkaIngestionConfigurationSource extends TeaModel { @com.aliyun.core.annotation.NameInMap("bootstrapServers") @com.aliyun.core.annotation.Validation(required = true) private String bootstrapServers; @com.aliyun.core.annotation.NameInMap("communication") private String communication; @com.aliyun.core.annotation.NameInMap("consumerGroup") private String consumerGroup; @com.aliyun.core.annotation.NameInMap("defaultTimeSource") private String defaultTimeSource; @com.aliyun.core.annotation.NameInMap("enableSlsContext") private Boolean enableSlsContext; @com.aliyun.core.annotation.NameInMap("encoding") @com.aliyun.core.annotation.Validation(required = true) private String encoding; @com.aliyun.core.annotation.NameInMap("fromPosition") @com.aliyun.core.annotation.Validation(required = true) private String fromPosition; @com.aliyun.core.annotation.NameInMap("nameResolutions") private String nameResolutions; @com.aliyun.core.annotation.NameInMap("parseArray") @com.aliyun.core.annotation.Validation(required = true) private Boolean parseArray; @com.aliyun.core.annotation.NameInMap("timeField") private String timeField; @com.aliyun.core.annotation.NameInMap("timeFormat") private String timeFormat; @com.aliyun.core.annotation.NameInMap("timePattern") private String timePattern; @com.aliyun.core.annotation.NameInMap("timeZone") private String timeZone; @com.aliyun.core.annotation.NameInMap("topics") @com.aliyun.core.annotation.Validation(required = true) private String topics; @com.aliyun.core.annotation.NameInMap("valueType") @com.aliyun.core.annotation.Validation(required = true) private String valueType; @com.aliyun.core.annotation.NameInMap("vpcId") private String vpcId; private KafkaIngestionConfigurationSource(Builder builder) { this.bootstrapServers = builder.bootstrapServers; this.communication = builder.communication; this.consumerGroup = builder.consumerGroup; this.defaultTimeSource = builder.defaultTimeSource; this.enableSlsContext = builder.enableSlsContext; this.encoding = builder.encoding; this.fromPosition = builder.fromPosition; this.nameResolutions = builder.nameResolutions; this.parseArray = builder.parseArray; this.timeField = builder.timeField; this.timeFormat = builder.timeFormat; this.timePattern = builder.timePattern; this.timeZone = builder.timeZone; this.topics = builder.topics; this.valueType = builder.valueType; this.vpcId = builder.vpcId; } public static Builder builder() { return new Builder(); } public static KafkaIngestionConfigurationSource create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return bootstrapServers */ public String getBootstrapServers() { return this.bootstrapServers; } /** * @return communication */ public String getCommunication() { return this.communication; } /** * @return consumerGroup */ public String getConsumerGroup() { return this.consumerGroup; } /** * @return defaultTimeSource */ public String getDefaultTimeSource() { return this.defaultTimeSource; } /** * @return enableSlsContext */ public Boolean getEnableSlsContext() { return this.enableSlsContext; } /** * @return encoding */ public String getEncoding() { return this.encoding; } /** * @return fromPosition */ public String getFromPosition() { return this.fromPosition; } /** * @return nameResolutions */ public String getNameResolutions() { return this.nameResolutions; } /** * @return parseArray */ public Boolean getParseArray() { return this.parseArray; } /** * @return timeField */ public String getTimeField() { return this.timeField; } /** * @return timeFormat */ public String getTimeFormat() { return this.timeFormat; } /** * @return timePattern */ public String getTimePattern() { return this.timePattern; } /** * @return timeZone */ public String getTimeZone() { return this.timeZone; } /** * @return topics */ public String getTopics() { return this.topics; } /** * @return valueType */ public String getValueType() { return this.valueType; } /** * @return vpcId */ public String getVpcId() { return this.vpcId; } public static final class Builder { private String bootstrapServers; private String communication; private String consumerGroup; private String defaultTimeSource; private Boolean enableSlsContext; private String encoding; private String fromPosition; private String nameResolutions; private Boolean parseArray; private String timeField; private String timeFormat; private String timePattern; private String timeZone; private String topics; private String valueType; private String vpcId; private Builder() { } private Builder(KafkaIngestionConfigurationSource model) { this.bootstrapServers = model.bootstrapServers; this.communication = model.communication; this.consumerGroup = model.consumerGroup; this.defaultTimeSource = model.defaultTimeSource; this.enableSlsContext = model.enableSlsContext; this.encoding = model.encoding; this.fromPosition = model.fromPosition; this.nameResolutions = model.nameResolutions; this.parseArray = model.parseArray; this.timeField = model.timeField; this.timeFormat = model.timeFormat; this.timePattern = model.timePattern; this.timeZone = model.timeZone; this.topics = model.topics; this.valueType = model.valueType; this.vpcId = model.vpcId; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>192.168.1.28:9092</p> */ public Builder bootstrapServers(String bootstrapServers) { this.bootstrapServers = bootstrapServers; return this; } /** * communication. */ public Builder communication(String communication) { this.communication = communication; return this; } /** * consumerGroup. */ public Builder consumerGroup(String consumerGroup) { this.consumerGroup = consumerGroup; return this; } /** * defaultTimeSource. */ public Builder defaultTimeSource(String defaultTimeSource) { this.defaultTimeSource = defaultTimeSource; return this; } /** * enableSlsContext. */ public Builder enableSlsContext(Boolean enableSlsContext) { this.enableSlsContext = enableSlsContext; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>UTF-8</p> */ public Builder encoding(String encoding) { this.encoding = encoding; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>earliest,latest</p> */ public Builder fromPosition(String fromPosition) { this.fromPosition = fromPosition; return this; } /** * nameResolutions. */ public Builder nameResolutions(String nameResolutions) { this.nameResolutions = nameResolutions; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>true</p> */ public Builder parseArray(Boolean parseArray) { this.parseArray = parseArray; return this; } /** * timeField. */ public Builder timeField(String timeField) { this.timeField = timeField; return this; } /** * timeFormat. */ public Builder timeFormat(String timeFormat) { this.timeFormat = timeFormat; return this; } /** * timePattern. */ public Builder timePattern(String timePattern) { this.timePattern = timePattern; return this; } /** * timeZone. */ public Builder timeZone(String timeZone) { this.timeZone = timeZone; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>topic1,topic2</p> */ public Builder topics(String topics) { this.topics = topics; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>text,json</p> */ public Builder valueType(String valueType) { this.valueType = valueType; return this; } /** * vpcId. */ public Builder vpcId(String vpcId) { this.vpcId = vpcId; return this; } public KafkaIngestionConfigurationSource build() { return new KafkaIngestionConfigurationSource(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/ListAgentInstanceConfigsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link ListAgentInstanceConfigsRequest} extends {@link RequestModel} * * <p>ListAgentInstanceConfigsRequest</p> */ public class ListAgentInstanceConfigsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("configType") private String configType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("offset") private Long offset; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("size") private Long size; private ListAgentInstanceConfigsRequest(Builder builder) { super(builder); this.configType = builder.configType; this.offset = builder.offset; this.size = builder.size; } public static Builder builder() { return new Builder(); } public static ListAgentInstanceConfigsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return configType */ public String getConfigType() { return this.configType; } /** * @return offset */ public Long getOffset() { return this.offset; } /** * @return size */ public Long getSize() { return this.size; } public static final class Builder extends Request.Builder<ListAgentInstanceConfigsRequest, Builder> { private String configType; private Long offset; private Long size; private Builder() { super(); } private Builder(ListAgentInstanceConfigsRequest request) { super(request); this.configType = request.configType; this.offset = request.offset; this.size = request.size; } /** * configType. */ public Builder configType(String configType) { this.putQueryParameter("configType", configType); this.configType = configType; return this; } /** * offset. */ public Builder offset(Long offset) { this.putQueryParameter("offset", offset); this.offset = offset; return this; } /** * size. */ public Builder size(Long size) { this.putQueryParameter("size", size); this.size = size; return this; } @Override public ListAgentInstanceConfigsRequest build() { return new ListAgentInstanceConfigsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/ListAgentInstanceConfigsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link ListAgentInstanceConfigsResponse} extends {@link TeaModel} * * <p>ListAgentInstanceConfigsResponse</p> */ public class ListAgentInstanceConfigsResponse 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 ListAgentInstanceConfigsResponseBody body; private ListAgentInstanceConfigsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListAgentInstanceConfigsResponse 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 ListAgentInstanceConfigsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListAgentInstanceConfigsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListAgentInstanceConfigsResponseBody body); @Override ListAgentInstanceConfigsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListAgentInstanceConfigsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListAgentInstanceConfigsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListAgentInstanceConfigsResponse 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(ListAgentInstanceConfigsResponseBody body) { this.body = body; return this; } @Override public ListAgentInstanceConfigsResponse build() { return new ListAgentInstanceConfigsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/ListAgentInstanceConfigsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link ListAgentInstanceConfigsResponseBody} extends {@link TeaModel} * * <p>ListAgentInstanceConfigsResponseBody</p> */ public class ListAgentInstanceConfigsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("configs") private java.util.List<Configs> configs; @com.aliyun.core.annotation.NameInMap("size") private Long size; @com.aliyun.core.annotation.NameInMap("total") private Long total; private ListAgentInstanceConfigsResponseBody(Builder builder) { this.configs = builder.configs; this.size = builder.size; this.total = builder.total; } public static Builder builder() { return new Builder(); } public static ListAgentInstanceConfigsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return configs */ public java.util.List<Configs> getConfigs() { return this.configs; } /** * @return size */ public Long getSize() { return this.size; } /** * @return total */ public Long getTotal() { return this.total; } public static final class Builder { private java.util.List<Configs> configs; private Long size; private Long total; private Builder() { } private Builder(ListAgentInstanceConfigsResponseBody model) { this.configs = model.configs; this.size = model.size; this.total = model.total; } /** * configs. */ public Builder configs(java.util.List<Configs> configs) { this.configs = configs; return this; } /** * size. */ public Builder size(Long size) { this.size = size; return this; } /** * total. */ public Builder total(Long total) { this.total = total; return this; } public ListAgentInstanceConfigsResponseBody build() { return new ListAgentInstanceConfigsResponseBody(this); } } /** * * {@link ListAgentInstanceConfigsResponseBody} extends {@link TeaModel} * * <p>ListAgentInstanceConfigsResponseBody</p> */ public static class Configs extends TeaModel { @com.aliyun.core.annotation.NameInMap("attributes") private java.util.Map<String, String> attributes; @com.aliyun.core.annotation.NameInMap("configType") private String configType; private Configs(Builder builder) { this.attributes = builder.attributes; this.configType = builder.configType; } public static Builder builder() { return new Builder(); } public static Configs create() { return builder().build(); } /** * @return attributes */ public java.util.Map<String, String> getAttributes() { return this.attributes; } /** * @return configType */ public String getConfigType() { return this.configType; } public static final class Builder { private java.util.Map<String, String> attributes; private String configType; private Builder() { } private Builder(Configs model) { this.attributes = model.attributes; this.configType = model.configType; } /** * attributes. */ public Builder attributes(java.util.Map<String, String> attributes) { this.attributes = attributes; return this; } /** * configType. */ public Builder configType(String configType) { this.configType = configType; return this; } public Configs build() { return new Configs(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/ListAiToolsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link ListAiToolsRequest} extends {@link RequestModel} * * <p>ListAiToolsRequest</p> */ public class ListAiToolsRequest extends Request { private ListAiToolsRequest(Builder builder) { super(builder); } public static Builder builder() { return new Builder(); } public static ListAiToolsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } public static final class Builder extends Request.Builder<ListAiToolsRequest, Builder> { private Builder() { super(); } private Builder(ListAiToolsRequest request) { super(request); } @Override public ListAiToolsRequest build() { return new ListAiToolsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/ListAiToolsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link ListAiToolsResponse} extends {@link TeaModel} * * <p>ListAiToolsResponse</p> */ public class ListAiToolsResponse 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 java.util.List<ListAiToolsResponseBody> body; private ListAiToolsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListAiToolsResponse 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 java.util.List<ListAiToolsResponseBody> getBody() { return this.body; } public interface Builder extends Response.Builder<ListAiToolsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(java.util.List<ListAiToolsResponseBody> body); @Override ListAiToolsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListAiToolsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private java.util.List<ListAiToolsResponseBody> body; private BuilderImpl() { super(); } private BuilderImpl(ListAiToolsResponse 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(java.util.List<ListAiToolsResponseBody> body) { this.body = body; return this; } @Override public ListAiToolsResponse build() { return new ListAiToolsResponse(this); } } /** * * {@link ListAiToolsResponse} extends {@link TeaModel} * * <p>ListAiToolsResponse</p> */ public static class Fields extends TeaModel { @com.aliyun.core.annotation.NameInMap("name") private String name; @com.aliyun.core.annotation.NameInMap("option") private java.util.List<String> option; @com.aliyun.core.annotation.NameInMap("required") private Boolean required; @com.aliyun.core.annotation.NameInMap("type") private String type; @com.aliyun.core.annotation.NameInMap("example") private String example; @com.aliyun.core.annotation.NameInMap("description") private String description; private Fields(Builder builder) { this.name = builder.name; this.option = builder.option; this.required = builder.required; this.type = builder.type; this.example = builder.example; this.description = builder.description; } public static Builder builder() { return new Builder(); } public static Fields create() { return builder().build(); } /** * @return name */ public String getName() { return this.name; } /** * @return option */ public java.util.List<String> getOption() { return this.option; } /** * @return required */ public Boolean getRequired() { return this.required; } /** * @return type */ public String getType() { return this.type; } /** * @return example */ public String getExample() { return this.example; } /** * @return description */ public String getDescription() { return this.description; } public static final class Builder { private String name; private java.util.List<String> option; private Boolean required; private String type; private String example; private String description; private Builder() { } private Builder(Fields model) { this.name = model.name; this.option = model.option; this.required = model.required; this.type = model.type; this.example = model.example; this.description = model.description; } /** * name. */ public Builder name(String name) { this.name = name; return this; } /** * option. */ public Builder option(java.util.List<String> option) { this.option = option; return this; } /** * required. */ public Builder required(Boolean required) { this.required = required; return this; } /** * type. */ public Builder type(String type) { this.type = type; return this; } /** * example. */ public Builder example(String example) { this.example = example; return this; } /** * description. */ public Builder description(String description) { this.description = description; return this; } public Fields build() { return new Fields(this); } } } /** * * {@link ListAiToolsResponse} extends {@link TeaModel} * * <p>ListAiToolsResponse</p> */ public static class ListAiToolsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("fields") private java.util.List<Fields> fields; @com.aliyun.core.annotation.NameInMap("name") private String name; @com.aliyun.core.annotation.NameInMap("description") private String description; private ListAiToolsResponseBody(Builder builder) { this.fields = builder.fields; this.name = builder.name; this.description = builder.description; } public static Builder builder() { return new Builder(); } public static ListAiToolsResponseBody create() { return builder().build(); } /** * @return fields */ public java.util.List<Fields> getFields() { return this.fields; } /** * @return name */ public String getName() { return this.name; } /** * @return description */ public String getDescription() { return this.description; } public static final class Builder { private java.util.List<Fields> fields; private String name; private String description; private Builder() { } private Builder(ListAiToolsResponseBody model) { this.fields = model.fields; this.name = model.name; this.description = model.description; } /** * fields. */ public Builder fields(java.util.List<Fields> fields) { this.fields = fields; return this; } /** * name. */ public Builder name(String name) { this.name = name; return this; } /** * description. */ public Builder description(String description) { this.description = description; return this; } public ListAiToolsResponseBody build() { return new ListAiToolsResponseBody(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/ListAlertsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link ListAlertsRequest} extends {@link RequestModel} * * <p>ListAlertsRequest</p> */ public class ListAlertsRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("project") private String project; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("logstore") private String logstore; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("offset") private Integer offset; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("size") private Integer size; private ListAlertsRequest(Builder builder) { super(builder); this.project = builder.project; this.logstore = builder.logstore; this.offset = builder.offset; this.size = builder.size; } public static Builder builder() { return new Builder(); } public static ListAlertsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return project */ public String getProject() { return this.project; } /** * @return logstore */ public String getLogstore() { return this.logstore; } /** * @return offset */ public Integer getOffset() { return this.offset; } /** * @return size */ public Integer getSize() { return this.size; } public static final class Builder extends Request.Builder<ListAlertsRequest, Builder> { private String project; private String logstore; private Integer offset; private Integer size; private Builder() { super(); } private Builder(ListAlertsRequest request) { super(request); this.project = request.project; this.logstore = request.logstore; this.offset = request.offset; this.size = request.size; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>ali-test-project</p> */ public Builder project(String project) { this.putHostParameter("project", project); this.project = project; return this; } /** * logstore. */ public Builder logstore(String logstore) { this.putQueryParameter("logstore", logstore); this.logstore = logstore; return this; } /** * offset. */ public Builder offset(Integer offset) { this.putQueryParameter("offset", offset); this.offset = offset; return this; } /** * <p>The number of entries per page. Maximum value: 200. Default value: 10.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder size(Integer size) { this.putQueryParameter("size", size); this.size = size; return this; } @Override public ListAlertsRequest build() { return new ListAlertsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/ListAlertsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link ListAlertsResponse} extends {@link TeaModel} * * <p>ListAlertsResponse</p> */ public class ListAlertsResponse 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 ListAlertsResponseBody body; private ListAlertsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListAlertsResponse 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 ListAlertsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListAlertsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListAlertsResponseBody body); @Override ListAlertsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListAlertsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListAlertsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListAlertsResponse 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(ListAlertsResponseBody body) { this.body = body; return this; } @Override public ListAlertsResponse build() { return new ListAlertsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/ListAlertsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link ListAlertsResponseBody} extends {@link TeaModel} * * <p>ListAlertsResponseBody</p> */ public class ListAlertsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("count") private Integer count; @com.aliyun.core.annotation.NameInMap("results") private java.util.List<Alert> results; @com.aliyun.core.annotation.NameInMap("total") private Integer total; private ListAlertsResponseBody(Builder builder) { this.count = builder.count; this.results = builder.results; this.total = builder.total; } public static Builder builder() { return new Builder(); } public static ListAlertsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return results */ public java.util.List<Alert> getResults() { return this.results; } /** * @return total */ public Integer getTotal() { return this.total; } public static final class Builder { private Integer count; private java.util.List<Alert> results; private Integer total; private Builder() { } private Builder(ListAlertsResponseBody model) { this.count = model.count; this.results = model.results; this.total = model.total; } /** * <p>The number of alert rules that are returned.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The alert rules.</p> */ public Builder results(java.util.List<Alert> results) { this.results = results; return this; } /** * <p>The total number of alert rules in the project.</p> * * <strong>example:</strong> * <p>80</p> */ public Builder total(Integer total) { this.total = total; return this; } public ListAlertsResponseBody build() { return new ListAlertsResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/ListAnnotationDataRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link ListAnnotationDataRequest} extends {@link RequestModel} * * <p>ListAnnotationDataRequest</p> */ public class ListAnnotationDataRequest extends Request { @com.aliyun.core.annotation.Path @com.aliyun.core.annotation.NameInMap("datasetId") private String datasetId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("offset") private Integer offset; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("size") private Integer size; private ListAnnotationDataRequest(Builder builder) { super(builder); this.datasetId = builder.datasetId; this.offset = builder.offset; this.size = builder.size; } public static Builder builder() { return new Builder(); } public static ListAnnotationDataRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return datasetId */ public String getDatasetId() { return this.datasetId; } /** * @return offset */ public Integer getOffset() { return this.offset; } /** * @return size */ public Integer getSize() { return this.size; } public static final class Builder extends Request.Builder<ListAnnotationDataRequest, Builder> { private String datasetId; private Integer offset; private Integer size; private Builder() { super(); } private Builder(ListAnnotationDataRequest request) { super(request); this.datasetId = request.datasetId; this.offset = request.offset; this.size = request.size; } /** * <p>The unique identifier of the dataset.</p> * * <strong>example:</strong> * <p>cb8cc4eb51a85e823471cdb368fae9be</p> */ public Builder datasetId(String datasetId) { this.putPathParameter("datasetId", datasetId); this.datasetId = datasetId; return this; } /** * <p>The line from which the query starts.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder offset(Integer offset) { this.putQueryParameter("offset", offset); this.offset = offset; return this; } /** * <p>The number of entries per page.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder size(Integer size) { this.putQueryParameter("size", size); this.size = size; return this; } @Override public ListAnnotationDataRequest build() { return new ListAnnotationDataRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/ListAnnotationDataResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link ListAnnotationDataResponse} extends {@link TeaModel} * * <p>ListAnnotationDataResponse</p> */ public class ListAnnotationDataResponse 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 ListAnnotationDataResponseBody body; private ListAnnotationDataResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListAnnotationDataResponse 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 ListAnnotationDataResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListAnnotationDataResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListAnnotationDataResponseBody body); @Override ListAnnotationDataResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListAnnotationDataResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListAnnotationDataResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListAnnotationDataResponse 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(ListAnnotationDataResponseBody body) { this.body = body; return this; } @Override public ListAnnotationDataResponse build() { return new ListAnnotationDataResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/ListAnnotationDataResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link ListAnnotationDataResponseBody} extends {@link TeaModel} * * <p>ListAnnotationDataResponseBody</p> */ public class ListAnnotationDataResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("data") private java.util.List<MLDataParam> data; @com.aliyun.core.annotation.NameInMap("total") private Integer total; private ListAnnotationDataResponseBody(Builder builder) { this.data = builder.data; this.total = builder.total; } public static Builder builder() { return new Builder(); } public static ListAnnotationDataResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return data */ public java.util.List<MLDataParam> getData() { return this.data; } /** * @return total */ public Integer getTotal() { return this.total; } public static final class Builder { private java.util.List<MLDataParam> data; private Integer total; private Builder() { } private Builder(ListAnnotationDataResponseBody model) { this.data = model.data; this.total = model.total; } /** * <p>The data returned.</p> */ public Builder data(java.util.List<MLDataParam> data) { this.data = data; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder total(Integer total) { this.total = total; return this; } public ListAnnotationDataResponseBody build() { return new ListAnnotationDataResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/ListAnnotationDataSetsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link ListAnnotationDataSetsRequest} extends {@link RequestModel} * * <p>ListAnnotationDataSetsRequest</p> */ public class ListAnnotationDataSetsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("offset") private Integer offset; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("size") private Integer size; private ListAnnotationDataSetsRequest(Builder builder) { super(builder); this.offset = builder.offset; this.size = builder.size; } public static Builder builder() { return new Builder(); } public static ListAnnotationDataSetsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return offset */ public Integer getOffset() { return this.offset; } /** * @return size */ public Integer getSize() { return this.size; } public static final class Builder extends Request.Builder<ListAnnotationDataSetsRequest, Builder> { private Integer offset; private Integer size; private Builder() { super(); } private Builder(ListAnnotationDataSetsRequest request) { super(request); this.offset = request.offset; this.size = request.size; } /** * <p>The line from which the query starts.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder offset(Integer offset) { this.putQueryParameter("offset", offset); this.offset = offset; return this; } /** * <p>The number of entries per page.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder size(Integer size) { this.putQueryParameter("size", size); this.size = size; return this; } @Override public ListAnnotationDataSetsRequest build() { return new ListAnnotationDataSetsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/ListAnnotationDataSetsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link ListAnnotationDataSetsResponse} extends {@link TeaModel} * * <p>ListAnnotationDataSetsResponse</p> */ public class ListAnnotationDataSetsResponse 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 ListAnnotationDataSetsResponseBody body; private ListAnnotationDataSetsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListAnnotationDataSetsResponse 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 ListAnnotationDataSetsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListAnnotationDataSetsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListAnnotationDataSetsResponseBody body); @Override ListAnnotationDataSetsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListAnnotationDataSetsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListAnnotationDataSetsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListAnnotationDataSetsResponse 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(ListAnnotationDataSetsResponseBody body) { this.body = body; return this; } @Override public ListAnnotationDataSetsResponse build() { return new ListAnnotationDataSetsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/ListAnnotationDataSetsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link ListAnnotationDataSetsResponseBody} extends {@link TeaModel} * * <p>ListAnnotationDataSetsResponseBody</p> */ public class ListAnnotationDataSetsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("data") private java.util.List<MLDataSetParam> data; @com.aliyun.core.annotation.NameInMap("total") private Integer total; private ListAnnotationDataSetsResponseBody(Builder builder) { this.data = builder.data; this.total = builder.total; } public static Builder builder() { return new Builder(); } public static ListAnnotationDataSetsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return data */ public java.util.List<MLDataSetParam> getData() { return this.data; } /** * @return total */ public Integer getTotal() { return this.total; } public static final class Builder { private java.util.List<MLDataSetParam> data; private Integer total; private Builder() { } private Builder(ListAnnotationDataSetsResponseBody model) { this.data = model.data; this.total = model.total; } /** * <p>The data returned.</p> */ public Builder data(java.util.List<MLDataSetParam> data) { this.data = data; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder total(Integer total) { this.total = total; return this; } public ListAnnotationDataSetsResponseBody build() { return new ListAnnotationDataSetsResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/ListAnnotationLabelsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link ListAnnotationLabelsRequest} extends {@link RequestModel} * * <p>ListAnnotationLabelsRequest</p> */ public class ListAnnotationLabelsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("offset") private Integer offset; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("size") private Integer size; private ListAnnotationLabelsRequest(Builder builder) { super(builder); this.offset = builder.offset; this.size = builder.size; } public static Builder builder() { return new Builder(); } public static ListAnnotationLabelsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return offset */ public Integer getOffset() { return this.offset; } /** * @return size */ public Integer getSize() { return this.size; } public static final class Builder extends Request.Builder<ListAnnotationLabelsRequest, Builder> { private Integer offset; private Integer size; private Builder() { super(); } private Builder(ListAnnotationLabelsRequest request) { super(request); this.offset = request.offset; this.size = request.size; } /** * <p>The line from which the query starts.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder offset(Integer offset) { this.putQueryParameter("offset", offset); this.offset = offset; return this; } /** * <p>The number of entries per page.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder size(Integer size) { this.putQueryParameter("size", size); this.size = size; return this; } @Override public ListAnnotationLabelsRequest build() { return new ListAnnotationLabelsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/ListAnnotationLabelsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link ListAnnotationLabelsResponse} extends {@link TeaModel} * * <p>ListAnnotationLabelsResponse</p> */ public class ListAnnotationLabelsResponse 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 ListAnnotationLabelsResponseBody body; private ListAnnotationLabelsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListAnnotationLabelsResponse 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 ListAnnotationLabelsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListAnnotationLabelsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListAnnotationLabelsResponseBody body); @Override ListAnnotationLabelsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListAnnotationLabelsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListAnnotationLabelsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListAnnotationLabelsResponse 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(ListAnnotationLabelsResponseBody body) { this.body = body; return this; } @Override public ListAnnotationLabelsResponse build() { return new ListAnnotationLabelsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/ListAnnotationLabelsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link ListAnnotationLabelsResponseBody} extends {@link TeaModel} * * <p>ListAnnotationLabelsResponseBody</p> */ public class ListAnnotationLabelsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("data") private java.util.List<MLLabelParam> data; @com.aliyun.core.annotation.NameInMap("total") private Integer total; private ListAnnotationLabelsResponseBody(Builder builder) { this.data = builder.data; this.total = builder.total; } public static Builder builder() { return new Builder(); } public static ListAnnotationLabelsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return data */ public java.util.List<MLLabelParam> getData() { return this.data; } /** * @return total */ public Integer getTotal() { return this.total; } public static final class Builder { private java.util.List<MLLabelParam> data; private Integer total; private Builder() { } private Builder(ListAnnotationLabelsResponseBody model) { this.data = model.data; this.total = model.total; } /** * <p>The data returned.</p> */ public Builder data(java.util.List<MLLabelParam> data) { this.data = data; return this; } /** * <p>The total number of tags that meet the query conditions.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder total(Integer total) { this.total = total; return this; } public ListAnnotationLabelsResponseBody build() { return new ListAnnotationLabelsResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/ListCollectionPoliciesRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link ListCollectionPoliciesRequest} extends {@link RequestModel} * * <p>ListCollectionPoliciesRequest</p> */ public class ListCollectionPoliciesRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("centralProject") private String centralProject; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("dataCode") private String dataCode; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("instanceId") private String instanceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("offset") private Integer offset; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("policyName") private String policyName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("productCode") private String productCode; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("size") @com.aliyun.core.annotation.Validation(maximum = 100, minimum = 1) private Integer size; private ListCollectionPoliciesRequest(Builder builder) { super(builder); this.centralProject = builder.centralProject; this.dataCode = builder.dataCode; this.instanceId = builder.instanceId; this.offset = builder.offset; this.policyName = builder.policyName; this.productCode = builder.productCode; this.size = builder.size; } public static Builder builder() { return new Builder(); } public static ListCollectionPoliciesRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return centralProject */ public String getCentralProject() { return this.centralProject; } /** * @return dataCode */ public String getDataCode() { return this.dataCode; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return offset */ public Integer getOffset() { return this.offset; } /** * @return policyName */ public String getPolicyName() { return this.policyName; } /** * @return productCode */ public String getProductCode() { return this.productCode; } /** * @return size */ public Integer getSize() { return this.size; } public static final class Builder extends Request.Builder<ListCollectionPoliciesRequest, Builder> { private String centralProject; private String dataCode; private String instanceId; private Integer offset; private String policyName; private String productCode; private Integer size; private Builder() { super(); } private Builder(ListCollectionPoliciesRequest request) { super(request); this.centralProject = request.centralProject; this.dataCode = request.dataCode; this.instanceId = request.instanceId; this.offset = request.offset; this.policyName = request.policyName; this.productCode = request.productCode; this.size = request.size; } /** * centralProject. */ public Builder centralProject(String centralProject) { this.putQueryParameter("centralProject", centralProject); this.centralProject = centralProject; return this; } /** * dataCode. */ public Builder dataCode(String dataCode) { this.putQueryParameter("dataCode", dataCode); this.dataCode = dataCode; return this; } /** * instanceId. */ public Builder instanceId(String instanceId) { this.putQueryParameter("instanceId", instanceId); this.instanceId = instanceId; return this; } /** * offset. */ public Builder offset(Integer offset) { this.putQueryParameter("offset", offset); this.offset = offset; return this; } /** * policyName. */ public Builder policyName(String policyName) { this.putQueryParameter("policyName", policyName); this.policyName = policyName; return this; } /** * <p>The code of the service.</p> * * <strong>example:</strong> * <p>oss</p> */ public Builder productCode(String productCode) { this.putQueryParameter("productCode", productCode); this.productCode = productCode; return this; } /** * size. */ public Builder size(Integer size) { this.putQueryParameter("size", size); this.size = size; return this; } @Override public ListCollectionPoliciesRequest build() { return new ListCollectionPoliciesRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/ListCollectionPoliciesResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link ListCollectionPoliciesResponse} extends {@link TeaModel} * * <p>ListCollectionPoliciesResponse</p> */ public class ListCollectionPoliciesResponse 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 ListCollectionPoliciesResponseBody body; private ListCollectionPoliciesResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListCollectionPoliciesResponse 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 ListCollectionPoliciesResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListCollectionPoliciesResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListCollectionPoliciesResponseBody body); @Override ListCollectionPoliciesResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListCollectionPoliciesResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListCollectionPoliciesResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListCollectionPoliciesResponse 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(ListCollectionPoliciesResponseBody body) { this.body = body; return this; } @Override public ListCollectionPoliciesResponse build() { return new ListCollectionPoliciesResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/ListCollectionPoliciesResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link ListCollectionPoliciesResponseBody} extends {@link TeaModel} * * <p>ListCollectionPoliciesResponseBody</p> */ public class ListCollectionPoliciesResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("currentCount") private Integer currentCount; @com.aliyun.core.annotation.NameInMap("data") private java.util.List<Data> data; @com.aliyun.core.annotation.NameInMap("statistics") private java.util.List<Statistics> statistics; @com.aliyun.core.annotation.NameInMap("totalCount") private Integer totalCount; private ListCollectionPoliciesResponseBody(Builder builder) { this.currentCount = builder.currentCount; this.data = builder.data; this.statistics = builder.statistics; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static ListCollectionPoliciesResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return currentCount */ public Integer getCurrentCount() { return this.currentCount; } /** * @return data */ public java.util.List<Data> getData() { return this.data; } /** * @return statistics */ public java.util.List<Statistics> getStatistics() { return this.statistics; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer currentCount; private java.util.List<Data> data; private java.util.List<Statistics> statistics; private Integer totalCount; private Builder() { } private Builder(ListCollectionPoliciesResponseBody model) { this.currentCount = model.currentCount; this.data = model.data; this.statistics = model.statistics; this.totalCount = model.totalCount; } /** * currentCount. */ public Builder currentCount(Integer currentCount) { this.currentCount = currentCount; return this; } /** * <p>The data of the policies that are matched against the query conditions. The data is returned based on paginated results.</p> */ public Builder data(java.util.List<Data> data) { this.data = data; return this; } /** * statistics. */ public Builder statistics(java.util.List<Statistics> statistics) { this.statistics = statistics; return this; } /** * totalCount. */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public ListCollectionPoliciesResponseBody build() { return new ListCollectionPoliciesResponseBody(this); } } /** * * {@link ListCollectionPoliciesResponseBody} extends {@link TeaModel} * * <p>ListCollectionPoliciesResponseBody</p> */ public static class CentralizeConfig extends TeaModel { @com.aliyun.core.annotation.NameInMap("destLogstore") private String destLogstore; @com.aliyun.core.annotation.NameInMap("destProject") private String destProject; @com.aliyun.core.annotation.NameInMap("destRegion") private String destRegion; @com.aliyun.core.annotation.NameInMap("destTTL") private Integer destTTL; private CentralizeConfig(Builder builder) { this.destLogstore = builder.destLogstore; this.destProject = builder.destProject; this.destRegion = builder.destRegion; this.destTTL = builder.destTTL; } public static Builder builder() { return new Builder(); } public static CentralizeConfig create() { return builder().build(); } /** * @return destLogstore */ public String getDestLogstore() { return this.destLogstore; } /** * @return destProject */ public String getDestProject() { return this.destProject; } /** * @return destRegion */ public String getDestRegion() { return this.destRegion; } /** * @return destTTL */ public Integer getDestTTL() { return this.destTTL; } public static final class Builder { private String destLogstore; private String destProject; private String destRegion; private Integer destTTL; private Builder() { } private Builder(CentralizeConfig model) { this.destLogstore = model.destLogstore; this.destProject = model.destProject; this.destRegion = model.destRegion; this.destTTL = model.destTTL; } /** * destLogstore. */ public Builder destLogstore(String destLogstore) { this.destLogstore = destLogstore; return this; } /** * destProject. */ public Builder destProject(String destProject) { this.destProject = destProject; return this; } /** * destRegion. */ public Builder destRegion(String destRegion) { this.destRegion = destRegion; return this; } /** * <p>The data retention period for centralized storage. Unit: days.</p> * * <strong>example:</strong> * <p>your-sls-logstore-ttl</p> */ public Builder destTTL(Integer destTTL) { this.destTTL = destTTL; return this; } public CentralizeConfig build() { return new CentralizeConfig(this); } } } /** * * {@link ListCollectionPoliciesResponseBody} extends {@link TeaModel} * * <p>ListCollectionPoliciesResponseBody</p> */ public static class DataConfig extends TeaModel { @com.aliyun.core.annotation.NameInMap("dataProject") private String dataProject; @com.aliyun.core.annotation.NameInMap("dataRegion") private String dataRegion; private DataConfig(Builder builder) { this.dataProject = builder.dataProject; this.dataRegion = builder.dataRegion; } public static Builder builder() { return new Builder(); } public static DataConfig create() { return builder().build(); } /** * @return dataProject */ public String getDataProject() { return this.dataProject; } /** * @return dataRegion */ public String getDataRegion() { return this.dataRegion; } public static final class Builder { private String dataProject; private String dataRegion; private Builder() { } private Builder(DataConfig model) { this.dataProject = model.dataProject; this.dataRegion = model.dataRegion; } /** * dataProject. */ public Builder dataProject(String dataProject) { this.dataProject = dataProject; return this; } /** * dataRegion. */ public Builder dataRegion(String dataRegion) { this.dataRegion = dataRegion; return this; } public DataConfig build() { return new DataConfig(this); } } } /** * * {@link ListCollectionPoliciesResponseBody} extends {@link TeaModel} * * <p>ListCollectionPoliciesResponseBody</p> */ public static class PolicyConfig extends TeaModel { @com.aliyun.core.annotation.NameInMap("instanceIds") private java.util.List<String> instanceIds; @com.aliyun.core.annotation.NameInMap("regions") private java.util.List<String> regions; @com.aliyun.core.annotation.NameInMap("resourceMode") private String resourceMode; @com.aliyun.core.annotation.NameInMap("resourceTags") private java.util.Map<String, ?> resourceTags; private PolicyConfig(Builder builder) { this.instanceIds = builder.instanceIds; this.regions = builder.regions; this.resourceMode = builder.resourceMode; this.resourceTags = builder.resourceTags; } public static Builder builder() { return new Builder(); } public static PolicyConfig create() { return builder().build(); } /** * @return instanceIds */ public java.util.List<String> getInstanceIds() { return this.instanceIds; } /** * @return regions */ public java.util.List<String> getRegions() { return this.regions; } /** * @return resourceMode */ public String getResourceMode() { return this.resourceMode; } /** * @return resourceTags */ public java.util.Map<String, ?> getResourceTags() { return this.resourceTags; } public static final class Builder { private java.util.List<String> instanceIds; private java.util.List<String> regions; private String resourceMode; private java.util.Map<String, ?> resourceTags; private Builder() { } private Builder(PolicyConfig model) { this.instanceIds = model.instanceIds; this.regions = model.regions; this.resourceMode = model.resourceMode; this.resourceTags = model.resourceTags; } /** * instanceIds. */ public Builder instanceIds(java.util.List<String> instanceIds) { this.instanceIds = instanceIds; return this; } /** * regions. */ public Builder regions(java.util.List<String> regions) { this.regions = regions; return this; } /** * resourceMode. */ public Builder resourceMode(String resourceMode) { this.resourceMode = resourceMode; return this; } /** * resourceTags. */ public Builder resourceTags(java.util.Map<String, ?> resourceTags) { this.resourceTags = resourceTags; return this; } public PolicyConfig build() { return new PolicyConfig(this); } } } /** * * {@link ListCollectionPoliciesResponseBody} extends {@link TeaModel} * * <p>ListCollectionPoliciesResponseBody</p> */ public static class ResourceDirectory extends TeaModel { @com.aliyun.core.annotation.NameInMap("accountGroupType") private String accountGroupType; @com.aliyun.core.annotation.NameInMap("members") private java.util.List<String> members; private ResourceDirectory(Builder builder) { this.accountGroupType = builder.accountGroupType; this.members = builder.members; } public static Builder builder() { return new Builder(); } public static ResourceDirectory create() { return builder().build(); } /** * @return accountGroupType */ public String getAccountGroupType() { return this.accountGroupType; } /** * @return members */ public java.util.List<String> getMembers() { return this.members; } public static final class Builder { private String accountGroupType; private java.util.List<String> members; private Builder() { } private Builder(ResourceDirectory model) { this.accountGroupType = model.accountGroupType; this.members = model.members; } /** * accountGroupType. */ public Builder accountGroupType(String accountGroupType) { this.accountGroupType = accountGroupType; return this; } /** * members. */ public Builder members(java.util.List<String> members) { this.members = members; return this; } public ResourceDirectory build() { return new ResourceDirectory(this); } } } /** * * {@link ListCollectionPoliciesResponseBody} extends {@link TeaModel} * * <p>ListCollectionPoliciesResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("centralizeConfig") private CentralizeConfig centralizeConfig; @com.aliyun.core.annotation.NameInMap("centralizeEnabled") private Boolean centralizeEnabled; @com.aliyun.core.annotation.NameInMap("dataCode") private String dataCode; @com.aliyun.core.annotation.NameInMap("dataConfig") private DataConfig dataConfig; @com.aliyun.core.annotation.NameInMap("enabled") private Boolean enabled; @com.aliyun.core.annotation.NameInMap("internalPolicy") private Boolean internalPolicy; @com.aliyun.core.annotation.NameInMap("policyConfig") private PolicyConfig policyConfig; @com.aliyun.core.annotation.NameInMap("policyName") private String policyName; @com.aliyun.core.annotation.NameInMap("policyUid") private String policyUid; @com.aliyun.core.annotation.NameInMap("productCode") private String productCode; @com.aliyun.core.annotation.NameInMap("resourceDirectory") private ResourceDirectory resourceDirectory; private Data(Builder builder) { this.centralizeConfig = builder.centralizeConfig; this.centralizeEnabled = builder.centralizeEnabled; this.dataCode = builder.dataCode; this.dataConfig = builder.dataConfig; this.enabled = builder.enabled; this.internalPolicy = builder.internalPolicy; this.policyConfig = builder.policyConfig; this.policyName = builder.policyName; this.policyUid = builder.policyUid; this.productCode = builder.productCode; this.resourceDirectory = builder.resourceDirectory; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return centralizeConfig */ public CentralizeConfig getCentralizeConfig() { return this.centralizeConfig; } /** * @return centralizeEnabled */ public Boolean getCentralizeEnabled() { return this.centralizeEnabled; } /** * @return dataCode */ public String getDataCode() { return this.dataCode; } /** * @return dataConfig */ public DataConfig getDataConfig() { return this.dataConfig; } /** * @return enabled */ public Boolean getEnabled() { return this.enabled; } /** * @return internalPolicy */ public Boolean getInternalPolicy() { return this.internalPolicy; } /** * @return policyConfig */ public PolicyConfig getPolicyConfig() { return this.policyConfig; } /** * @return policyName */ public String getPolicyName() { return this.policyName; } /** * @return policyUid */ public String getPolicyUid() { return this.policyUid; } /** * @return productCode */ public String getProductCode() { return this.productCode; } /** * @return resourceDirectory */ public ResourceDirectory getResourceDirectory() { return this.resourceDirectory; } public static final class Builder { private CentralizeConfig centralizeConfig; private Boolean centralizeEnabled; private String dataCode; private DataConfig dataConfig; private Boolean enabled; private Boolean internalPolicy; private PolicyConfig policyConfig; private String policyName; private String policyUid; private String productCode; private ResourceDirectory resourceDirectory; private Builder() { } private Builder(Data model) { this.centralizeConfig = model.centralizeConfig; this.centralizeEnabled = model.centralizeEnabled; this.dataCode = model.dataCode; this.dataConfig = model.dataConfig; this.enabled = model.enabled; this.internalPolicy = model.internalPolicy; this.policyConfig = model.policyConfig; this.policyName = model.policyName; this.policyUid = model.policyUid; this.productCode = model.productCode; this.resourceDirectory = model.resourceDirectory; } /** * <p>The configuration for centralized storage.</p> */ public Builder centralizeConfig(CentralizeConfig centralizeConfig) { this.centralizeConfig = centralizeConfig; return this; } /** * centralizeEnabled. */ public Builder centralizeEnabled(Boolean centralizeEnabled) { this.centralizeEnabled = centralizeEnabled; return this; } /** * dataCode. */ public Builder dataCode(String dataCode) { this.dataCode = dataCode; return this; } /** * dataConfig. */ public Builder dataConfig(DataConfig dataConfig) { this.dataConfig = dataConfig; return this; } /** * enabled. */ public Builder enabled(Boolean enabled) { this.enabled = enabled; return this; } /** * internalPolicy. */ public Builder internalPolicy(Boolean internalPolicy) { this.internalPolicy = internalPolicy; return this; } /** * policyConfig. */ public Builder policyConfig(PolicyConfig policyConfig) { this.policyConfig = policyConfig; return this; } /** * policyName. */ public Builder policyName(String policyName) { this.policyName = policyName; return this; } /** * policyUid. */ public Builder policyUid(String policyUid) { this.policyUid = policyUid; return this; } /** * productCode. */ public Builder productCode(String productCode) { this.productCode = productCode; return this; } /** * resourceDirectory. */ public Builder resourceDirectory(ResourceDirectory resourceDirectory) { this.resourceDirectory = resourceDirectory; return this; } public Data build() { return new Data(this); } } } /** * * {@link ListCollectionPoliciesResponseBody} extends {@link TeaModel} * * <p>ListCollectionPoliciesResponseBody</p> */ public static class PolicySourceList extends TeaModel { @com.aliyun.core.annotation.NameInMap("policyName") private String policyName; @com.aliyun.core.annotation.NameInMap("policyUid") private String policyUid; private PolicySourceList(Builder builder) { this.policyName = builder.policyName; this.policyUid = builder.policyUid; } public static Builder builder() { return new Builder(); } public static PolicySourceList create() { return builder().build(); } /** * @return policyName */ public String getPolicyName() { return this.policyName; } /** * @return policyUid */ public String getPolicyUid() { return this.policyUid; } public static final class Builder { private String policyName; private String policyUid; private Builder() { } private Builder(PolicySourceList model) { this.policyName = model.policyName; this.policyUid = model.policyUid; } /** * policyName. */ public Builder policyName(String policyName) { this.policyName = policyName; return this; } /** * policyUid. */ public Builder policyUid(String policyUid) { this.policyUid = policyUid; return this; } public PolicySourceList build() { return new PolicySourceList(this); } } } /** * * {@link ListCollectionPoliciesResponseBody} extends {@link TeaModel} * * <p>ListCollectionPoliciesResponseBody</p> */ public static class Statistics extends TeaModel { @com.aliyun.core.annotation.NameInMap("policySourceList") private java.util.List<PolicySourceList> policySourceList; @com.aliyun.core.annotation.NameInMap("productCode") private String productCode; private Statistics(Builder builder) { this.policySourceList = builder.policySourceList; this.productCode = builder.productCode; } public static Builder builder() { return new Builder(); } public static Statistics create() { return builder().build(); } /** * @return policySourceList */ public java.util.List<PolicySourceList> getPolicySourceList() { return this.policySourceList; } /** * @return productCode */ public String getProductCode() { return this.productCode; } public static final class Builder { private java.util.List<PolicySourceList> policySourceList; private String productCode; private Builder() { } private Builder(Statistics model) { this.policySourceList = model.policySourceList; this.productCode = model.productCode; } /** * policySourceList. */ public Builder policySourceList(java.util.List<PolicySourceList> policySourceList) { this.policySourceList = policySourceList; return this; } /** * productCode. */ public Builder productCode(String productCode) { this.productCode = productCode; return this; } public Statistics build() { return new Statistics(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/ListConfigRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link ListConfigRequest} extends {@link RequestModel} * * <p>ListConfigRequest</p> */ public class ListConfigRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("project") private String project; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("configName") private String configName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("logstoreName") @com.aliyun.core.annotation.Validation(required = true) private String logstoreName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("offset") @com.aliyun.core.annotation.Validation(required = true) private Long offset; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("size") @com.aliyun.core.annotation.Validation(required = true) private Long size; private ListConfigRequest(Builder builder) { super(builder); this.project = builder.project; this.configName = builder.configName; this.logstoreName = builder.logstoreName; this.offset = builder.offset; this.size = builder.size; } public static Builder builder() { return new Builder(); } public static ListConfigRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return project */ public String getProject() { return this.project; } /** * @return configName */ public String getConfigName() { return this.configName; } /** * @return logstoreName */ public String getLogstoreName() { return this.logstoreName; } /** * @return offset */ public Long getOffset() { return this.offset; } /** * @return size */ public Long getSize() { return this.size; } public static final class Builder extends Request.Builder<ListConfigRequest, Builder> { private String project; private String configName; private String logstoreName; private Long offset; private Long size; private Builder() { super(); } private Builder(ListConfigRequest request) { super(request); this.project = request.project; this.configName = request.configName; this.logstoreName = request.logstoreName; this.offset = request.offset; this.size = request.size; } /** * <p>The name of the project.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>ali-test-project</p> */ public Builder project(String project) { this.putHostParameter("project", project); this.project = project; return this; } /** * <p>The name of the Logtail configuration, which is used for fuzzy match.</p> * * <strong>example:</strong> * <p>logtail-config-sample</p> */ public Builder configName(String configName) { this.putQueryParameter("configName", configName); this.configName = configName; return this; } /** * <p>The name of the Logstore.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>ali-test-logstore</p> */ public Builder logstoreName(String logstoreName) { this.putQueryParameter("logstoreName", logstoreName); this.logstoreName = logstoreName; return this; } /** * <p>The line from which the query starts. Default value: 0.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder offset(Long offset) { this.putQueryParameter("offset", offset); this.offset = offset; return this; } /** * <p>The number of entries per page. Maximum value: 500.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder size(Long size) { this.putQueryParameter("size", size); this.size = size; return this; } @Override public ListConfigRequest build() { return new ListConfigRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/ListConfigResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link ListConfigResponse} extends {@link TeaModel} * * <p>ListConfigResponse</p> */ public class ListConfigResponse 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 ListConfigResponseBody body; private ListConfigResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListConfigResponse 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 ListConfigResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListConfigResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListConfigResponseBody body); @Override ListConfigResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListConfigResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListConfigResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListConfigResponse 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(ListConfigResponseBody body) { this.body = body; return this; } @Override public ListConfigResponse build() { return new ListConfigResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/ListConfigResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sls20201230.models; import com.aliyun.sdk.gateway.sls.*; 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.sls.models.*; /** * * {@link ListConfigResponseBody} extends {@link TeaModel} * * <p>ListConfigResponseBody</p> */ public class ListConfigResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("configs") private java.util.List<String> configs; @com.aliyun.core.annotation.NameInMap("count") private Integer count; @com.aliyun.core.annotation.NameInMap("total") private Integer total; private ListConfigResponseBody(Builder builder) { this.configs = builder.configs; this.count = builder.count; this.total = builder.total; } public static Builder builder() { return new Builder(); } public static ListConfigResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return configs */ public java.util.List<String> getConfigs() { return this.configs; } /** * @return count */ public Integer getCount() { return this.count; } /** * @return total */ public Integer getTotal() { return this.total; } public static final class Builder { private java.util.List<String> configs; private Integer count; private Integer total; private Builder() { } private Builder(ListConfigResponseBody model) { this.configs = model.configs; this.count = model.count; this.total = model.total; } /** * <p>The Logtail configurations that are returned on the current page.</p> */ public Builder configs(java.util.List<String> configs) { this.configs = configs; return this; } /** * <p>The number of Logtail configurations that are returned on the current page.</p> * * <strong>example:</strong> * <p>3</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The total number of Logtail configurations that meet the query conditions.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder total(Integer total) { this.total = total; return this; } public ListConfigResponseBody build() { return new ListConfigResponseBody(this); } } }