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/ListConsumeProcessorsRequest.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 ListConsumeProcessorsRequest} extends {@link RequestModel} * * <p>ListConsumeProcessorsRequest</p> */ public class ListConsumeProcessorsRequest 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("displayName") private String displayName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("offset") private String offset; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("processorName") private String processorName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("size") private String size; private ListConsumeProcessorsRequest(Builder builder) { super(builder); this.project = builder.project; this.displayName = builder.displayName; this.offset = builder.offset; this.processorName = builder.processorName; this.size = builder.size; } public static Builder builder() { return new Builder(); } public static ListConsumeProcessorsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return project */ public String getProject() { return this.project; } /** * @return displayName */ public String getDisplayName() { return this.displayName; } /** * @return offset */ public String getOffset() { return this.offset; } /** * @return processorName */ public String getProcessorName() { return this.processorName; } /** * @return size */ public String getSize() { return this.size; } public static final class Builder extends Request.Builder<ListConsumeProcessorsRequest, Builder> { private String project; private String displayName; private String offset; private String processorName; private String size; private Builder() { super(); } private Builder(ListConsumeProcessorsRequest request) { super(request); this.project = request.project; this.displayName = request.displayName; this.offset = request.offset; this.processorName = request.processorName; this.size = request.size; } /** * <p>This parameter is required.</p> */ public Builder project(String project) { this.putHostParameter("project", project); this.project = project; return this; } /** * <p>The display name of the consumption processor.</p> * * <strong>example:</strong> * <p>filter-get-request</p> */ public Builder displayName(String displayName) { this.putQueryParameter("displayName", displayName); this.displayName = displayName; return this; } /** * <p>The offset. Default value: 0.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder offset(String offset) { this.putQueryParameter("offset", offset); this.offset = offset; return this; } /** * <p>The identifier of the consumption processor.</p> * * <strong>example:</strong> * <p>consume-processor-1</p> */ public Builder processorName(String processorName) { this.putQueryParameter("processorName", processorName); this.processorName = processorName; return this; } /** * <p>The number of entries. Default value: 200.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder size(String size) { this.putQueryParameter("size", size); this.size = size; return this; } @Override public ListConsumeProcessorsRequest build() { return new ListConsumeProcessorsRequest(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/ListConsumeProcessorsResponse.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 ListConsumeProcessorsResponse} extends {@link TeaModel} * * <p>ListConsumeProcessorsResponse</p> */ public class ListConsumeProcessorsResponse 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 ListConsumeProcessorsResponseBody body; private ListConsumeProcessorsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListConsumeProcessorsResponse 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 ListConsumeProcessorsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListConsumeProcessorsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListConsumeProcessorsResponseBody body); @Override ListConsumeProcessorsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListConsumeProcessorsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListConsumeProcessorsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListConsumeProcessorsResponse 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(ListConsumeProcessorsResponseBody body) { this.body = body; return this; } @Override public ListConsumeProcessorsResponse build() { return new ListConsumeProcessorsResponse(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/ListConsumeProcessorsResponseBody.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 ListConsumeProcessorsResponseBody} extends {@link TeaModel} * * <p>ListConsumeProcessorsResponseBody</p> */ public class ListConsumeProcessorsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("count") private Integer count; @com.aliyun.core.annotation.NameInMap("processors") private java.util.List<ConsumeProcessor> processors; @com.aliyun.core.annotation.NameInMap("total") private Integer total; private ListConsumeProcessorsResponseBody(Builder builder) { this.count = builder.count; this.processors = builder.processors; this.total = builder.total; } public static Builder builder() { return new Builder(); } public static ListConsumeProcessorsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return processors */ public java.util.List<ConsumeProcessor> getProcessors() { return this.processors; } /** * @return total */ public Integer getTotal() { return this.total; } public static final class Builder { private Integer count; private java.util.List<ConsumeProcessor> processors; private Integer total; private Builder() { } private Builder(ListConsumeProcessorsResponseBody model) { this.count = model.count; this.processors = model.processors; this.total = model.total; } /** * <p>The number of consumption processors for offset.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The list of consumption processor information.</p> */ public Builder processors(java.util.List<ConsumeProcessor> processors) { this.processors = processors; return this; } /** * <p>The total number of consumption processors that meet the query conditions.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder total(Integer total) { this.total = total; return this; } public ListConsumeProcessorsResponseBody build() { return new ListConsumeProcessorsResponseBody(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/ListConsumerGroupRequest.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 ListConsumerGroupRequest} extends {@link RequestModel} * * <p>ListConsumerGroupRequest</p> */ public class ListConsumerGroupRequest 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 ListConsumerGroupRequest(Builder builder) { super(builder); this.project = builder.project; this.logstore = builder.logstore; } public static Builder builder() { return new Builder(); } public static ListConsumerGroupRequest 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<ListConsumerGroupRequest, Builder> { private String project; private String logstore; private Builder() { super(); } private Builder(ListConsumerGroupRequest 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>ali-test-logstore</p> */ public Builder logstore(String logstore) { this.putPathParameter("logstore", logstore); this.logstore = logstore; return this; } @Override public ListConsumerGroupRequest build() { return new ListConsumerGroupRequest(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/ListConsumerGroupResponse.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 ListConsumerGroupResponse} extends {@link TeaModel} * * <p>ListConsumerGroupResponse</p> */ public class ListConsumerGroupResponse 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<ConsumerGroup> body; private ListConsumerGroupResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListConsumerGroupResponse 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<ConsumerGroup> getBody() { return this.body; } public interface Builder extends Response.Builder<ListConsumerGroupResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(java.util.List<ConsumerGroup> body); @Override ListConsumerGroupResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListConsumerGroupResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private java.util.List<ConsumerGroup> body; private BuilderImpl() { super(); } private BuilderImpl(ListConsumerGroupResponse 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<ConsumerGroup> body) { this.body = body; return this; } @Override public ListConsumerGroupResponse build() { return new ListConsumerGroupResponse(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/ListDashboardRequest.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 ListDashboardRequest} extends {@link RequestModel} * * <p>ListDashboardRequest</p> */ public class ListDashboardRequest 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("dashboardName") private String dashboardName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("displayName") private String displayName; @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; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("tags") private java.util.List<Tags> tags; private ListDashboardRequest(Builder builder) { super(builder); this.project = builder.project; this.dashboardName = builder.dashboardName; this.displayName = builder.displayName; this.offset = builder.offset; this.size = builder.size; this.tags = builder.tags; } public static Builder builder() { return new Builder(); } public static ListDashboardRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return project */ public String getProject() { return this.project; } /** * @return dashboardName */ public String getDashboardName() { return this.dashboardName; } /** * @return displayName */ public String getDisplayName() { return this.displayName; } /** * @return offset */ public Integer getOffset() { return this.offset; } /** * @return size */ public Integer getSize() { return this.size; } /** * @return tags */ public java.util.List<Tags> getTags() { return this.tags; } public static final class Builder extends Request.Builder<ListDashboardRequest, Builder> { private String project; private String dashboardName; private String displayName; private Integer offset; private Integer size; private java.util.List<Tags> tags; private Builder() { super(); } private Builder(ListDashboardRequest request) { super(request); this.project = request.project; this.dashboardName = request.dashboardName; this.displayName = request.displayName; this.offset = request.offset; this.size = request.size; this.tags = request.tags; } /** * <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; } /** * dashboardName. */ public Builder dashboardName(String dashboardName) { this.putQueryParameter("dashboardName", dashboardName); this.dashboardName = dashboardName; return this; } /** * displayName. */ public Builder displayName(String displayName) { this.putQueryParameter("displayName", displayName); this.displayName = displayName; return this; } /** * <p>The line from which the query starts. Default value: 0.</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. Maximum value: 500. Default value: 500.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder size(Integer size) { this.putQueryParameter("size", size); this.size = size; return this; } /** * tags. */ public Builder tags(java.util.List<Tags> tags) { String tagsShrink = shrink(tags, "tags", "json"); this.putQueryParameter("tags", tagsShrink); this.tags = tags; return this; } @Override public ListDashboardRequest build() { return new ListDashboardRequest(this); } } /** * * {@link ListDashboardRequest} extends {@link TeaModel} * * <p>ListDashboardRequest</p> */ public static class Tags extends TeaModel { @com.aliyun.core.annotation.NameInMap("key") private String key; @com.aliyun.core.annotation.NameInMap("value") private String value; private Tags(Builder builder) { this.key = builder.key; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static Tags create() { return builder().build(); } /** * @return key */ public String getKey() { return this.key; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder { private String key; private String value; private Builder() { } private Builder(Tags model) { this.key = model.key; this.value = model.value; } /** * key. */ public Builder key(String key) { this.key = key; return this; } /** * value. */ public Builder value(String value) { this.value = value; return this; } public Tags build() { return new Tags(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/ListDashboardResponse.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 ListDashboardResponse} extends {@link TeaModel} * * <p>ListDashboardResponse</p> */ public class ListDashboardResponse 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 ListDashboardResponseBody body; private ListDashboardResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListDashboardResponse 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 ListDashboardResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListDashboardResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListDashboardResponseBody body); @Override ListDashboardResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListDashboardResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListDashboardResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListDashboardResponse 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(ListDashboardResponseBody body) { this.body = body; return this; } @Override public ListDashboardResponse build() { return new ListDashboardResponse(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/ListDashboardResponseBody.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 ListDashboardResponseBody} extends {@link TeaModel} * * <p>ListDashboardResponseBody</p> */ public class ListDashboardResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("dashboardItems") private java.util.List<DashboardItems> dashboardItems; @com.aliyun.core.annotation.NameInMap("dashboards") private java.util.List<String> dashboards; private ListDashboardResponseBody(Builder builder) { this.dashboardItems = builder.dashboardItems; this.dashboards = builder.dashboards; } public static Builder builder() { return new Builder(); } public static ListDashboardResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return dashboardItems */ public java.util.List<DashboardItems> getDashboardItems() { return this.dashboardItems; } /** * @return dashboards */ public java.util.List<String> getDashboards() { return this.dashboards; } public static final class Builder { private java.util.List<DashboardItems> dashboardItems; private java.util.List<String> dashboards; private Builder() { } private Builder(ListDashboardResponseBody model) { this.dashboardItems = model.dashboardItems; this.dashboards = model.dashboards; } /** * <p>The details of the dashboard.</p> */ public Builder dashboardItems(java.util.List<DashboardItems> dashboardItems) { this.dashboardItems = dashboardItems; return this; } /** * <p>The queried dashboards. Each dashboard in the array is specified by dashboardName.</p> */ public Builder dashboards(java.util.List<String> dashboards) { this.dashboards = dashboards; return this; } public ListDashboardResponseBody build() { return new ListDashboardResponseBody(this); } } /** * * {@link ListDashboardResponseBody} extends {@link TeaModel} * * <p>ListDashboardResponseBody</p> */ public static class DashboardItems extends TeaModel { @com.aliyun.core.annotation.NameInMap("dashboardName") private String dashboardName; @com.aliyun.core.annotation.NameInMap("description") private String description; @com.aliyun.core.annotation.NameInMap("displayName") private String displayName; private DashboardItems(Builder builder) { this.dashboardName = builder.dashboardName; this.description = builder.description; this.displayName = builder.displayName; } public static Builder builder() { return new Builder(); } public static DashboardItems create() { return builder().build(); } /** * @return dashboardName */ public String getDashboardName() { return this.dashboardName; } /** * @return description */ public String getDescription() { return this.description; } /** * @return displayName */ public String getDisplayName() { return this.displayName; } public static final class Builder { private String dashboardName; private String description; private String displayName; private Builder() { } private Builder(DashboardItems model) { this.dashboardName = model.dashboardName; this.description = model.description; this.displayName = model.displayName; } /** * <p>The dashboard ID. The ID must be unique in a project. Fuzzy search is supported. For example, if you enter da, all dashboards whose IDs start with da are queried.</p> * * <strong>example:</strong> * <p>dashboard-1609294922657-434834</p> */ public Builder dashboardName(String dashboardName) { this.dashboardName = dashboardName; return this; } /** * description. */ public Builder description(String description) { this.description = description; return this; } /** * <p>The display name of the dashboard.</p> * * <strong>example:</strong> * <p>data-ingest</p> */ public Builder displayName(String displayName) { this.displayName = displayName; return this; } public DashboardItems build() { return new DashboardItems(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/ListDomainsRequest.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 ListDomainsRequest} extends {@link RequestModel} * * <p>ListDomainsRequest</p> */ public class ListDomainsRequest 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("domainName") private String domainName; @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 ListDomainsRequest(Builder builder) { super(builder); this.project = builder.project; this.domainName = builder.domainName; this.offset = builder.offset; this.size = builder.size; } public static Builder builder() { return new Builder(); } public static ListDomainsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return project */ public String getProject() { return this.project; } /** * @return domainName */ public String getDomainName() { return this.domainName; } /** * @return offset */ public Integer getOffset() { return this.offset; } /** * @return size */ public Integer getSize() { return this.size; } public static final class Builder extends Request.Builder<ListDomainsRequest, Builder> { private String project; private String domainName; private Integer offset; private Integer size; private Builder() { super(); } private Builder(ListDomainsRequest request) { super(request); this.project = request.project; this.domainName = request.domainName; 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 domain name that is used to match custom domain names. For example, if you set domainName to <code>example.com</code>, the matched domain names are <code>a.example.com</code> and <code>b.example.com</code>.</p> * * <strong>example:</strong> * <p>example.com</p> */ public Builder domainName(String domainName) { this.putQueryParameter("domainName", domainName); this.domainName = domainName; return this; } /** * <p>The line from which the query starts. Default value: 0.</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. Default value: 500. Maximum value: 500.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder size(Integer size) { this.putQueryParameter("size", size); this.size = size; return this; } @Override public ListDomainsRequest build() { return new ListDomainsRequest(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/ListDomainsResponse.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 ListDomainsResponse} extends {@link TeaModel} * * <p>ListDomainsResponse</p> */ public class ListDomainsResponse 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 ListDomainsResponseBody body; private ListDomainsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListDomainsResponse 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 ListDomainsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListDomainsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListDomainsResponseBody body); @Override ListDomainsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListDomainsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListDomainsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListDomainsResponse 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(ListDomainsResponseBody body) { this.body = body; return this; } @Override public ListDomainsResponse build() { return new ListDomainsResponse(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/ListDomainsResponseBody.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 ListDomainsResponseBody} extends {@link TeaModel} * * <p>ListDomainsResponseBody</p> */ public class ListDomainsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("count") private Long count; @com.aliyun.core.annotation.NameInMap("domains") private java.util.List<String> domains; @com.aliyun.core.annotation.NameInMap("total") private Long total; private ListDomainsResponseBody(Builder builder) { this.count = builder.count; this.domains = builder.domains; this.total = builder.total; } public static Builder builder() { return new Builder(); } public static ListDomainsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return count */ public Long getCount() { return this.count; } /** * @return domains */ public java.util.List<String> getDomains() { return this.domains; } /** * @return total */ public Long getTotal() { return this.total; } public static final class Builder { private Long count; private java.util.List<String> domains; private Long total; private Builder() { } private Builder(ListDomainsResponseBody model) { this.count = model.count; this.domains = model.domains; this.total = model.total; } /** * <p>The number of domain names that are returned on the current page.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder count(Long count) { this.count = count; return this; } /** * <p>The domain names.</p> */ public Builder domains(java.util.List<String> domains) { this.domains = domains; return this; } /** * <p>The total number of domain names that are returned.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder total(Long total) { this.total = total; return this; } public ListDomainsResponseBody build() { return new ListDomainsResponseBody(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/ListDownloadJobsRequest.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 ListDownloadJobsRequest} extends {@link RequestModel} * * <p>ListDownloadJobsRequest</p> */ public class ListDownloadJobsRequest 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 Long offset; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("size") private Long size; private ListDownloadJobsRequest(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 ListDownloadJobsRequest 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 Long getOffset() { return this.offset; } /** * @return size */ public Long getSize() { return this.size; } public static final class Builder extends Request.Builder<ListDownloadJobsRequest, Builder> { private String project; private String logstore; private Long offset; private Long size; private Builder() { super(); } private Builder(ListDownloadJobsRequest 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(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 ListDownloadJobsRequest build() { return new ListDownloadJobsRequest(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/ListDownloadJobsResponse.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 ListDownloadJobsResponse} extends {@link TeaModel} * * <p>ListDownloadJobsResponse</p> */ public class ListDownloadJobsResponse 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 ListDownloadJobsResponseBody body; private ListDownloadJobsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListDownloadJobsResponse 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 ListDownloadJobsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListDownloadJobsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListDownloadJobsResponseBody body); @Override ListDownloadJobsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListDownloadJobsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListDownloadJobsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListDownloadJobsResponse 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(ListDownloadJobsResponseBody body) { this.body = body; return this; } @Override public ListDownloadJobsResponse build() { return new ListDownloadJobsResponse(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/ListDownloadJobsResponseBody.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 ListDownloadJobsResponseBody} extends {@link TeaModel} * * <p>ListDownloadJobsResponseBody</p> */ public class ListDownloadJobsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("count") private Integer count; @com.aliyun.core.annotation.NameInMap("results") private java.util.List<Results> results; @com.aliyun.core.annotation.NameInMap("total") private Integer total; private ListDownloadJobsResponseBody(Builder builder) { this.count = builder.count; this.results = builder.results; this.total = builder.total; } public static Builder builder() { return new Builder(); } public static ListDownloadJobsResponseBody 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<Results> getResults() { return this.results; } /** * @return total */ public Integer getTotal() { return this.total; } public static final class Builder { private Integer count; private java.util.List<Results> results; private Integer total; private Builder() { } private Builder(ListDownloadJobsResponseBody model) { this.count = model.count; this.results = model.results; this.total = model.total; } /** * count. */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>Array, to return a list of log download tasks.</p> */ public Builder results(java.util.List<Results> results) { this.results = results; return this; } /** * total. */ public Builder total(Integer total) { this.total = total; return this; } public ListDownloadJobsResponseBody build() { return new ListDownloadJobsResponseBody(this); } } /** * * {@link ListDownloadJobsResponseBody} extends {@link TeaModel} * * <p>ListDownloadJobsResponseBody</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::123456:role/aliyunlogimportossrole</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 ListDownloadJobsResponseBody} extends {@link TeaModel} * * <p>ListDownloadJobsResponseBody</p> */ public static class Configuration extends TeaModel { @com.aliyun.core.annotation.NameInMap("allowInComplete") private String 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 String 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 String 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(String allowInComplete) { this.allowInComplete = allowInComplete; return this; } /** * <p>起点时间戳(精确到秒)</p> * * <strong>example:</strong> * <p>1722409260</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>true</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 ListDownloadJobsResponseBody} extends {@link TeaModel} * * <p>ListDownloadJobsResponseBody</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://sls-downloaded-xxxx.csv.gzip?Expiresxxx">https://sls-downloaded-xxxx.csv.gzip?Expiresxxx</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); } } } /** * * {@link ListDownloadJobsResponseBody} extends {@link TeaModel} * * <p>ListDownloadJobsResponseBody</p> */ public static class Results 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 Results(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 Results create() { return builder().build(); } /** * @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(Results 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; } /** * createTime. */ 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-123</p> */ public Builder displayName(String displayName) { this.displayName = displayName; return this; } /** * <p>The execution details.</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 task status.</p> * * <strong>example:</strong> * <p>running</p> */ public Builder status(String status) { this.status = status; return this; } public Results build() { return new Results(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/ListETLsRequest.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 ListETLsRequest} extends {@link RequestModel} * * <p>ListETLsRequest</p> */ public class ListETLsRequest 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 ListETLsRequest(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 ListETLsRequest 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<ListETLsRequest, Builder> { private String project; private String logstore; private Integer offset; private Integer size; private Builder() { super(); } private Builder(ListETLsRequest request) { super(request); this.project = request.project; this.logstore = request.logstore; 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; } /** * 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; } /** * size. */ public Builder size(Integer size) { this.putQueryParameter("size", size); this.size = size; return this; } @Override public ListETLsRequest build() { return new ListETLsRequest(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/ListETLsResponse.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 ListETLsResponse} extends {@link TeaModel} * * <p>ListETLsResponse</p> */ public class ListETLsResponse 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 ListETLsResponseBody body; private ListETLsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListETLsResponse 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 ListETLsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListETLsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListETLsResponseBody body); @Override ListETLsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListETLsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListETLsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListETLsResponse 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(ListETLsResponseBody body) { this.body = body; return this; } @Override public ListETLsResponse build() { return new ListETLsResponse(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/ListETLsResponseBody.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 ListETLsResponseBody} extends {@link TeaModel} * * <p>ListETLsResponseBody</p> */ public class ListETLsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("count") private Integer count; @com.aliyun.core.annotation.NameInMap("results") private java.util.List<ETL> results; @com.aliyun.core.annotation.NameInMap("total") private Integer total; private ListETLsResponseBody(Builder builder) { this.count = builder.count; this.results = builder.results; this.total = builder.total; } public static Builder builder() { return new Builder(); } public static ListETLsResponseBody 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<ETL> getResults() { return this.results; } /** * @return total */ public Integer getTotal() { return this.total; } public static final class Builder { private Integer count; private java.util.List<ETL> results; private Integer total; private Builder() { } private Builder(ListETLsResponseBody model) { this.count = model.count; this.results = model.results; this.total = model.total; } /** * <p>The number of data transformation jobs that are returned.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * results. */ public Builder results(java.util.List<ETL> results) { this.results = results; return this; } /** * <p>The total number of data transformation jobs in the project.</p> * * <strong>example:</strong> * <p>80</p> */ public Builder total(Integer total) { this.total = total; return this; } public ListETLsResponseBody build() { return new ListETLsResponseBody(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/ListIngestProcessorsRequest.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 ListIngestProcessorsRequest} extends {@link RequestModel} * * <p>ListIngestProcessorsRequest</p> */ public class ListIngestProcessorsRequest 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("displayName") private String displayName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("offset") private Integer offset; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("processorName") private String processorName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("size") private Integer size; private ListIngestProcessorsRequest(Builder builder) { super(builder); this.project = builder.project; this.displayName = builder.displayName; this.offset = builder.offset; this.processorName = builder.processorName; this.size = builder.size; } public static Builder builder() { return new Builder(); } public static ListIngestProcessorsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return project */ public String getProject() { return this.project; } /** * @return displayName */ public String getDisplayName() { return this.displayName; } /** * @return offset */ public Integer getOffset() { return this.offset; } /** * @return processorName */ public String getProcessorName() { return this.processorName; } /** * @return size */ public Integer getSize() { return this.size; } public static final class Builder extends Request.Builder<ListIngestProcessorsRequest, Builder> { private String project; private String displayName; private Integer offset; private String processorName; private Integer size; private Builder() { super(); } private Builder(ListIngestProcessorsRequest request) { super(request); this.project = request.project; this.displayName = request.displayName; this.offset = request.offset; this.processorName = request.processorName; 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 display name of the ingest processor.</p> */ public Builder displayName(String displayName) { this.putQueryParameter("displayName", displayName); this.displayName = displayName; return this; } /** * <p>The offset. Default value: 0.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder offset(Integer offset) { this.putQueryParameter("offset", offset); this.offset = offset; return this; } /** * <p>The identifier of the ingest processor.</p> * * <strong>example:</strong> * <p>parse-nginx-log</p> */ public Builder processorName(String processorName) { this.putQueryParameter("processorName", processorName); this.processorName = processorName; return this; } /** * <p>The number of entries. Default value: 200.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder size(Integer size) { this.putQueryParameter("size", size); this.size = size; return this; } @Override public ListIngestProcessorsRequest build() { return new ListIngestProcessorsRequest(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/ListIngestProcessorsResponse.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 ListIngestProcessorsResponse} extends {@link TeaModel} * * <p>ListIngestProcessorsResponse</p> */ public class ListIngestProcessorsResponse 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 ListIngestProcessorsResponseBody body; private ListIngestProcessorsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListIngestProcessorsResponse 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 ListIngestProcessorsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListIngestProcessorsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListIngestProcessorsResponseBody body); @Override ListIngestProcessorsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListIngestProcessorsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListIngestProcessorsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListIngestProcessorsResponse 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(ListIngestProcessorsResponseBody body) { this.body = body; return this; } @Override public ListIngestProcessorsResponse build() { return new ListIngestProcessorsResponse(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/ListIngestProcessorsResponseBody.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 ListIngestProcessorsResponseBody} extends {@link TeaModel} * * <p>ListIngestProcessorsResponseBody</p> */ public class ListIngestProcessorsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("count") private Integer count; @com.aliyun.core.annotation.NameInMap("processors") private java.util.List<IngestProcessor> processors; @com.aliyun.core.annotation.NameInMap("total") private Integer total; private ListIngestProcessorsResponseBody(Builder builder) { this.count = builder.count; this.processors = builder.processors; this.total = builder.total; } public static Builder builder() { return new Builder(); } public static ListIngestProcessorsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return processors */ public java.util.List<IngestProcessor> getProcessors() { return this.processors; } /** * @return total */ public Integer getTotal() { return this.total; } public static final class Builder { private Integer count; private java.util.List<IngestProcessor> processors; private Integer total; private Builder() { } private Builder(ListIngestProcessorsResponseBody model) { this.count = model.count; this.processors = model.processors; this.total = model.total; } /** * <p>The number of entries returned.</p> * * <strong>example:</strong> * <p>5</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The ingest processors that are returned.</p> */ public Builder processors(java.util.List<IngestProcessor> processors) { this.processors = processors; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder total(Integer total) { this.total = total; return this; } public ListIngestProcessorsResponseBody build() { return new ListIngestProcessorsResponseBody(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/ListLogStoresRequest.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 ListLogStoresRequest} extends {@link RequestModel} * * <p>ListLogStoresRequest</p> */ public class ListLogStoresRequest 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("logstoreName") private String logstoreName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("mode") private String mode; @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; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("telemetryType") private String telemetryType; private ListLogStoresRequest(Builder builder) { super(builder); this.project = builder.project; this.logstoreName = builder.logstoreName; this.mode = builder.mode; this.offset = builder.offset; this.size = builder.size; this.telemetryType = builder.telemetryType; } public static Builder builder() { return new Builder(); } public static ListLogStoresRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return project */ public String getProject() { return this.project; } /** * @return logstoreName */ public String getLogstoreName() { return this.logstoreName; } /** * @return mode */ public String getMode() { return this.mode; } /** * @return offset */ public Integer getOffset() { return this.offset; } /** * @return size */ public Integer getSize() { return this.size; } /** * @return telemetryType */ public String getTelemetryType() { return this.telemetryType; } public static final class Builder extends Request.Builder<ListLogStoresRequest, Builder> { private String project; private String logstoreName; private String mode; private Integer offset; private Integer size; private String telemetryType; private Builder() { super(); } private Builder(ListLogStoresRequest request) { super(request); this.project = request.project; this.logstoreName = request.logstoreName; this.mode = request.mode; this.offset = request.offset; this.size = request.size; this.telemetryType = request.telemetryType; } /** * <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. Fuzzy match is supported. For example, if you enter test, Logstores whose name contains test are returned.</p> * * <strong>example:</strong> * <p>my-logstore</p> */ public Builder logstoreName(String logstoreName) { this.putQueryParameter("logstoreName", logstoreName); this.logstoreName = logstoreName; return this; } /** * <p>The type of the Logstore. Valid values: standard and query.</p> * <ul> * <li><strong>standard</strong>: Standard Logstore. This type of Logstore supports the log analysis feature and is suitable for scenarios such as real-time monitoring and interactive analysis. You can also use this type of Logstore to build a comprehensive observability system.</li> * <li><strong>query</strong>: Query Logstore. This type of Logstore supports high-performance queries. The index traffic fee of a Query Logstore is approximately half that of a Standard Logstore. Query Logstores do not support SQL analysis. Query Logstores are suitable for scenarios in which the volume of data is large, the log retention period is long, or log analysis is not required. Log retention periods of weeks or months are considered long.</li> * </ul> * * <strong>example:</strong> * <p>standard</p> */ public Builder mode(String mode) { this.putQueryParameter("mode", mode); this.mode = mode; return this; } /** * <p>The line from which the query starts. Default value: 0.</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. Maximum value: 500. Default value: 200.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder size(Integer size) { this.putQueryParameter("size", size); this.size = size; return this; } /** * <p>The type of the data that you want to query. Valid values:</p> * <ul> * <li>None: logs</li> * <li>Metrics: metrics</li> * </ul> * * <strong>example:</strong> * <p>None</p> */ public Builder telemetryType(String telemetryType) { this.putQueryParameter("telemetryType", telemetryType); this.telemetryType = telemetryType; return this; } @Override public ListLogStoresRequest build() { return new ListLogStoresRequest(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/ListLogStoresResponse.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 ListLogStoresResponse} extends {@link TeaModel} * * <p>ListLogStoresResponse</p> */ public class ListLogStoresResponse 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 ListLogStoresResponseBody body; private ListLogStoresResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListLogStoresResponse 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 ListLogStoresResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListLogStoresResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListLogStoresResponseBody body); @Override ListLogStoresResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListLogStoresResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListLogStoresResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListLogStoresResponse 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(ListLogStoresResponseBody body) { this.body = body; return this; } @Override public ListLogStoresResponse build() { return new ListLogStoresResponse(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/ListLogStoresResponseBody.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 ListLogStoresResponseBody} extends {@link TeaModel} * * <p>ListLogStoresResponseBody</p> */ public class ListLogStoresResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("count") private Integer count; @com.aliyun.core.annotation.NameInMap("logstores") private java.util.List<String> logstores; @com.aliyun.core.annotation.NameInMap("total") private Integer total; private ListLogStoresResponseBody(Builder builder) { this.count = builder.count; this.logstores = builder.logstores; this.total = builder.total; } public static Builder builder() { return new Builder(); } public static ListLogStoresResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return logstores */ public java.util.List<String> getLogstores() { return this.logstores; } /** * @return total */ public Integer getTotal() { return this.total; } public static final class Builder { private Integer count; private java.util.List<String> logstores; private Integer total; private Builder() { } private Builder(ListLogStoresResponseBody model) { this.count = model.count; this.logstores = model.logstores; this.total = model.total; } /** * <p>The number of entries returned on the current page.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The Logstores that meet the query conditions.</p> * * <strong>example:</strong> * <p>[&quot;test-1&quot;,&quot;test-2&quot;]</p> */ public Builder logstores(java.util.List<String> logstores) { this.logstores = logstores; return this; } /** * <p>The number of the Logstores that meet the query conditions.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder total(Integer total) { this.total = total; return this; } public ListLogStoresResponseBody build() { return new ListLogStoresResponseBody(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/ListLogtailPipelineConfigRequest.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 ListLogtailPipelineConfigRequest} extends {@link RequestModel} * * <p>ListLogtailPipelineConfigRequest</p> */ public class ListLogtailPipelineConfigRequest 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("configType") private String configType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("logstoreName") private String logstoreName; @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") @com.aliyun.core.annotation.Validation(maximum = 500) private Long size; private ListLogtailPipelineConfigRequest(Builder builder) { super(builder); this.project = builder.project; this.configName = builder.configName; this.configType = builder.configType; this.logstoreName = builder.logstoreName; this.offset = builder.offset; this.size = builder.size; } public static Builder builder() { return new Builder(); } public static ListLogtailPipelineConfigRequest 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 configType */ public String getConfigType() { return this.configType; } /** * @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<ListLogtailPipelineConfigRequest, Builder> { private String project; private String configName; private String configType; private String logstoreName; private Long offset; private Long size; private Builder() { super(); } private Builder(ListLogtailPipelineConfigRequest request) { super(request); this.project = request.project; this.configName = request.configName; this.configType = request.configType; 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>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> * * <strong>example:</strong> * <p>logtail-config-sample</p> */ public Builder configName(String configName) { this.putQueryParameter("configName", configName); this.configName = configName; return this; } /** * configType. */ public Builder configType(String configType) { this.putQueryParameter("configType", configType); this.configType = configType; return this; } /** * <p>The name of the Logstore.</p> * * <strong>example:</strong> * <p>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.</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 Logtail pipeline configurations per page.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder size(Long size) { this.putQueryParameter("size", size); this.size = size; return this; } @Override public ListLogtailPipelineConfigRequest build() { return new ListLogtailPipelineConfigRequest(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/ListLogtailPipelineConfigResponse.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 ListLogtailPipelineConfigResponse} extends {@link TeaModel} * * <p>ListLogtailPipelineConfigResponse</p> */ public class ListLogtailPipelineConfigResponse 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 ListLogtailPipelineConfigResponseBody body; private ListLogtailPipelineConfigResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListLogtailPipelineConfigResponse 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 ListLogtailPipelineConfigResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListLogtailPipelineConfigResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListLogtailPipelineConfigResponseBody body); @Override ListLogtailPipelineConfigResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListLogtailPipelineConfigResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListLogtailPipelineConfigResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListLogtailPipelineConfigResponse 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(ListLogtailPipelineConfigResponseBody body) { this.body = body; return this; } @Override public ListLogtailPipelineConfigResponse build() { return new ListLogtailPipelineConfigResponse(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/ListLogtailPipelineConfigResponseBody.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 ListLogtailPipelineConfigResponseBody} extends {@link TeaModel} * * <p>ListLogtailPipelineConfigResponseBody</p> */ public class ListLogtailPipelineConfigResponseBody 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 ListLogtailPipelineConfigResponseBody(Builder builder) { this.configs = builder.configs; this.count = builder.count; this.total = builder.total; } public static Builder builder() { return new Builder(); } public static ListLogtailPipelineConfigResponseBody 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(ListLogtailPipelineConfigResponseBody model) { this.configs = model.configs; this.count = model.count; this.total = model.total; } /** * <p>The Logtail pipeline 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 pipeline configurations that are returned on the current page.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The total number of Logtail pipeline configurations in the current project.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder total(Integer total) { this.total = total; return this; } public ListLogtailPipelineConfigResponseBody build() { return new ListLogtailPipelineConfigResponseBody(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/ListMachineGroupRequest.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 ListMachineGroupRequest} extends {@link RequestModel} * * <p>ListMachineGroupRequest</p> */ public class ListMachineGroupRequest 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("groupName") private String groupName; @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 ListMachineGroupRequest(Builder builder) { super(builder); this.project = builder.project; this.groupName = builder.groupName; this.offset = builder.offset; this.size = builder.size; } public static Builder builder() { return new Builder(); } public static ListMachineGroupRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return project */ public String getProject() { return this.project; } /** * @return groupName */ public String getGroupName() { return this.groupName; } /** * @return offset */ public Integer getOffset() { return this.offset; } /** * @return size */ public Integer getSize() { return this.size; } public static final class Builder extends Request.Builder<ListMachineGroupRequest, Builder> { private String project; private String groupName; private Integer offset; private Integer size; private Builder() { super(); } private Builder(ListMachineGroupRequest request) { super(request); this.project = request.project; this.groupName = request.groupName; 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>aliyun-test-project</p> */ public Builder project(String project) { this.putHostParameter("project", project); this.project = project; return this; } /** * <p>The name of the machine group. This parameter is used to filter machine groups. Partial match is supported.</p> * * <strong>example:</strong> * <p>test-machine-group</p> */ public Builder groupName(String groupName) { this.putQueryParameter("groupName", groupName); this.groupName = groupName; return this; } /** * <p>The line from which the query starts. Default value: 0.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder offset(Integer offset) { this.putQueryParameter("offset", offset); this.offset = offset; return this; } /** * <p>The number of entries per page. Maximum value: 500.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder size(Integer size) { this.putQueryParameter("size", size); this.size = size; return this; } @Override public ListMachineGroupRequest build() { return new ListMachineGroupRequest(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/ListMachineGroupResponse.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 ListMachineGroupResponse} extends {@link TeaModel} * * <p>ListMachineGroupResponse</p> */ public class ListMachineGroupResponse 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 ListMachineGroupResponseBody body; private ListMachineGroupResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListMachineGroupResponse 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 ListMachineGroupResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListMachineGroupResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListMachineGroupResponseBody body); @Override ListMachineGroupResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListMachineGroupResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListMachineGroupResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListMachineGroupResponse 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(ListMachineGroupResponseBody body) { this.body = body; return this; } @Override public ListMachineGroupResponse build() { return new ListMachineGroupResponse(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/ListMachineGroupResponseBody.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 ListMachineGroupResponseBody} extends {@link TeaModel} * * <p>ListMachineGroupResponseBody</p> */ public class ListMachineGroupResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("count") private Integer count; @com.aliyun.core.annotation.NameInMap("machinegroups") private java.util.List<String> machinegroups; @com.aliyun.core.annotation.NameInMap("total") private Integer total; private ListMachineGroupResponseBody(Builder builder) { this.count = builder.count; this.machinegroups = builder.machinegroups; this.total = builder.total; } public static Builder builder() { return new Builder(); } public static ListMachineGroupResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return machinegroups */ public java.util.List<String> getMachinegroups() { return this.machinegroups; } /** * @return total */ public Integer getTotal() { return this.total; } public static final class Builder { private Integer count; private java.util.List<String> machinegroups; private Integer total; private Builder() { } private Builder(ListMachineGroupResponseBody model) { this.count = model.count; this.machinegroups = model.machinegroups; this.total = model.total; } /** * <p>The number of machine groups that are returned on the current page.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The machine groups that meet the query conditions.</p> * * <strong>example:</strong> * <p>[ &quot;test-machine-group-1&quot;, &quot;test-machine-group-2&quot; ]</p> */ public Builder machinegroups(java.util.List<String> machinegroups) { this.machinegroups = machinegroups; return this; } /** * <p>The total number of machine groups that meet the query conditions.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder total(Integer total) { this.total = total; return this; } public ListMachineGroupResponseBody build() { return new ListMachineGroupResponseBody(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/ListMachinesRequest.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 ListMachinesRequest} extends {@link RequestModel} * * <p>ListMachinesRequest</p> */ public class ListMachinesRequest 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; @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 ListMachinesRequest(Builder builder) { super(builder); this.project = builder.project; this.machineGroup = builder.machineGroup; this.offset = builder.offset; this.size = builder.size; } public static Builder builder() { return new Builder(); } public static ListMachinesRequest 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; } /** * @return offset */ public Integer getOffset() { return this.offset; } /** * @return size */ public Integer getSize() { return this.size; } public static final class Builder extends Request.Builder<ListMachinesRequest, Builder> { private String project; private String machineGroup; private Integer offset; private Integer size; private Builder() { super(); } private Builder(ListMachinesRequest request) { super(request); this.project = request.project; this.machineGroup = request.machineGroup; 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 machine group.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>test-group</p> */ public Builder machineGroup(String machineGroup) { this.putPathParameter("machineGroup", machineGroup); this.machineGroup = machineGroup; return this; } /** * <p>The line from which the query starts. Default value: 0.</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. Default value: 100. Maximum value: 500.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder size(Integer size) { this.putQueryParameter("size", size); this.size = size; return this; } @Override public ListMachinesRequest build() { return new ListMachinesRequest(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/ListMachinesResponse.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 ListMachinesResponse} extends {@link TeaModel} * * <p>ListMachinesResponse</p> */ public class ListMachinesResponse 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 ListMachinesResponseBody body; private ListMachinesResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListMachinesResponse 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 ListMachinesResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListMachinesResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListMachinesResponseBody body); @Override ListMachinesResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListMachinesResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListMachinesResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListMachinesResponse 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(ListMachinesResponseBody body) { this.body = body; return this; } @Override public ListMachinesResponse build() { return new ListMachinesResponse(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/ListMachinesResponseBody.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 ListMachinesResponseBody} extends {@link TeaModel} * * <p>ListMachinesResponseBody</p> */ public class ListMachinesResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("count") private Integer count; @com.aliyun.core.annotation.NameInMap("machines") private java.util.List<Machine> machines; @com.aliyun.core.annotation.NameInMap("total") private Integer total; private ListMachinesResponseBody(Builder builder) { this.count = builder.count; this.machines = builder.machines; this.total = builder.total; } public static Builder builder() { return new Builder(); } public static ListMachinesResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return machines */ public java.util.List<Machine> getMachines() { return this.machines; } /** * @return total */ public Integer getTotal() { return this.total; } public static final class Builder { private Integer count; private java.util.List<Machine> machines; private Integer total; private Builder() { } private Builder(ListMachinesResponseBody model) { this.count = model.count; this.machines = model.machines; this.total = model.total; } /** * <p>The number of machines 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 machines that are returned.</p> */ public Builder machines(java.util.List<Machine> machines) { this.machines = machines; return this; } /** * <p>The total number of machines.</p> * * <strong>example:</strong> * <p>8</p> */ public Builder total(Integer total) { this.total = total; return this; } public ListMachinesResponseBody build() { return new ListMachinesResponseBody(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/ListMaxComputeExportsRequest.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 ListMaxComputeExportsRequest} extends {@link RequestModel} * * <p>ListMaxComputeExportsRequest</p> */ public class ListMaxComputeExportsRequest 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 ListMaxComputeExportsRequest(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 ListMaxComputeExportsRequest 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<ListMaxComputeExportsRequest, Builder> { private String project; private String logstore; private Integer offset; private Integer size; private Builder() { super(); } private Builder(ListMaxComputeExportsRequest request) { super(request); this.project = request.project; this.logstore = request.logstore; 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>my-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 to return. Default value: 10.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder size(Integer size) { this.putQueryParameter("size", size); this.size = size; return this; } @Override public ListMaxComputeExportsRequest build() { return new ListMaxComputeExportsRequest(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/ListMaxComputeExportsResponse.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 ListMaxComputeExportsResponse} extends {@link TeaModel} * * <p>ListMaxComputeExportsResponse</p> */ public class ListMaxComputeExportsResponse 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 ListMaxComputeExportsResponseBody body; private ListMaxComputeExportsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListMaxComputeExportsResponse 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 ListMaxComputeExportsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListMaxComputeExportsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListMaxComputeExportsResponseBody body); @Override ListMaxComputeExportsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListMaxComputeExportsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListMaxComputeExportsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListMaxComputeExportsResponse 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(ListMaxComputeExportsResponseBody body) { this.body = body; return this; } @Override public ListMaxComputeExportsResponse build() { return new ListMaxComputeExportsResponse(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/ListMaxComputeExportsResponseBody.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 ListMaxComputeExportsResponseBody} extends {@link TeaModel} * * <p>ListMaxComputeExportsResponseBody</p> */ public class ListMaxComputeExportsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("count") private Integer count; @com.aliyun.core.annotation.NameInMap("results") private java.util.List<MaxComputeExport> results; @com.aliyun.core.annotation.NameInMap("total") private Integer total; private ListMaxComputeExportsResponseBody(Builder builder) { this.count = builder.count; this.results = builder.results; this.total = builder.total; } public static Builder builder() { return new Builder(); } public static ListMaxComputeExportsResponseBody 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<MaxComputeExport> getResults() { return this.results; } /** * @return total */ public Integer getTotal() { return this.total; } public static final class Builder { private Integer count; private java.util.List<MaxComputeExport> results; private Integer total; private Builder() { } private Builder(ListMaxComputeExportsResponseBody model) { this.count = model.count; this.results = model.results; this.total = model.total; } /** * count. */ public Builder count(Integer count) { this.count = count; return this; } /** * results. */ public Builder results(java.util.List<MaxComputeExport> results) { this.results = results; return this; } /** * total. */ public Builder total(Integer total) { this.total = total; return this; } public ListMaxComputeExportsResponseBody build() { return new ListMaxComputeExportsResponseBody(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/ListMetricStoresRequest.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 ListMetricStoresRequest} extends {@link RequestModel} * * <p>ListMetricStoresRequest</p> */ public class ListMetricStoresRequest 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("mode") private String mode; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("name") private String name; @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 ListMetricStoresRequest(Builder builder) { super(builder); this.project = builder.project; this.mode = builder.mode; this.name = builder.name; this.offset = builder.offset; this.size = builder.size; } public static Builder builder() { return new Builder(); } public static ListMetricStoresRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return project */ public String getProject() { return this.project; } /** * @return mode */ public String getMode() { return this.mode; } /** * @return name */ public String getName() { return this.name; } /** * @return offset */ public Integer getOffset() { return this.offset; } /** * @return size */ public Integer getSize() { return this.size; } public static final class Builder extends Request.Builder<ListMetricStoresRequest, Builder> { private String project; private String mode; private String name; private Integer offset; private Integer size; private Builder() { super(); } private Builder(ListMetricStoresRequest request) { super(request); this.project = request.project; this.mode = request.mode; this.name = request.name; 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>my-project</p> */ public Builder project(String project) { this.putHostParameter("project", project); this.project = project; return this; } /** * <p>The type of the Metricstore. For example, you can set the parameter to standard to query Standard Metricstores.</p> * * <strong>example:</strong> * <p>standard</p> */ public Builder mode(String mode) { this.putQueryParameter("mode", mode); this.mode = mode; return this; } /** * <p>The name of the Metricstore. Fuzzy search is supported. If you do not specify this parameter, all Metricstores are involved.</p> * * <strong>example:</strong> * <p>metric_store</p> */ public Builder name(String name) { this.putQueryParameter("name", name); this.name = name; return this; } /** * <p>The start position of the query.</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>500</p> */ public Builder size(Integer size) { this.putQueryParameter("size", size); this.size = size; return this; } @Override public ListMetricStoresRequest build() { return new ListMetricStoresRequest(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/ListMetricStoresResponse.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 ListMetricStoresResponse} extends {@link TeaModel} * * <p>ListMetricStoresResponse</p> */ public class ListMetricStoresResponse 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 ListMetricStoresResponseBody body; private ListMetricStoresResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListMetricStoresResponse 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 ListMetricStoresResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListMetricStoresResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListMetricStoresResponseBody body); @Override ListMetricStoresResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListMetricStoresResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListMetricStoresResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListMetricStoresResponse 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(ListMetricStoresResponseBody body) { this.body = body; return this; } @Override public ListMetricStoresResponse build() { return new ListMetricStoresResponse(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/ListMetricStoresResponseBody.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 ListMetricStoresResponseBody} extends {@link TeaModel} * * <p>ListMetricStoresResponseBody</p> */ public class ListMetricStoresResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("count") private Integer count; @com.aliyun.core.annotation.NameInMap("metricstores") private java.util.List<String> metricstores; @com.aliyun.core.annotation.NameInMap("total") private Integer total; private ListMetricStoresResponseBody(Builder builder) { this.count = builder.count; this.metricstores = builder.metricstores; this.total = builder.total; } public static Builder builder() { return new Builder(); } public static ListMetricStoresResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return metricstores */ public java.util.List<String> getMetricstores() { return this.metricstores; } /** * @return total */ public Integer getTotal() { return this.total; } public static final class Builder { private Integer count; private java.util.List<String> metricstores; private Integer total; private Builder() { } private Builder(ListMetricStoresResponseBody model) { this.count = model.count; this.metricstores = model.metricstores; this.total = model.total; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The names of the Metricstores.</p> */ public Builder metricstores(java.util.List<String> metricstores) { this.metricstores = metricstores; return this; } /** * <p>The total number of queried Metricstores.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder total(Integer total) { this.total = total; return this; } public ListMetricStoresResponseBody build() { return new ListMetricStoresResponseBody(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/ListOSSExportsRequest.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 ListOSSExportsRequest} extends {@link RequestModel} * * <p>ListOSSExportsRequest</p> */ public class ListOSSExportsRequest 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 ListOSSExportsRequest(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 ListOSSExportsRequest 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<ListOSSExportsRequest, Builder> { private String project; private String logstore; private Integer offset; private Integer size; private Builder() { super(); } private Builder(ListOSSExportsRequest request) { super(request); this.project = request.project; this.logstore = request.logstore; 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; } /** * 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 to return. Default value: 10.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder size(Integer size) { this.putQueryParameter("size", size); this.size = size; return this; } @Override public ListOSSExportsRequest build() { return new ListOSSExportsRequest(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/ListOSSExportsResponse.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 ListOSSExportsResponse} extends {@link TeaModel} * * <p>ListOSSExportsResponse</p> */ public class ListOSSExportsResponse 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 ListOSSExportsResponseBody body; private ListOSSExportsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListOSSExportsResponse 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 ListOSSExportsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListOSSExportsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListOSSExportsResponseBody body); @Override ListOSSExportsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListOSSExportsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListOSSExportsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListOSSExportsResponse 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(ListOSSExportsResponseBody body) { this.body = body; return this; } @Override public ListOSSExportsResponse build() { return new ListOSSExportsResponse(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/ListOSSExportsResponseBody.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 ListOSSExportsResponseBody} extends {@link TeaModel} * * <p>ListOSSExportsResponseBody</p> */ public class ListOSSExportsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("count") private Integer count; @com.aliyun.core.annotation.NameInMap("results") private java.util.List<OSSExport> results; @com.aliyun.core.annotation.NameInMap("total") private Integer total; private ListOSSExportsResponseBody(Builder builder) { this.count = builder.count; this.results = builder.results; this.total = builder.total; } public static Builder builder() { return new Builder(); } public static ListOSSExportsResponseBody 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<OSSExport> getResults() { return this.results; } /** * @return total */ public Integer getTotal() { return this.total; } public static final class Builder { private Integer count; private java.util.List<OSSExport> results; private Integer total; private Builder() { } private Builder(ListOSSExportsResponseBody model) { this.count = model.count; this.results = model.results; this.total = model.total; } /** * count. */ public Builder count(Integer count) { this.count = count; return this; } /** * results. */ public Builder results(java.util.List<OSSExport> results) { this.results = results; return this; } /** * total. */ public Builder total(Integer total) { this.total = total; return this; } public ListOSSExportsResponseBody build() { return new ListOSSExportsResponseBody(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/ListOSSHDFSExportsRequest.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 ListOSSHDFSExportsRequest} extends {@link RequestModel} * * <p>ListOSSHDFSExportsRequest</p> */ public class ListOSSHDFSExportsRequest 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 ListOSSHDFSExportsRequest(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 ListOSSHDFSExportsRequest 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<ListOSSHDFSExportsRequest, Builder> { private String project; private String logstore; private Integer offset; private Integer size; private Builder() { super(); } private Builder(ListOSSHDFSExportsRequest request) { super(request); this.project = request.project; this.logstore = request.logstore; 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; } /** * 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 to return. Default value: 10.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder size(Integer size) { this.putQueryParameter("size", size); this.size = size; return this; } @Override public ListOSSHDFSExportsRequest build() { return new ListOSSHDFSExportsRequest(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/ListOSSHDFSExportsResponse.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 ListOSSHDFSExportsResponse} extends {@link TeaModel} * * <p>ListOSSHDFSExportsResponse</p> */ public class ListOSSHDFSExportsResponse 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 ListOSSHDFSExportsResponseBody body; private ListOSSHDFSExportsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListOSSHDFSExportsResponse 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 ListOSSHDFSExportsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListOSSHDFSExportsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListOSSHDFSExportsResponseBody body); @Override ListOSSHDFSExportsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListOSSHDFSExportsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListOSSHDFSExportsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListOSSHDFSExportsResponse 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(ListOSSHDFSExportsResponseBody body) { this.body = body; return this; } @Override public ListOSSHDFSExportsResponse build() { return new ListOSSHDFSExportsResponse(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/ListOSSHDFSExportsResponseBody.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 ListOSSHDFSExportsResponseBody} extends {@link TeaModel} * * <p>ListOSSHDFSExportsResponseBody</p> */ public class ListOSSHDFSExportsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("count") private Integer count; @com.aliyun.core.annotation.NameInMap("results") private java.util.List<OSSExport> results; @com.aliyun.core.annotation.NameInMap("total") private Integer total; private ListOSSHDFSExportsResponseBody(Builder builder) { this.count = builder.count; this.results = builder.results; this.total = builder.total; } public static Builder builder() { return new Builder(); } public static ListOSSHDFSExportsResponseBody 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<OSSExport> getResults() { return this.results; } /** * @return total */ public Integer getTotal() { return this.total; } public static final class Builder { private Integer count; private java.util.List<OSSExport> results; private Integer total; private Builder() { } private Builder(ListOSSHDFSExportsResponseBody model) { this.count = model.count; this.results = model.results; this.total = model.total; } /** * count. */ public Builder count(Integer count) { this.count = count; return this; } /** * results. */ public Builder results(java.util.List<OSSExport> results) { this.results = results; return this; } /** * total. */ public Builder total(Integer total) { this.total = total; return this; } public ListOSSHDFSExportsResponseBody build() { return new ListOSSHDFSExportsResponseBody(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/ListOSSIngestionsRequest.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 ListOSSIngestionsRequest} extends {@link RequestModel} * * <p>ListOSSIngestionsRequest</p> */ public class ListOSSIngestionsRequest 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 ListOSSIngestionsRequest(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 ListOSSIngestionsRequest 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<ListOSSIngestionsRequest, Builder> { private String project; private String logstore; private Integer offset; private Integer size; private Builder() { super(); } private Builder(ListOSSIngestionsRequest 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; } /** * size. */ public Builder size(Integer size) { this.putQueryParameter("size", size); this.size = size; return this; } @Override public ListOSSIngestionsRequest build() { return new ListOSSIngestionsRequest(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/ListOSSIngestionsResponse.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 ListOSSIngestionsResponse} extends {@link TeaModel} * * <p>ListOSSIngestionsResponse</p> */ public class ListOSSIngestionsResponse 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 ListOSSIngestionsResponseBody body; private ListOSSIngestionsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListOSSIngestionsResponse 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 ListOSSIngestionsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListOSSIngestionsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListOSSIngestionsResponseBody body); @Override ListOSSIngestionsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListOSSIngestionsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListOSSIngestionsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListOSSIngestionsResponse 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(ListOSSIngestionsResponseBody body) { this.body = body; return this; } @Override public ListOSSIngestionsResponse build() { return new ListOSSIngestionsResponse(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/ListOSSIngestionsResponseBody.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 ListOSSIngestionsResponseBody} extends {@link TeaModel} * * <p>ListOSSIngestionsResponseBody</p> */ public class ListOSSIngestionsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("count") private Integer count; @com.aliyun.core.annotation.NameInMap("results") private java.util.List<OSSIngestion> results; @com.aliyun.core.annotation.NameInMap("total") private Integer total; private ListOSSIngestionsResponseBody(Builder builder) { this.count = builder.count; this.results = builder.results; this.total = builder.total; } public static Builder builder() { return new Builder(); } public static ListOSSIngestionsResponseBody 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<OSSIngestion> getResults() { return this.results; } /** * @return total */ public Integer getTotal() { return this.total; } public static final class Builder { private Integer count; private java.util.List<OSSIngestion> results; private Integer total; private Builder() { } private Builder(ListOSSIngestionsResponseBody model) { this.count = model.count; this.results = model.results; this.total = model.total; } /** * <p>The number of OSS data import jobs that are returned.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The OSS data import jobs.</p> */ public Builder results(java.util.List<OSSIngestion> results) { this.results = results; return this; } /** * <p>The total number of OSS data import jobs in the project.</p> * * <strong>example:</strong> * <p>80</p> */ public Builder total(Integer total) { this.total = total; return this; } public ListOSSIngestionsResponseBody build() { return new ListOSSIngestionsResponseBody(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/ListProjectRequest.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 ListProjectRequest} extends {@link RequestModel} * * <p>ListProjectRequest</p> */ public class ListProjectRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("fetchQuota") private Boolean fetchQuota; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("offset") private Integer offset; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("projectName") private String projectName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("resourceGroupId") private String resourceGroupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("size") private Integer size; private ListProjectRequest(Builder builder) { super(builder); this.fetchQuota = builder.fetchQuota; this.offset = builder.offset; this.projectName = builder.projectName; this.resourceGroupId = builder.resourceGroupId; this.size = builder.size; } public static Builder builder() { return new Builder(); } public static ListProjectRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return fetchQuota */ public Boolean getFetchQuota() { return this.fetchQuota; } /** * @return offset */ public Integer getOffset() { return this.offset; } /** * @return projectName */ public String getProjectName() { return this.projectName; } /** * @return resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } /** * @return size */ public Integer getSize() { return this.size; } public static final class Builder extends Request.Builder<ListProjectRequest, Builder> { private Boolean fetchQuota; private Integer offset; private String projectName; private String resourceGroupId; private Integer size; private Builder() { super(); } private Builder(ListProjectRequest request) { super(request); this.fetchQuota = request.fetchQuota; this.offset = request.offset; this.projectName = request.projectName; this.resourceGroupId = request.resourceGroupId; this.size = request.size; } /** * fetchQuota. */ public Builder fetchQuota(Boolean fetchQuota) { this.putQueryParameter("fetchQuota", fetchQuota); this.fetchQuota = fetchQuota; return this; } /** * <p>The line from which the query starts. Default value: 0.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder offset(Integer offset) { this.putQueryParameter("offset", offset); this.offset = offset; return this; } /** * <p>The name of the project.</p> * * <strong>example:</strong> * <p>ali-test-project</p> */ public Builder projectName(String projectName) { this.putQueryParameter("projectName", projectName); this.projectName = projectName; return this; } /** * resourceGroupId. */ public Builder resourceGroupId(String resourceGroupId) { this.putQueryParameter("resourceGroupId", resourceGroupId); this.resourceGroupId = resourceGroupId; return this; } /** * <p>The number of entries per page. Default value: 100. This operation can return up to 500 projects.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder size(Integer size) { this.putQueryParameter("size", size); this.size = size; return this; } @Override public ListProjectRequest build() { return new ListProjectRequest(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/ListProjectResponse.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 ListProjectResponse} extends {@link TeaModel} * * <p>ListProjectResponse</p> */ public class ListProjectResponse 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 ListProjectResponseBody body; private ListProjectResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListProjectResponse 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 ListProjectResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListProjectResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListProjectResponseBody body); @Override ListProjectResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListProjectResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListProjectResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListProjectResponse 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(ListProjectResponseBody body) { this.body = body; return this; } @Override public ListProjectResponse build() { return new ListProjectResponse(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/ListProjectResponseBody.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 ListProjectResponseBody} extends {@link TeaModel} * * <p>ListProjectResponseBody</p> */ public class ListProjectResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("count") private Long count; @com.aliyun.core.annotation.NameInMap("projects") private java.util.List<Project> projects; @com.aliyun.core.annotation.NameInMap("total") private Long total; private ListProjectResponseBody(Builder builder) { this.count = builder.count; this.projects = builder.projects; this.total = builder.total; } public static Builder builder() { return new Builder(); } public static ListProjectResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return count */ public Long getCount() { return this.count; } /** * @return projects */ public java.util.List<Project> getProjects() { return this.projects; } /** * @return total */ public Long getTotal() { return this.total; } public static final class Builder { private Long count; private java.util.List<Project> projects; private Long total; private Builder() { } private Builder(ListProjectResponseBody model) { this.count = model.count; this.projects = model.projects; this.total = model.total; } /** * <p>The number of returned projects on the current page.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder count(Long count) { this.count = count; return this; } /** * <p>The projects that meet the query conditions.</p> */ public Builder projects(java.util.List<Project> projects) { this.projects = projects; return this; } /** * <p>The total number of projects that meet the query conditions.</p> * * <strong>example:</strong> * <p>11</p> */ public Builder total(Long total) { this.total = total; return this; } public ListProjectResponseBody build() { return new ListProjectResponseBody(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/ListS3IngestionsRequest.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 ListS3IngestionsRequest} extends {@link RequestModel} * * <p>ListS3IngestionsRequest</p> */ public class ListS3IngestionsRequest 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 String offset; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("size") private String size; private ListS3IngestionsRequest(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 ListS3IngestionsRequest 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 String getOffset() { return this.offset; } /** * @return size */ public String getSize() { return this.size; } public static final class Builder extends Request.Builder<ListS3IngestionsRequest, Builder> { private String project; private String logstore; private String offset; private String size; private Builder() { super(); } private Builder(ListS3IngestionsRequest request) { super(request); this.project = request.project; this.logstore = request.logstore; this.offset = request.offset; this.size = request.size; } /** * project. */ 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(String offset) { this.putQueryParameter("offset", offset); this.offset = offset; return this; } /** * size. */ public Builder size(String size) { this.putQueryParameter("size", size); this.size = size; return this; } @Override public ListS3IngestionsRequest build() { return new ListS3IngestionsRequest(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/ListS3IngestionsResponse.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 ListS3IngestionsResponse} extends {@link TeaModel} * * <p>ListS3IngestionsResponse</p> */ public class ListS3IngestionsResponse 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 ListS3IngestionsResponseBody body; private ListS3IngestionsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListS3IngestionsResponse 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 ListS3IngestionsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListS3IngestionsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListS3IngestionsResponseBody body); @Override ListS3IngestionsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListS3IngestionsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListS3IngestionsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListS3IngestionsResponse 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(ListS3IngestionsResponseBody body) { this.body = body; return this; } @Override public ListS3IngestionsResponse build() { return new ListS3IngestionsResponse(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/ListS3IngestionsResponseBody.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 ListS3IngestionsResponseBody} extends {@link TeaModel} * * <p>ListS3IngestionsResponseBody</p> */ public class ListS3IngestionsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("count") private Integer count; @com.aliyun.core.annotation.NameInMap("results") private java.util.List<S3Ingestion> results; @com.aliyun.core.annotation.NameInMap("total") private Integer total; private ListS3IngestionsResponseBody(Builder builder) { this.count = builder.count; this.results = builder.results; this.total = builder.total; } public static Builder builder() { return new Builder(); } public static ListS3IngestionsResponseBody 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<S3Ingestion> getResults() { return this.results; } /** * @return total */ public Integer getTotal() { return this.total; } public static final class Builder { private Integer count; private java.util.List<S3Ingestion> results; private Integer total; private Builder() { } private Builder(ListS3IngestionsResponseBody model) { this.count = model.count; this.results = model.results; this.total = model.total; } /** * count. */ public Builder count(Integer count) { this.count = count; return this; } /** * results. */ public Builder results(java.util.List<S3Ingestion> results) { this.results = results; return this; } /** * total. */ public Builder total(Integer total) { this.total = total; return this; } public ListS3IngestionsResponseBody build() { return new ListS3IngestionsResponseBody(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/ListSavedSearchRequest.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 ListSavedSearchRequest} extends {@link RequestModel} * * <p>ListSavedSearchRequest</p> */ public class ListSavedSearchRequest 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("offset") private Integer offset; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("size") private Integer size; private ListSavedSearchRequest(Builder builder) { super(builder); this.project = builder.project; this.offset = builder.offset; this.size = builder.size; } public static Builder builder() { return new Builder(); } public static ListSavedSearchRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return project */ public String getProject() { return this.project; } /** * @return offset */ public Integer getOffset() { return this.offset; } /** * @return size */ public Integer getSize() { return this.size; } public static final class Builder extends Request.Builder<ListSavedSearchRequest, Builder> { private String project; private Integer offset; private Integer size; private Builder() { super(); } private Builder(ListSavedSearchRequest request) { super(request); this.project = request.project; 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>aliyun-test-project</p> */ public Builder project(String project) { this.putHostParameter("project", project); this.project = project; return this; } /** * <p>The line from which the query starts. Default value: 0.</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. Maximum value: 500.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder size(Integer size) { this.putQueryParameter("size", size); this.size = size; return this; } @Override public ListSavedSearchRequest build() { return new ListSavedSearchRequest(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/ListSavedSearchResponse.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 ListSavedSearchResponse} extends {@link TeaModel} * * <p>ListSavedSearchResponse</p> */ public class ListSavedSearchResponse 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 ListSavedSearchResponseBody body; private ListSavedSearchResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListSavedSearchResponse 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 ListSavedSearchResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListSavedSearchResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListSavedSearchResponseBody body); @Override ListSavedSearchResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListSavedSearchResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListSavedSearchResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListSavedSearchResponse 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(ListSavedSearchResponseBody body) { this.body = body; return this; } @Override public ListSavedSearchResponse build() { return new ListSavedSearchResponse(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/ListSavedSearchResponseBody.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 ListSavedSearchResponseBody} extends {@link TeaModel} * * <p>ListSavedSearchResponseBody</p> */ public class ListSavedSearchResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("count") private Integer count; @com.aliyun.core.annotation.NameInMap("savedsearchItems") private java.util.List<SavedSearch> savedsearchItems; @com.aliyun.core.annotation.NameInMap("total") private Integer total; private ListSavedSearchResponseBody(Builder builder) { this.count = builder.count; this.savedsearchItems = builder.savedsearchItems; this.total = builder.total; } public static Builder builder() { return new Builder(); } public static ListSavedSearchResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return savedsearchItems */ public java.util.List<SavedSearch> getSavedsearchItems() { return this.savedsearchItems; } /** * @return total */ public Integer getTotal() { return this.total; } public static final class Builder { private Integer count; private java.util.List<SavedSearch> savedsearchItems; private Integer total; private Builder() { } private Builder(ListSavedSearchResponseBody model) { this.count = model.count; this.savedsearchItems = model.savedsearchItems; this.total = model.total; } /** * <p>The number of saved searches returned on the current page.</p> * * <strong>example:</strong> * <p>4</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The saved searches.</p> * * <strong>example:</strong> * <p>[ &quot;test-1&quot;, &quot;test-2&quot; ]</p> */ public Builder savedsearchItems(java.util.List<SavedSearch> savedsearchItems) { this.savedsearchItems = savedsearchItems; return this; } /** * <p>The total number of saved searches that meet the query conditions.</p> * * <strong>example:</strong> * <p>4</p> */ public Builder total(Integer total) { this.total = total; return this; } public ListSavedSearchResponseBody build() { return new ListSavedSearchResponseBody(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/ListScheduledSQLsRequest.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 ListScheduledSQLsRequest} extends {@link RequestModel} * * <p>ListScheduledSQLsRequest</p> */ public class ListScheduledSQLsRequest 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 Long offset; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("size") private Long size; private ListScheduledSQLsRequest(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 ListScheduledSQLsRequest 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 Long getOffset() { return this.offset; } /** * @return size */ public Long getSize() { return this.size; } public static final class Builder extends Request.Builder<ListScheduledSQLsRequest, Builder> { private String project; private String logstore; private Long offset; private Long size; private Builder() { super(); } private Builder(ListScheduledSQLsRequest request) { super(request); this.project = request.project; this.logstore = request.logstore; 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 Logstore.</p> * * <strong>example:</strong> * <p>ali-test-logstore</p> */ public Builder logstore(String logstore) { this.putQueryParameter("logstore", logstore); this.logstore = logstore; return this; } /** * offset. */ public Builder offset(Long offset) { this.putQueryParameter("offset", offset); this.offset = offset; return this; } /** * <p>The number of entries to return. Default value: 10.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder size(Long size) { this.putQueryParameter("size", size); this.size = size; return this; } @Override public ListScheduledSQLsRequest build() { return new ListScheduledSQLsRequest(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/ListScheduledSQLsResponse.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 ListScheduledSQLsResponse} extends {@link TeaModel} * * <p>ListScheduledSQLsResponse</p> */ public class ListScheduledSQLsResponse 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 ListScheduledSQLsResponseBody body; private ListScheduledSQLsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListScheduledSQLsResponse 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 ListScheduledSQLsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListScheduledSQLsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListScheduledSQLsResponseBody body); @Override ListScheduledSQLsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListScheduledSQLsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListScheduledSQLsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListScheduledSQLsResponse 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(ListScheduledSQLsResponseBody body) { this.body = body; return this; } @Override public ListScheduledSQLsResponse build() { return new ListScheduledSQLsResponse(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/ListScheduledSQLsResponseBody.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 ListScheduledSQLsResponseBody} extends {@link TeaModel} * * <p>ListScheduledSQLsResponseBody</p> */ public class ListScheduledSQLsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("count") private Integer count; @com.aliyun.core.annotation.NameInMap("results") private java.util.List<ScheduledSQL> results; @com.aliyun.core.annotation.NameInMap("total") private Integer total; private ListScheduledSQLsResponseBody(Builder builder) { this.count = builder.count; this.results = builder.results; this.total = builder.total; } public static Builder builder() { return new Builder(); } public static ListScheduledSQLsResponseBody 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<ScheduledSQL> getResults() { return this.results; } /** * @return total */ public Integer getTotal() { return this.total; } public static final class Builder { private Integer count; private java.util.List<ScheduledSQL> results; private Integer total; private Builder() { } private Builder(ListScheduledSQLsResponseBody model) { this.count = model.count; this.results = model.results; this.total = model.total; } /** * count. */ public Builder count(Integer count) { this.count = count; return this; } /** * results. */ public Builder results(java.util.List<ScheduledSQL> results) { this.results = results; return this; } /** * total. */ public Builder total(Integer total) { this.total = total; return this; } public ListScheduledSQLsResponseBody build() { return new ListScheduledSQLsResponseBody(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/ListShardsRequest.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 ListShardsRequest} extends {@link RequestModel} * * <p>ListShardsRequest</p> */ public class ListShardsRequest 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 ListShardsRequest(Builder builder) { super(builder); this.project = builder.project; this.logstore = builder.logstore; } public static Builder builder() { return new Builder(); } public static ListShardsRequest 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<ListShardsRequest, Builder> { private String project; private String logstore; private Builder() { super(); } private Builder(ListShardsRequest 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 ListShardsRequest build() { return new ListShardsRequest(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/ListShardsResponse.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 ListShardsResponse} extends {@link TeaModel} * * <p>ListShardsResponse</p> */ public class ListShardsResponse 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<Shard> body; private ListShardsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListShardsResponse 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<Shard> getBody() { return this.body; } public interface Builder extends Response.Builder<ListShardsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(java.util.List<Shard> body); @Override ListShardsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListShardsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private java.util.List<Shard> body; private BuilderImpl() { super(); } private BuilderImpl(ListShardsResponse 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<Shard> body) { this.body = body; return this; } @Override public ListShardsResponse build() { return new ListShardsResponse(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/ListStoreViewsRequest.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 ListStoreViewsRequest} extends {@link RequestModel} * * <p>ListStoreViewsRequest</p> */ public class ListStoreViewsRequest 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("name") private String name; @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; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("storeType") private String storeType; private ListStoreViewsRequest(Builder builder) { super(builder); this.project = builder.project; this.name = builder.name; this.offset = builder.offset; this.size = builder.size; this.storeType = builder.storeType; } public static Builder builder() { return new Builder(); } public static ListStoreViewsRequest 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; } /** * @return offset */ public Integer getOffset() { return this.offset; } /** * @return size */ public Integer getSize() { return this.size; } /** * @return storeType */ public String getStoreType() { return this.storeType; } public static final class Builder extends Request.Builder<ListStoreViewsRequest, Builder> { private String project; private String name; private Integer offset; private Integer size; private String storeType; private Builder() { super(); } private Builder(ListStoreViewsRequest request) { super(request); this.project = request.project; this.name = request.name; this.offset = request.offset; this.size = request.size; this.storeType = request.storeType; } /** * <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 dataset name that is used for fuzzy match.</p> * * <strong>example:</strong> * <p>my_storeview</p> */ public Builder name(String name) { this.putQueryParameter("name", name); this.name = name; return this; } /** * <p>The offset of the datasets to return. Default value: 0.</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 datasets to return. Default value: 100.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder size(Integer size) { this.putQueryParameter("size", size); this.size = size; return this; } /** * <p>The type of the datasets to return. By default, datasets are not filtered by type.</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.putQueryParameter("storeType", storeType); this.storeType = storeType; return this; } @Override public ListStoreViewsRequest build() { return new ListStoreViewsRequest(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/ListStoreViewsResponse.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 ListStoreViewsResponse} extends {@link TeaModel} * * <p>ListStoreViewsResponse</p> */ public class ListStoreViewsResponse 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 ListStoreViewsResponseBody body; private ListStoreViewsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListStoreViewsResponse 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 ListStoreViewsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListStoreViewsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListStoreViewsResponseBody body); @Override ListStoreViewsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListStoreViewsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListStoreViewsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListStoreViewsResponse 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(ListStoreViewsResponseBody body) { this.body = body; return this; } @Override public ListStoreViewsResponse build() { return new ListStoreViewsResponse(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/ListStoreViewsResponseBody.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 ListStoreViewsResponseBody} extends {@link TeaModel} * * <p>ListStoreViewsResponseBody</p> */ public class ListStoreViewsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("count") private Integer count; @com.aliyun.core.annotation.NameInMap("storeviews") private java.util.List<String> storeviews; @com.aliyun.core.annotation.NameInMap("total") private Integer total; private ListStoreViewsResponseBody(Builder builder) { this.count = builder.count; this.storeviews = builder.storeviews; this.total = builder.total; } public static Builder builder() { return new Builder(); } public static ListStoreViewsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return storeviews */ public java.util.List<String> getStoreviews() { return this.storeviews; } /** * @return total */ public Integer getTotal() { return this.total; } public static final class Builder { private Integer count; private java.util.List<String> storeviews; private Integer total; private Builder() { } private Builder(ListStoreViewsResponseBody model) { this.count = model.count; this.storeviews = model.storeviews; this.total = model.total; } /** * <p>The number of returned datasets.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The dataset names.</p> */ public Builder storeviews(java.util.List<String> storeviews) { this.storeviews = storeviews; return this; } /** * <p>The total number of datasets in the project.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder total(Integer total) { this.total = total; return this; } public ListStoreViewsResponseBody build() { return new ListStoreViewsResponseBody(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/ListTagResourcesRequest.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 ListTagResourcesRequest} extends {@link RequestModel} * * <p>ListTagResourcesRequest</p> */ public class ListTagResourcesRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("resourceId") private java.util.List<String> resourceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("resourceType") @com.aliyun.core.annotation.Validation(required = true) private String resourceType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("tags") private java.util.List<Tags> tags; private ListTagResourcesRequest(Builder builder) { super(builder); this.resourceId = builder.resourceId; this.resourceType = builder.resourceType; this.tags = builder.tags; } public static Builder builder() { return new Builder(); } public static ListTagResourcesRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return resourceId */ public java.util.List<String> getResourceId() { return this.resourceId; } /** * @return resourceType */ public String getResourceType() { return this.resourceType; } /** * @return tags */ public java.util.List<Tags> getTags() { return this.tags; } public static final class Builder extends Request.Builder<ListTagResourcesRequest, Builder> { private java.util.List<String> resourceId; private String resourceType; private java.util.List<Tags> tags; private Builder() { super(); } private Builder(ListTagResourcesRequest request) { super(request); this.resourceId = request.resourceId; this.resourceType = request.resourceType; this.tags = request.tags; } /** * <p>The IDs of the resources whose tags you want to query. You must specify at least one of resourceId and tags.</p> */ public Builder resourceId(java.util.List<String> resourceId) { String resourceIdShrink = shrink(resourceId, "resourceId", "json"); this.putQueryParameter("resourceId", resourceIdShrink); this.resourceId = resourceId; return this; } /** * <p>The type of the resource. Valid values:</p> * <ul> * <li>project</li> * <li>logstore</li> * <li>dashboard</li> * <li>machinegroup</li> * <li>logtailconfig</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>project</p> */ public Builder resourceType(String resourceType) { this.putQueryParameter("resourceType", resourceType); this.resourceType = resourceType; return this; } /** * <p>The tags that you want to use to filter resources based on exact match. Each tag is a key-value pair. You must specify at least one of resourceId and tags.</p> * <p>You can enter up to 20 tags.</p> */ public Builder tags(java.util.List<Tags> tags) { String tagsShrink = shrink(tags, "tags", "json"); this.putQueryParameter("tags", tagsShrink); this.tags = tags; return this; } @Override public ListTagResourcesRequest build() { return new ListTagResourcesRequest(this); } } /** * * {@link ListTagResourcesRequest} extends {@link TeaModel} * * <p>ListTagResourcesRequest</p> */ public static class Tags extends TeaModel { @com.aliyun.core.annotation.NameInMap("key") @com.aliyun.core.annotation.Validation(required = true) private String key; @com.aliyun.core.annotation.NameInMap("value") private String value; private Tags(Builder builder) { this.key = builder.key; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static Tags create() { return builder().build(); } /** * @return key */ public String getKey() { return this.key; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder { private String key; private String value; private Builder() { } private Builder(Tags model) { this.key = model.key; this.value = model.value; } /** * <p>The key of the tag that you want to use to filter resources. For example, if you set the key to <code>&quot;test-key&quot;</code>, only resources to which the key is added are returned.``</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>key1</p> */ public Builder key(String key) { this.key = key; return this; } /** * <p>The value of the tag that you want to use to filter resources. If you set the value to null, resources are filtered based only on the key of the tag.</p> * * <strong>example:</strong> * <p>value1</p> */ public Builder value(String value) { this.value = value; return this; } public Tags build() { return new Tags(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/ListTagResourcesResponse.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 ListTagResourcesResponse} extends {@link TeaModel} * * <p>ListTagResourcesResponse</p> */ public class ListTagResourcesResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private ListTagResourcesResponseBody body; private ListTagResourcesResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListTagResourcesResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public ListTagResourcesResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListTagResourcesResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListTagResourcesResponseBody body); @Override ListTagResourcesResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListTagResourcesResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListTagResourcesResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListTagResourcesResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(ListTagResourcesResponseBody body) { this.body = body; return this; } @Override public ListTagResourcesResponse build() { return new ListTagResourcesResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230
java-sources/com/aliyun/alibabacloud-sls20201230/4.0.13/com/aliyun/sdk/service/sls20201230/models/ListTagResourcesResponseBody.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 ListTagResourcesResponseBody} extends {@link TeaModel} * * <p>ListTagResourcesResponseBody</p> */ public class ListTagResourcesResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("nextToken") private String nextToken; @com.aliyun.core.annotation.NameInMap("tagResources") private java.util.List<TagResources> tagResources; private ListTagResourcesResponseBody(Builder builder) { this.nextToken = builder.nextToken; this.tagResources = builder.tagResources; } public static Builder builder() { return new Builder(); } public static ListTagResourcesResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return nextToken */ public String getNextToken() { return this.nextToken; } /** * @return tagResources */ public java.util.List<TagResources> getTagResources() { return this.tagResources; } public static final class Builder { private String nextToken; private java.util.List<TagResources> tagResources; private Builder() { } private Builder(ListTagResourcesResponseBody model) { this.nextToken = model.nextToken; this.tagResources = model.tagResources; } /** * <p>The pagination token that is used in the next request to retrieve a new page of results.</p> * * <strong>example:</strong> * <p>caeba0bbb2be03f84eb48b699f0a4883</p> */ public Builder nextToken(String nextToken) { this.nextToken = nextToken; return this; } /** * <p>The returned tags.</p> */ public Builder tagResources(java.util.List<TagResources> tagResources) { this.tagResources = tagResources; return this; } public ListTagResourcesResponseBody build() { return new ListTagResourcesResponseBody(this); } } /** * * {@link ListTagResourcesResponseBody} extends {@link TeaModel} * * <p>ListTagResourcesResponseBody</p> */ public static class TagResources extends TeaModel { @com.aliyun.core.annotation.NameInMap("resourceId") private String resourceId; @com.aliyun.core.annotation.NameInMap("resourceType") private String resourceType; @com.aliyun.core.annotation.NameInMap("tagKey") private String tagKey; @com.aliyun.core.annotation.NameInMap("tagValue") private String tagValue; private TagResources(Builder builder) { this.resourceId = builder.resourceId; this.resourceType = builder.resourceType; this.tagKey = builder.tagKey; this.tagValue = builder.tagValue; } public static Builder builder() { return new Builder(); } public static TagResources create() { return builder().build(); } /** * @return resourceId */ public String getResourceId() { return this.resourceId; } /** * @return resourceType */ public String getResourceType() { return this.resourceType; } /** * @return tagKey */ public String getTagKey() { return this.tagKey; } /** * @return tagValue */ public String getTagValue() { return this.tagValue; } public static final class Builder { private String resourceId; private String resourceType; private String tagKey; private String tagValue; private Builder() { } private Builder(TagResources model) { this.resourceId = model.resourceId; this.resourceType = model.resourceType; this.tagKey = model.tagKey; this.tagValue = model.tagValue; } /** * <p>The ID of the resource.</p> * * <strong>example:</strong> * <p>ali-test-project</p> */ public Builder resourceId(String resourceId) { this.resourceId = resourceId; return this; } /** * <p>The type of the resource.</p> * * <strong>example:</strong> * <p>project</p> */ public Builder resourceType(String resourceType) { this.resourceType = resourceType; return this; } /** * <p>The key of the tag.</p> * * <strong>example:</strong> * <p>key1</p> */ public Builder tagKey(String tagKey) { this.tagKey = tagKey; return this; } /** * <p>The value of the tag.</p> * * <strong>example:</strong> * <p>value1</p> */ public Builder tagValue(String tagValue) { this.tagValue = tagValue; return this; } public TagResources build() { return new TagResources(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/LogContent.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 LogContent} extends {@link TeaModel} * * <p>LogContent</p> */ public class LogContent extends TeaModel { @com.aliyun.core.annotation.NameInMap("Key") @com.aliyun.core.annotation.Validation(required = true) private String key; @com.aliyun.core.annotation.NameInMap("Value") @com.aliyun.core.annotation.Validation(required = true) private String value; private LogContent(Builder builder) { this.key = builder.key; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static LogContent create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return key */ public String getKey() { return this.key; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder { private String key; private String value; private Builder() { } private Builder(LogContent model) { this.key = model.key; this.value = model.value; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>key-test</p> */ public Builder key(String key) { this.key = key; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>value-test</p> */ public Builder value(String value) { this.value = value; return this; } public LogContent build() { return new LogContent(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/LogGroup.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 LogGroup} extends {@link TeaModel} * * <p>LogGroup</p> */ public class LogGroup extends TeaModel { @com.aliyun.core.annotation.NameInMap("LogItems") @com.aliyun.core.annotation.Validation(required = true) private java.util.List<LogItem> logItems; @com.aliyun.core.annotation.NameInMap("LogTags") private java.util.List<LogTag> logTags; @com.aliyun.core.annotation.NameInMap("Source") private String source; @com.aliyun.core.annotation.NameInMap("Topic") private String topic; private LogGroup(Builder builder) { this.logItems = builder.logItems; this.logTags = builder.logTags; this.source = builder.source; this.topic = builder.topic; } public static Builder builder() { return new Builder(); } public static LogGroup create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return logItems */ public java.util.List<LogItem> getLogItems() { return this.logItems; } /** * @return logTags */ public java.util.List<LogTag> getLogTags() { return this.logTags; } /** * @return source */ public String getSource() { return this.source; } /** * @return topic */ public String getTopic() { return this.topic; } public static final class Builder { private java.util.List<LogItem> logItems; private java.util.List<LogTag> logTags; private String source; private String topic; private Builder() { } private Builder(LogGroup model) { this.logItems = model.logItems; this.logTags = model.logTags; this.source = model.source; this.topic = model.topic; } /** * <p>This parameter is required.</p> */ public Builder logItems(java.util.List<LogItem> logItems) { this.logItems = logItems; return this; } /** * LogTags. */ public Builder logTags(java.util.List<LogTag> logTags) { this.logTags = logTags; return this; } /** * Source. */ public Builder source(String source) { this.source = source; return this; } /** * Topic. */ public Builder topic(String topic) { this.topic = topic; return this; } public LogGroup build() { return new LogGroup(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/LogGroupList.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 LogGroupList} extends {@link TeaModel} * * <p>LogGroupList</p> */ public class LogGroupList extends TeaModel { @com.aliyun.core.annotation.NameInMap("logGroupList") @com.aliyun.core.annotation.Validation(required = true) private java.util.List<LogGroup> logGroupList; private LogGroupList(Builder builder) { this.logGroupList = builder.logGroupList; } public static Builder builder() { return new Builder(); } public static LogGroupList create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return logGroupList */ public java.util.List<LogGroup> getLogGroupList() { return this.logGroupList; } public static final class Builder { private java.util.List<LogGroup> logGroupList; private Builder() { } private Builder(LogGroupList model) { this.logGroupList = model.logGroupList; } /** * <p>This parameter is required.</p> */ public Builder logGroupList(java.util.List<LogGroup> logGroupList) { this.logGroupList = logGroupList; return this; } public LogGroupList build() { return new LogGroupList(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/LogItem.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 LogItem} extends {@link TeaModel} * * <p>LogItem</p> */ public class LogItem extends TeaModel { @com.aliyun.core.annotation.NameInMap("Contents") @com.aliyun.core.annotation.Validation(required = true) private java.util.List<LogContent> contents; @com.aliyun.core.annotation.NameInMap("Time") @com.aliyun.core.annotation.Validation(required = true) private Integer time; private LogItem(Builder builder) { this.contents = builder.contents; this.time = builder.time; } public static Builder builder() { return new Builder(); } public static LogItem create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return contents */ public java.util.List<LogContent> getContents() { return this.contents; } /** * @return time */ public Integer getTime() { return this.time; } public static final class Builder { private java.util.List<LogContent> contents; private Integer time; private Builder() { } private Builder(LogItem model) { this.contents = model.contents; this.time = model.time; } /** * <p>This parameter is required.</p> */ public Builder contents(java.util.List<LogContent> contents) { this.contents = contents; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1690254376</p> */ public Builder time(Integer time) { this.time = time; return this; } public LogItem build() { return new LogItem(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/LogTag.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 LogTag} extends {@link TeaModel} * * <p>LogTag</p> */ public class LogTag extends TeaModel { @com.aliyun.core.annotation.NameInMap("Key") @com.aliyun.core.annotation.Validation(required = true) private String key; @com.aliyun.core.annotation.NameInMap("Value") @com.aliyun.core.annotation.Validation(required = true) private String value; private LogTag(Builder builder) { this.key = builder.key; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static LogTag create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return key */ public String getKey() { return this.key; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder { private String key; private String value; private Builder() { } private Builder(LogTag model) { this.key = model.key; this.value = model.value; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>key-test</p> */ public Builder key(String key) { this.key = key; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>value-test</p> */ public Builder value(String value) { this.value = value; return this; } public LogTag build() { return new LogTag(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/Logging.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 Logging} extends {@link TeaModel} * * <p>Logging</p> */ public class Logging extends TeaModel { @com.aliyun.core.annotation.NameInMap("loggingDetails") @com.aliyun.core.annotation.Validation(required = true) private java.util.List<LoggingDetails> loggingDetails; @com.aliyun.core.annotation.NameInMap("loggingProject") @com.aliyun.core.annotation.Validation(required = true) private String loggingProject; private Logging(Builder builder) { this.loggingDetails = builder.loggingDetails; this.loggingProject = builder.loggingProject; } public static Builder builder() { return new Builder(); } public static Logging create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return loggingDetails */ public java.util.List<LoggingDetails> getLoggingDetails() { return this.loggingDetails; } /** * @return loggingProject */ public String getLoggingProject() { return this.loggingProject; } public static final class Builder { private java.util.List<LoggingDetails> loggingDetails; private String loggingProject; private Builder() { } private Builder(Logging model) { this.loggingDetails = model.loggingDetails; this.loggingProject = model.loggingProject; } /** * <p>This parameter is required.</p> */ public Builder loggingDetails(java.util.List<LoggingDetails> loggingDetails) { this.loggingDetails = loggingDetails; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>my-project</p> */ public Builder loggingProject(String loggingProject) { this.loggingProject = loggingProject; return this; } public Logging build() { return new Logging(this); } } /** * * {@link Logging} extends {@link TeaModel} * * <p>Logging</p> */ public static class LoggingDetails extends TeaModel { @com.aliyun.core.annotation.NameInMap("logstore") @com.aliyun.core.annotation.Validation(required = true) private String logstore; @com.aliyun.core.annotation.NameInMap("type") @com.aliyun.core.annotation.Validation(required = true) private String type; private LoggingDetails(Builder builder) { this.logstore = builder.logstore; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static LoggingDetails create() { return builder().build(); } /** * @return logstore */ public String getLogstore() { return this.logstore; } /** * @return type */ public String getType() { return this.type; } public static final class Builder { private String logstore; private String type; private Builder() { } private Builder(LoggingDetails model) { this.logstore = model.logstore; this.type = model.type; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>my-logstore</p> */ public Builder logstore(String logstore) { this.logstore = logstore; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>consumergroup_log</p> */ public Builder type(String type) { this.type = type; return this; } public LoggingDetails build() { return new LoggingDetails(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/Logstore.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 Logstore} extends {@link TeaModel} * * <p>Logstore</p> */ public class Logstore extends TeaModel { @com.aliyun.core.annotation.NameInMap("appendMeta") private Boolean appendMeta; @com.aliyun.core.annotation.NameInMap("autoSplit") private Boolean autoSplit; @com.aliyun.core.annotation.NameInMap("createTime") private Integer createTime; @com.aliyun.core.annotation.NameInMap("enable_tracking") private Boolean enableTracking; @com.aliyun.core.annotation.NameInMap("encrypt_conf") private EncryptConf encryptConf; @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 Integer lastModifyTime; @com.aliyun.core.annotation.NameInMap("logstoreName") @com.aliyun.core.annotation.Validation(required = true) private String logstoreName; @com.aliyun.core.annotation.NameInMap("maxSplitShard") private Integer maxSplitShard; @com.aliyun.core.annotation.NameInMap("mode") private String mode; @com.aliyun.core.annotation.NameInMap("processorId") private String processorId; @com.aliyun.core.annotation.NameInMap("productType") private String productType; @com.aliyun.core.annotation.NameInMap("shardCount") @com.aliyun.core.annotation.Validation(required = true) private Integer shardCount; @com.aliyun.core.annotation.NameInMap("telemetryType") private String telemetryType; @com.aliyun.core.annotation.NameInMap("ttl") @com.aliyun.core.annotation.Validation(required = true) private Integer ttl; private Logstore(Builder builder) { this.appendMeta = builder.appendMeta; this.autoSplit = builder.autoSplit; this.createTime = builder.createTime; this.enableTracking = builder.enableTracking; this.encryptConf = builder.encryptConf; this.hotTtl = builder.hotTtl; this.infrequentAccessTTL = builder.infrequentAccessTTL; this.lastModifyTime = builder.lastModifyTime; this.logstoreName = builder.logstoreName; this.maxSplitShard = builder.maxSplitShard; this.mode = builder.mode; this.processorId = builder.processorId; this.productType = builder.productType; this.shardCount = builder.shardCount; this.telemetryType = builder.telemetryType; this.ttl = builder.ttl; } public static Builder builder() { return new Builder(); } public static Logstore create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return appendMeta */ public Boolean getAppendMeta() { return this.appendMeta; } /** * @return autoSplit */ public Boolean getAutoSplit() { return this.autoSplit; } /** * @return createTime */ public Integer getCreateTime() { return this.createTime; } /** * @return enableTracking */ public Boolean getEnableTracking() { return this.enableTracking; } /** * @return encryptConf */ public EncryptConf getEncryptConf() { return this.encryptConf; } /** * @return hotTtl */ public Integer getHotTtl() { return this.hotTtl; } /** * @return infrequentAccessTTL */ public Integer getInfrequentAccessTTL() { return this.infrequentAccessTTL; } /** * @return lastModifyTime */ public Integer getLastModifyTime() { return this.lastModifyTime; } /** * @return logstoreName */ public String getLogstoreName() { return this.logstoreName; } /** * @return maxSplitShard */ public Integer getMaxSplitShard() { return this.maxSplitShard; } /** * @return mode */ public String getMode() { return this.mode; } /** * @return processorId */ public String getProcessorId() { return this.processorId; } /** * @return productType */ public String getProductType() { return this.productType; } /** * @return shardCount */ public Integer getShardCount() { return this.shardCount; } /** * @return telemetryType */ public String getTelemetryType() { return this.telemetryType; } /** * @return ttl */ public Integer getTtl() { return this.ttl; } public static final class Builder { private Boolean appendMeta; private Boolean autoSplit; private Integer createTime; private Boolean enableTracking; private EncryptConf encryptConf; private Integer hotTtl; private Integer infrequentAccessTTL; private Integer lastModifyTime; private String logstoreName; private Integer maxSplitShard; private String mode; private String processorId; private String productType; private Integer shardCount; private String telemetryType; private Integer ttl; private Builder() { } private Builder(Logstore model) { this.appendMeta = model.appendMeta; this.autoSplit = model.autoSplit; this.createTime = model.createTime; this.enableTracking = model.enableTracking; this.encryptConf = model.encryptConf; this.hotTtl = model.hotTtl; this.infrequentAccessTTL = model.infrequentAccessTTL; this.lastModifyTime = model.lastModifyTime; this.logstoreName = model.logstoreName; this.maxSplitShard = model.maxSplitShard; this.mode = model.mode; this.processorId = model.processorId; this.productType = model.productType; this.shardCount = model.shardCount; this.telemetryType = model.telemetryType; this.ttl = model.ttl; } /** * appendMeta. */ public Builder appendMeta(Boolean appendMeta) { this.appendMeta = appendMeta; return this; } /** * autoSplit. */ public Builder autoSplit(Boolean autoSplit) { this.autoSplit = autoSplit; return this; } /** * createTime. */ public Builder createTime(Integer createTime) { this.createTime = createTime; return this; } /** * enable_tracking. */ public Builder enableTracking(Boolean enableTracking) { this.enableTracking = enableTracking; return this; } /** * encrypt_conf. */ public Builder encryptConf(EncryptConf encryptConf) { this.encryptConf = encryptConf; 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; } /** * lastModifyTime. */ public Builder lastModifyTime(Integer lastModifyTime) { this.lastModifyTime = lastModifyTime; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>my-logstore</p> */ public Builder logstoreName(String logstoreName) { this.logstoreName = logstoreName; return this; } /** * maxSplitShard. */ public Builder maxSplitShard(Integer maxSplitShard) { this.maxSplitShard = maxSplitShard; return this; } /** * mode. */ public Builder mode(String mode) { this.mode = mode; return this; } /** * processorId. */ public Builder processorId(String processorId) { this.processorId = processorId; return this; } /** * productType. */ public Builder productType(String productType) { this.productType = productType; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder shardCount(Integer shardCount) { this.shardCount = shardCount; return this; } /** * telemetryType. */ public Builder telemetryType(String telemetryType) { this.telemetryType = telemetryType; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>30</p> */ public Builder ttl(Integer ttl) { this.ttl = ttl; return this; } public Logstore build() { return new Logstore(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/LogtailConfig.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 LogtailConfig} extends {@link TeaModel} * * <p>LogtailConfig</p> */ public class LogtailConfig extends TeaModel { @com.aliyun.core.annotation.NameInMap("configName") @com.aliyun.core.annotation.Validation(required = true) private String configName; @com.aliyun.core.annotation.NameInMap("createTime") private Long createTime; @com.aliyun.core.annotation.NameInMap("inputDetail") @com.aliyun.core.annotation.Validation(required = true) private java.util.Map<String, ?> inputDetail; @com.aliyun.core.annotation.NameInMap("inputType") @com.aliyun.core.annotation.Validation(required = true) private String inputType; @com.aliyun.core.annotation.NameInMap("lastModifyTime") private Long lastModifyTime; @com.aliyun.core.annotation.NameInMap("logSample") private String logSample; @com.aliyun.core.annotation.NameInMap("outputDetail") @com.aliyun.core.annotation.Validation(required = true) private OutputDetail outputDetail; @com.aliyun.core.annotation.NameInMap("outputType") @com.aliyun.core.annotation.Validation(required = true) private String outputType; private LogtailConfig(Builder builder) { this.configName = builder.configName; this.createTime = builder.createTime; this.inputDetail = builder.inputDetail; this.inputType = builder.inputType; this.lastModifyTime = builder.lastModifyTime; this.logSample = builder.logSample; this.outputDetail = builder.outputDetail; this.outputType = builder.outputType; } public static Builder builder() { return new Builder(); } public static LogtailConfig create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return configName */ public String getConfigName() { return this.configName; } /** * @return createTime */ public Long getCreateTime() { return this.createTime; } /** * @return inputDetail */ public java.util.Map<String, ?> getInputDetail() { return this.inputDetail; } /** * @return inputType */ public String getInputType() { return this.inputType; } /** * @return lastModifyTime */ public Long getLastModifyTime() { return this.lastModifyTime; } /** * @return logSample */ public String getLogSample() { return this.logSample; } /** * @return outputDetail */ public OutputDetail getOutputDetail() { return this.outputDetail; } /** * @return outputType */ public String getOutputType() { return this.outputType; } public static final class Builder { private String configName; private Long createTime; private java.util.Map<String, ?> inputDetail; private String inputType; private Long lastModifyTime; private String logSample; private OutputDetail outputDetail; private String outputType; private Builder() { } private Builder(LogtailConfig model) { this.configName = model.configName; this.createTime = model.createTime; this.inputDetail = model.inputDetail; this.inputType = model.inputType; this.lastModifyTime = model.lastModifyTime; this.logSample = model.logSample; this.outputDetail = model.outputDetail; this.outputType = model.outputType; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>test-config</p> */ public Builder configName(String configName) { this.configName = configName; return this; } /** * createTime. */ public Builder createTime(Long createTime) { this.createTime = createTime; return this; } /** * <p>This parameter is required.</p> */ public Builder inputDetail(java.util.Map<String, ?> inputDetail) { this.inputDetail = inputDetail; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>file</p> */ public Builder inputType(String inputType) { this.inputType = inputType; return this; } /** * lastModifyTime. */ public Builder lastModifyTime(Long lastModifyTime) { this.lastModifyTime = lastModifyTime; return this; } /** * logSample. */ public Builder logSample(String logSample) { this.logSample = logSample; return this; } /** * <p>This parameter is required.</p> */ public Builder outputDetail(OutputDetail outputDetail) { this.outputDetail = outputDetail; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>LogService</p> */ public Builder outputType(String outputType) { this.outputType = outputType; return this; } public LogtailConfig build() { return new LogtailConfig(this); } } /** * * {@link LogtailConfig} extends {@link TeaModel} * * <p>LogtailConfig</p> */ public static class OutputDetail extends TeaModel { @com.aliyun.core.annotation.NameInMap("endpoint") @com.aliyun.core.annotation.Validation(required = true) private String endpoint; @com.aliyun.core.annotation.NameInMap("logstoreName") @com.aliyun.core.annotation.Validation(required = true) private String logstoreName; @com.aliyun.core.annotation.NameInMap("region") private String region; @com.aliyun.core.annotation.NameInMap("telemetryType") private String telemetryType; private OutputDetail(Builder builder) { this.endpoint = builder.endpoint; this.logstoreName = builder.logstoreName; this.region = builder.region; this.telemetryType = builder.telemetryType; } public static Builder builder() { return new Builder(); } public static OutputDetail create() { return builder().build(); } /** * @return endpoint */ public String getEndpoint() { return this.endpoint; } /** * @return logstoreName */ public String getLogstoreName() { return this.logstoreName; } /** * @return region */ public String getRegion() { return this.region; } /** * @return telemetryType */ public String getTelemetryType() { return this.telemetryType; } public static final class Builder { private String endpoint; private String logstoreName; private String region; private String telemetryType; private Builder() { } private Builder(OutputDetail model) { this.endpoint = model.endpoint; this.logstoreName = model.logstoreName; this.region = model.region; this.telemetryType = model.telemetryType; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hangzhou-intranet.log.aliyuncs.com</p> */ public Builder endpoint(String endpoint) { this.endpoint = endpoint; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>test-logstore</p> */ public Builder logstoreName(String logstoreName) { this.logstoreName = logstoreName; return this; } /** * region. */ public Builder region(String region) { this.region = region; return this; } /** * telemetryType. */ public Builder telemetryType(String telemetryType) { this.telemetryType = telemetryType; return this; } public OutputDetail build() { return new OutputDetail(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/LogtailPipelineConfig.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 LogtailPipelineConfig} extends {@link TeaModel} * * <p>LogtailPipelineConfig</p> */ public class LogtailPipelineConfig extends TeaModel { @com.aliyun.core.annotation.NameInMap("aggregators") private java.util.List<java.util.Map<String, ?>> aggregators; @com.aliyun.core.annotation.NameInMap("configName") @com.aliyun.core.annotation.Validation(required = true) private String configName; @com.aliyun.core.annotation.NameInMap("createTime") private Long createTime; @com.aliyun.core.annotation.NameInMap("flushers") @com.aliyun.core.annotation.Validation(required = true) private java.util.List<java.util.Map<String, ?>> flushers; @com.aliyun.core.annotation.NameInMap("global") private java.util.Map<String, ?> global; @com.aliyun.core.annotation.NameInMap("inputs") @com.aliyun.core.annotation.Validation(required = true) private java.util.List<java.util.Map<String, ?>> inputs; @com.aliyun.core.annotation.NameInMap("lastModifyTime") private Long lastModifyTime; @com.aliyun.core.annotation.NameInMap("logSample") private String logSample; @com.aliyun.core.annotation.NameInMap("processors") private java.util.List<java.util.Map<String, ?>> processors; @com.aliyun.core.annotation.NameInMap("task") private java.util.Map<String, ?> task; private LogtailPipelineConfig(Builder builder) { this.aggregators = builder.aggregators; this.configName = builder.configName; this.createTime = builder.createTime; this.flushers = builder.flushers; this.global = builder.global; this.inputs = builder.inputs; this.lastModifyTime = builder.lastModifyTime; this.logSample = builder.logSample; this.processors = builder.processors; this.task = builder.task; } public static Builder builder() { return new Builder(); } public static LogtailPipelineConfig create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return aggregators */ public java.util.List<java.util.Map<String, ?>> getAggregators() { return this.aggregators; } /** * @return configName */ public String getConfigName() { return this.configName; } /** * @return createTime */ public Long getCreateTime() { return this.createTime; } /** * @return flushers */ public java.util.List<java.util.Map<String, ?>> getFlushers() { return this.flushers; } /** * @return global */ public java.util.Map<String, ?> getGlobal() { return this.global; } /** * @return inputs */ public java.util.List<java.util.Map<String, ?>> getInputs() { return this.inputs; } /** * @return lastModifyTime */ public Long getLastModifyTime() { return this.lastModifyTime; } /** * @return logSample */ public String getLogSample() { return this.logSample; } /** * @return processors */ public java.util.List<java.util.Map<String, ?>> getProcessors() { return this.processors; } /** * @return task */ public java.util.Map<String, ?> getTask() { return this.task; } public static final class Builder { private java.util.List<java.util.Map<String, ?>> aggregators; private String configName; private Long createTime; private java.util.List<java.util.Map<String, ?>> flushers; private java.util.Map<String, ?> global; private java.util.List<java.util.Map<String, ?>> inputs; private Long lastModifyTime; private String logSample; private java.util.List<java.util.Map<String, ?>> processors; private java.util.Map<String, ?> task; private Builder() { } private Builder(LogtailPipelineConfig model) { this.aggregators = model.aggregators; this.configName = model.configName; this.createTime = model.createTime; this.flushers = model.flushers; this.global = model.global; this.inputs = model.inputs; this.lastModifyTime = model.lastModifyTime; this.logSample = model.logSample; this.processors = model.processors; this.task = model.task; } /** * aggregators. */ public Builder aggregators(java.util.List<java.util.Map<String, ?>> aggregators) { this.aggregators = aggregators; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>test-config</p> */ public Builder configName(String configName) { this.configName = configName; return this; } /** * createTime. */ public Builder createTime(Long createTime) { this.createTime = createTime; return this; } /** * <p>This parameter is required.</p> */ public Builder flushers(java.util.List<java.util.Map<String, ?>> flushers) { this.flushers = flushers; return this; } /** * global. */ public Builder global(java.util.Map<String, ?> global) { this.global = global; return this; } /** * <p>This parameter is required.</p> */ public Builder inputs(java.util.List<java.util.Map<String, ?>> inputs) { this.inputs = inputs; return this; } /** * lastModifyTime. */ public Builder lastModifyTime(Long lastModifyTime) { this.lastModifyTime = lastModifyTime; return this; } /** * logSample. */ public Builder logSample(String logSample) { this.logSample = logSample; return this; } /** * processors. */ public Builder processors(java.util.List<java.util.Map<String, ?>> processors) { this.processors = processors; return this; } /** * task. */ public Builder task(java.util.Map<String, ?> task) { this.task = task; return this; } public LogtailPipelineConfig build() { return new LogtailPipelineConfig(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/MLDataParam.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 MLDataParam} extends {@link TeaModel} * * <p>MLDataParam</p> */ public class MLDataParam extends TeaModel { @com.aliyun.core.annotation.NameInMap("annotationdataId") private String annotationdataId; @com.aliyun.core.annotation.NameInMap("annotations") private java.util.Map<String, MLDataParamAnnotationsValue> annotations; @com.aliyun.core.annotation.NameInMap("config") private java.util.Map<String, String> config; @com.aliyun.core.annotation.NameInMap("createTime") private Long createTime; @com.aliyun.core.annotation.NameInMap("dataHash") private String dataHash; @com.aliyun.core.annotation.NameInMap("datasetId") private String datasetId; @com.aliyun.core.annotation.NameInMap("lastModifyTime") private Long lastModifyTime; @com.aliyun.core.annotation.NameInMap("predictions") private java.util.Map<String, MLDataParamPredictionsValue> predictions; @com.aliyun.core.annotation.NameInMap("value") private String value; @com.aliyun.core.annotation.NameInMap("valueType") private String valueType; private MLDataParam(Builder builder) { this.annotationdataId = builder.annotationdataId; this.annotations = builder.annotations; this.config = builder.config; this.createTime = builder.createTime; this.dataHash = builder.dataHash; this.datasetId = builder.datasetId; this.lastModifyTime = builder.lastModifyTime; this.predictions = builder.predictions; this.value = builder.value; this.valueType = builder.valueType; } public static Builder builder() { return new Builder(); } public static MLDataParam create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return annotationdataId */ public String getAnnotationdataId() { return this.annotationdataId; } /** * @return annotations */ public java.util.Map<String, MLDataParamAnnotationsValue> getAnnotations() { return this.annotations; } /** * @return config */ public java.util.Map<String, String> getConfig() { return this.config; } /** * @return createTime */ public Long getCreateTime() { return this.createTime; } /** * @return dataHash */ public String getDataHash() { return this.dataHash; } /** * @return datasetId */ public String getDatasetId() { return this.datasetId; } /** * @return lastModifyTime */ public Long getLastModifyTime() { return this.lastModifyTime; } /** * @return predictions */ public java.util.Map<String, MLDataParamPredictionsValue> getPredictions() { return this.predictions; } /** * @return value */ public String getValue() { return this.value; } /** * @return valueType */ public String getValueType() { return this.valueType; } public static final class Builder { private String annotationdataId; private java.util.Map<String, MLDataParamAnnotationsValue> annotations; private java.util.Map<String, String> config; private Long createTime; private String dataHash; private String datasetId; private Long lastModifyTime; private java.util.Map<String, MLDataParamPredictionsValue> predictions; private String value; private String valueType; private Builder() { } private Builder(MLDataParam model) { this.annotationdataId = model.annotationdataId; this.annotations = model.annotations; this.config = model.config; this.createTime = model.createTime; this.dataHash = model.dataHash; this.datasetId = model.datasetId; this.lastModifyTime = model.lastModifyTime; this.predictions = model.predictions; this.value = model.value; this.valueType = model.valueType; } /** * annotationdataId. */ public Builder annotationdataId(String annotationdataId) { this.annotationdataId = annotationdataId; return this; } /** * annotations. */ public Builder annotations(java.util.Map<String, MLDataParamAnnotationsValue> annotations) { this.annotations = annotations; return this; } /** * config. */ public Builder config(java.util.Map<String, String> config) { this.config = config; return this; } /** * createTime. */ public Builder createTime(Long createTime) { this.createTime = createTime; return this; } /** * dataHash. */ public Builder dataHash(String dataHash) { this.dataHash = dataHash; return this; } /** * datasetId. */ public Builder datasetId(String datasetId) { this.datasetId = datasetId; return this; } /** * lastModifyTime. */ public Builder lastModifyTime(Long lastModifyTime) { this.lastModifyTime = lastModifyTime; return this; } /** * predictions. */ public Builder predictions(java.util.Map<String, MLDataParamPredictionsValue> predictions) { this.predictions = predictions; return this; } /** * value. */ public Builder value(String value) { this.value = value; return this; } /** * valueType. */ public Builder valueType(String valueType) { this.valueType = valueType; return this; } public MLDataParam build() { return new MLDataParam(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/MLDataParamAnnotationsValue.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 MLDataParamAnnotationsValue} extends {@link TeaModel} * * <p>MLDataParamAnnotationsValue</p> */ public class MLDataParamAnnotationsValue extends TeaModel { @com.aliyun.core.annotation.NameInMap("annotatedBy") private String annotatedBy; @com.aliyun.core.annotation.NameInMap("updateTime") private Long updateTime; @com.aliyun.core.annotation.NameInMap("results") private java.util.List<java.util.Map<String, String>> results; private MLDataParamAnnotationsValue(Builder builder) { this.annotatedBy = builder.annotatedBy; this.updateTime = builder.updateTime; this.results = builder.results; } public static Builder builder() { return new Builder(); } public static MLDataParamAnnotationsValue create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return annotatedBy */ public String getAnnotatedBy() { return this.annotatedBy; } /** * @return updateTime */ public Long getUpdateTime() { return this.updateTime; } /** * @return results */ public java.util.List<java.util.Map<String, String>> getResults() { return this.results; } public static final class Builder { private String annotatedBy; private Long updateTime; private java.util.List<java.util.Map<String, String>> results; private Builder() { } private Builder(MLDataParamAnnotationsValue model) { this.annotatedBy = model.annotatedBy; this.updateTime = model.updateTime; this.results = model.results; } /** * annotatedBy. */ public Builder annotatedBy(String annotatedBy) { this.annotatedBy = annotatedBy; return this; } /** * updateTime. */ public Builder updateTime(Long updateTime) { this.updateTime = updateTime; return this; } /** * results. */ public Builder results(java.util.List<java.util.Map<String, String>> results) { this.results = results; return this; } public MLDataParamAnnotationsValue build() { return new MLDataParamAnnotationsValue(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/MLDataParamPredictionsValue.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 MLDataParamPredictionsValue} extends {@link TeaModel} * * <p>MLDataParamPredictionsValue</p> */ public class MLDataParamPredictionsValue extends TeaModel { @com.aliyun.core.annotation.NameInMap("annotatedBy") private String annotatedBy; @com.aliyun.core.annotation.NameInMap("updateTime") private Long updateTime; @com.aliyun.core.annotation.NameInMap("results") private java.util.List<java.util.Map<String, String>> results; private MLDataParamPredictionsValue(Builder builder) { this.annotatedBy = builder.annotatedBy; this.updateTime = builder.updateTime; this.results = builder.results; } public static Builder builder() { return new Builder(); } public static MLDataParamPredictionsValue create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return annotatedBy */ public String getAnnotatedBy() { return this.annotatedBy; } /** * @return updateTime */ public Long getUpdateTime() { return this.updateTime; } /** * @return results */ public java.util.List<java.util.Map<String, String>> getResults() { return this.results; } public static final class Builder { private String annotatedBy; private Long updateTime; private java.util.List<java.util.Map<String, String>> results; private Builder() { } private Builder(MLDataParamPredictionsValue model) { this.annotatedBy = model.annotatedBy; this.updateTime = model.updateTime; this.results = model.results; } /** * annotatedBy. */ public Builder annotatedBy(String annotatedBy) { this.annotatedBy = annotatedBy; return this; } /** * updateTime. */ public Builder updateTime(Long updateTime) { this.updateTime = updateTime; return this; } /** * results. */ public Builder results(java.util.List<java.util.Map<String, String>> results) { this.results = results; return this; } public MLDataParamPredictionsValue build() { return new MLDataParamPredictionsValue(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/MLDataSetParam.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 MLDataSetParam} extends {@link TeaModel} * * <p>MLDataSetParam</p> */ public class MLDataSetParam extends TeaModel { @com.aliyun.core.annotation.NameInMap("createBy") private String createBy; @com.aliyun.core.annotation.NameInMap("createTime") private Long createTime; @com.aliyun.core.annotation.NameInMap("dataType") private String dataType; @com.aliyun.core.annotation.NameInMap("datasetId") private String datasetId; @com.aliyun.core.annotation.NameInMap("description") private String description; @com.aliyun.core.annotation.NameInMap("labelId") private String labelId; @com.aliyun.core.annotation.NameInMap("lastModifyTime") private Long lastModifyTime; @com.aliyun.core.annotation.NameInMap("name") private String name; @com.aliyun.core.annotation.NameInMap("settingType") private String settingType; private MLDataSetParam(Builder builder) { this.createBy = builder.createBy; this.createTime = builder.createTime; this.dataType = builder.dataType; this.datasetId = builder.datasetId; this.description = builder.description; this.labelId = builder.labelId; this.lastModifyTime = builder.lastModifyTime; this.name = builder.name; this.settingType = builder.settingType; } public static Builder builder() { return new Builder(); } public static MLDataSetParam create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return createBy */ public String getCreateBy() { return this.createBy; } /** * @return createTime */ public Long getCreateTime() { return this.createTime; } /** * @return dataType */ public String getDataType() { return this.dataType; } /** * @return datasetId */ public String getDatasetId() { return this.datasetId; } /** * @return description */ public String getDescription() { return this.description; } /** * @return labelId */ public String getLabelId() { return this.labelId; } /** * @return lastModifyTime */ public Long getLastModifyTime() { return this.lastModifyTime; } /** * @return name */ public String getName() { return this.name; } /** * @return settingType */ public String getSettingType() { return this.settingType; } public static final class Builder { private String createBy; private Long createTime; private String dataType; private String datasetId; private String description; private String labelId; private Long lastModifyTime; private String name; private String settingType; private Builder() { } private Builder(MLDataSetParam model) { this.createBy = model.createBy; this.createTime = model.createTime; this.dataType = model.dataType; this.datasetId = model.datasetId; this.description = model.description; this.labelId = model.labelId; this.lastModifyTime = model.lastModifyTime; this.name = model.name; this.settingType = model.settingType; } /** * createBy. */ public Builder createBy(String createBy) { this.createBy = createBy; return this; } /** * createTime. */ public Builder createTime(Long createTime) { this.createTime = createTime; return this; } /** * dataType. */ public Builder dataType(String dataType) { this.dataType = dataType; return this; } /** * datasetId. */ public Builder datasetId(String datasetId) { this.datasetId = datasetId; return this; } /** * description. */ public Builder description(String description) { this.description = description; return this; } /** * labelId. */ public Builder labelId(String labelId) { this.labelId = labelId; return this; } /** * lastModifyTime. */ public Builder lastModifyTime(Long lastModifyTime) { this.lastModifyTime = lastModifyTime; return this; } /** * name. */ public Builder name(String name) { this.name = name; return this; } /** * settingType. */ public Builder settingType(String settingType) { this.settingType = settingType; return this; } public MLDataSetParam build() { return new MLDataSetParam(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/MLLabelParam.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 MLLabelParam} extends {@link TeaModel} * * <p>MLLabelParam</p> */ public class MLLabelParam extends TeaModel { @com.aliyun.core.annotation.NameInMap("createTime") private Long createTime; @com.aliyun.core.annotation.NameInMap("description") private String description; @com.aliyun.core.annotation.NameInMap("labelId") private String labelId; @com.aliyun.core.annotation.NameInMap("lastModifyTime") private Long lastModifyTime; @com.aliyun.core.annotation.NameInMap("name") private String name; @com.aliyun.core.annotation.NameInMap("settings") private java.util.List<Settings> settings; @com.aliyun.core.annotation.NameInMap("type") private String type; private MLLabelParam(Builder builder) { this.createTime = builder.createTime; this.description = builder.description; this.labelId = builder.labelId; this.lastModifyTime = builder.lastModifyTime; this.name = builder.name; this.settings = builder.settings; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static MLLabelParam create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return createTime */ public Long getCreateTime() { return this.createTime; } /** * @return description */ public String getDescription() { return this.description; } /** * @return labelId */ public String getLabelId() { return this.labelId; } /** * @return lastModifyTime */ public Long getLastModifyTime() { return this.lastModifyTime; } /** * @return name */ public String getName() { return this.name; } /** * @return settings */ public java.util.List<Settings> getSettings() { return this.settings; } /** * @return type */ public String getType() { return this.type; } public static final class Builder { private Long createTime; private String description; private String labelId; private Long lastModifyTime; private String name; private java.util.List<Settings> settings; private String type; private Builder() { } private Builder(MLLabelParam model) { this.createTime = model.createTime; this.description = model.description; this.labelId = model.labelId; this.lastModifyTime = model.lastModifyTime; this.name = model.name; this.settings = model.settings; this.type = model.type; } /** * createTime. */ public Builder createTime(Long createTime) { this.createTime = createTime; return this; } /** * description. */ public Builder description(String description) { this.description = description; return this; } /** * labelId. */ public Builder labelId(String labelId) { this.labelId = labelId; return this; } /** * lastModifyTime. */ public Builder lastModifyTime(Long lastModifyTime) { this.lastModifyTime = lastModifyTime; return this; } /** * name. */ public Builder name(String name) { this.name = name; return this; } /** * settings. */ public Builder settings(java.util.List<Settings> settings) { this.settings = settings; return this; } /** * type. */ public Builder type(String type) { this.type = type; return this; } public MLLabelParam build() { return new MLLabelParam(this); } } /** * * {@link MLLabelParam} extends {@link TeaModel} * * <p>MLLabelParam</p> */ public static class Settings extends TeaModel { @com.aliyun.core.annotation.NameInMap("config") private String config; @com.aliyun.core.annotation.NameInMap("mode") private String mode; @com.aliyun.core.annotation.NameInMap("type") private String type; @com.aliyun.core.annotation.NameInMap("version") private String version; private Settings(Builder builder) { this.config = builder.config; this.mode = builder.mode; this.type = builder.type; this.version = builder.version; } public static Builder builder() { return new Builder(); } public static Settings create() { return builder().build(); } /** * @return config */ public String getConfig() { return this.config; } /** * @return mode */ public String getMode() { return this.mode; } /** * @return type */ public String getType() { return this.type; } /** * @return version */ public String getVersion() { return this.version; } public static final class Builder { private String config; private String mode; private String type; private String version; private Builder() { } private Builder(Settings model) { this.config = model.config; this.mode = model.mode; this.type = model.type; this.version = model.version; } /** * config. */ public Builder config(String config) { this.config = config; return this; } /** * mode. */ public Builder mode(String mode) { this.mode = mode; return this; } /** * type. */ public Builder type(String type) { this.type = type; return this; } /** * version. */ public Builder version(String version) { this.version = version; return this; } public Settings build() { return new Settings(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/MLServiceAnalysisParam.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 MLServiceAnalysisParam} extends {@link TeaModel} * * <p>MLServiceAnalysisParam</p> */ public class MLServiceAnalysisParam extends TeaModel { @com.aliyun.core.annotation.NameInMap("input") private java.util.List<java.util.Map<String, String>> input; @com.aliyun.core.annotation.NameInMap("parameter") private java.util.Map<String, String> parameter; private MLServiceAnalysisParam(Builder builder) { this.input = builder.input; this.parameter = builder.parameter; } public static Builder builder() { return new Builder(); } public static MLServiceAnalysisParam create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return input */ public java.util.List<java.util.Map<String, String>> getInput() { return this.input; } /** * @return parameter */ public java.util.Map<String, String> getParameter() { return this.parameter; } public static final class Builder { private java.util.List<java.util.Map<String, String>> input; private java.util.Map<String, String> parameter; private Builder() { } private Builder(MLServiceAnalysisParam model) { this.input = model.input; this.parameter = model.parameter; } /** * input. */ public Builder input(java.util.List<java.util.Map<String, String>> input) { this.input = input; return this; } /** * parameter. */ public Builder parameter(java.util.Map<String, String> parameter) { this.parameter = parameter; return this; } public MLServiceAnalysisParam build() { return new MLServiceAnalysisParam(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/MLServiceParam.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 MLServiceParam} extends {@link TeaModel} * * <p>MLServiceParam</p> */ public class MLServiceParam extends TeaModel { @com.aliyun.core.annotation.NameInMap("description") private String description; @com.aliyun.core.annotation.NameInMap("model") private Model model; @com.aliyun.core.annotation.NameInMap("name") private String name; @com.aliyun.core.annotation.NameInMap("resource") private Resource resource; @com.aliyun.core.annotation.NameInMap("serviceType") private String serviceType; @com.aliyun.core.annotation.NameInMap("status") private String status; @com.aliyun.core.annotation.NameInMap("updateTimestamp") private Long updateTimestamp; private MLServiceParam(Builder builder) { this.description = builder.description; this.model = builder.model; this.name = builder.name; this.resource = builder.resource; this.serviceType = builder.serviceType; this.status = builder.status; this.updateTimestamp = builder.updateTimestamp; } public static Builder builder() { return new Builder(); } public static MLServiceParam create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return description */ public String getDescription() { return this.description; } /** * @return model */ public Model getModel() { return this.model; } /** * @return name */ public String getName() { return this.name; } /** * @return resource */ public Resource getResource() { return this.resource; } /** * @return serviceType */ public String getServiceType() { return this.serviceType; } /** * @return status */ public String getStatus() { return this.status; } /** * @return updateTimestamp */ public Long getUpdateTimestamp() { return this.updateTimestamp; } public static final class Builder { private String description; private Model model; private String name; private Resource resource; private String serviceType; private String status; private Long updateTimestamp; private Builder() { } private Builder(MLServiceParam model) { this.description = model.description; this.model = model.model; this.name = model.name; this.resource = model.resource; this.serviceType = model.serviceType; this.status = model.status; this.updateTimestamp = model.updateTimestamp; } /** * description. */ public Builder description(String description) { this.description = description; return this; } /** * model. */ public Builder model(Model model) { this.model = model; return this; } /** * name. */ public Builder name(String name) { this.name = name; return this; } /** * resource. */ public Builder resource(Resource resource) { this.resource = resource; return this; } /** * serviceType. */ public Builder serviceType(String serviceType) { this.serviceType = serviceType; return this; } /** * status. */ public Builder status(String status) { this.status = status; return this; } /** * updateTimestamp. */ public Builder updateTimestamp(Long updateTimestamp) { this.updateTimestamp = updateTimestamp; return this; } public MLServiceParam build() { return new MLServiceParam(this); } } /** * * {@link MLServiceParam} extends {@link TeaModel} * * <p>MLServiceParam</p> */ public static class Model extends TeaModel { @com.aliyun.core.annotation.NameInMap("modelResourceId") private String modelResourceId; @com.aliyun.core.annotation.NameInMap("modelResourceType") private String modelResourceType; private Model(Builder builder) { this.modelResourceId = builder.modelResourceId; this.modelResourceType = builder.modelResourceType; } public static Builder builder() { return new Builder(); } public static Model create() { return builder().build(); } /** * @return modelResourceId */ public String getModelResourceId() { return this.modelResourceId; } /** * @return modelResourceType */ public String getModelResourceType() { return this.modelResourceType; } public static final class Builder { private String modelResourceId; private String modelResourceType; private Builder() { } private Builder(Model model) { this.modelResourceId = model.modelResourceId; this.modelResourceType = model.modelResourceType; } /** * modelResourceId. */ public Builder modelResourceId(String modelResourceId) { this.modelResourceId = modelResourceId; return this; } /** * modelResourceType. */ public Builder modelResourceType(String modelResourceType) { this.modelResourceType = modelResourceType; return this; } public Model build() { return new Model(this); } } } /** * * {@link MLServiceParam} extends {@link TeaModel} * * <p>MLServiceParam</p> */ public static class Resource extends TeaModel { @com.aliyun.core.annotation.NameInMap("cpuLimit") private Integer cpuLimit; @com.aliyun.core.annotation.NameInMap("gpu") private Integer gpu; @com.aliyun.core.annotation.NameInMap("memoryLimit") private Integer memoryLimit; @com.aliyun.core.annotation.NameInMap("replica") private Integer replica; private Resource(Builder builder) { this.cpuLimit = builder.cpuLimit; this.gpu = builder.gpu; this.memoryLimit = builder.memoryLimit; this.replica = builder.replica; } public static Builder builder() { return new Builder(); } public static Resource create() { return builder().build(); } /** * @return cpuLimit */ public Integer getCpuLimit() { return this.cpuLimit; } /** * @return gpu */ public Integer getGpu() { return this.gpu; } /** * @return memoryLimit */ public Integer getMemoryLimit() { return this.memoryLimit; } /** * @return replica */ public Integer getReplica() { return this.replica; } public static final class Builder { private Integer cpuLimit; private Integer gpu; private Integer memoryLimit; private Integer replica; private Builder() { } private Builder(Resource model) { this.cpuLimit = model.cpuLimit; this.gpu = model.gpu; this.memoryLimit = model.memoryLimit; this.replica = model.replica; } /** * cpuLimit. */ public Builder cpuLimit(Integer cpuLimit) { this.cpuLimit = cpuLimit; return this; } /** * gpu. */ public Builder gpu(Integer gpu) { this.gpu = gpu; return this; } /** * memoryLimit. */ public Builder memoryLimit(Integer memoryLimit) { this.memoryLimit = memoryLimit; return this; } /** * replica. */ public Builder replica(Integer replica) { this.replica = replica; return this; } public Resource build() { return new Resource(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/Machine.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 Machine} extends {@link TeaModel} * * <p>Machine</p> */ public class Machine extends TeaModel { @com.aliyun.core.annotation.NameInMap("host-id") private String hostId; @com.aliyun.core.annotation.NameInMap("ip") private String ip; @com.aliyun.core.annotation.NameInMap("lastHeartbeatTime") private Long lastHeartbeatTime; @com.aliyun.core.annotation.NameInMap("machine-uniqueid") private String machineUniqueid; @com.aliyun.core.annotation.NameInMap("userdefined-id") private String userdefinedId; private Machine(Builder builder) { this.hostId = builder.hostId; this.ip = builder.ip; this.lastHeartbeatTime = builder.lastHeartbeatTime; this.machineUniqueid = builder.machineUniqueid; this.userdefinedId = builder.userdefinedId; } public static Builder builder() { return new Builder(); } public static Machine create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return hostId */ public String getHostId() { return this.hostId; } /** * @return ip */ public String getIp() { return this.ip; } /** * @return lastHeartbeatTime */ public Long getLastHeartbeatTime() { return this.lastHeartbeatTime; } /** * @return machineUniqueid */ public String getMachineUniqueid() { return this.machineUniqueid; } /** * @return userdefinedId */ public String getUserdefinedId() { return this.userdefinedId; } public static final class Builder { private String hostId; private String ip; private Long lastHeartbeatTime; private String machineUniqueid; private String userdefinedId; private Builder() { } private Builder(Machine model) { this.hostId = model.hostId; this.ip = model.ip; this.lastHeartbeatTime = model.lastHeartbeatTime; this.machineUniqueid = model.machineUniqueid; this.userdefinedId = model.userdefinedId; } /** * host-id. */ public Builder hostId(String hostId) { this.hostId = hostId; return this; } /** * ip. */ public Builder ip(String ip) { this.ip = ip; return this; } /** * lastHeartbeatTime. */ public Builder lastHeartbeatTime(Long lastHeartbeatTime) { this.lastHeartbeatTime = lastHeartbeatTime; return this; } /** * machine-uniqueid. */ public Builder machineUniqueid(String machineUniqueid) { this.machineUniqueid = machineUniqueid; return this; } /** * userdefined-id. */ public Builder userdefinedId(String userdefinedId) { this.userdefinedId = userdefinedId; return this; } public Machine build() { return new Machine(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/MachineGroup.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 MachineGroup} extends {@link TeaModel} * * <p>MachineGroup</p> */ public class MachineGroup extends TeaModel { @com.aliyun.core.annotation.NameInMap("groupAttribute") private GroupAttribute groupAttribute; @com.aliyun.core.annotation.NameInMap("groupName") @com.aliyun.core.annotation.Validation(required = true) private String groupName; @com.aliyun.core.annotation.NameInMap("groupType") private String groupType; @com.aliyun.core.annotation.NameInMap("machineIdentifyType") @com.aliyun.core.annotation.Validation(required = true) private String machineIdentifyType; @com.aliyun.core.annotation.NameInMap("machineList") @com.aliyun.core.annotation.Validation(required = true) private java.util.List<String> machineList; private MachineGroup(Builder builder) { this.groupAttribute = builder.groupAttribute; this.groupName = builder.groupName; this.groupType = builder.groupType; this.machineIdentifyType = builder.machineIdentifyType; this.machineList = builder.machineList; } public static Builder builder() { return new Builder(); } public static MachineGroup create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return groupAttribute */ public GroupAttribute getGroupAttribute() { return this.groupAttribute; } /** * @return groupName */ public String getGroupName() { return this.groupName; } /** * @return groupType */ public String getGroupType() { return this.groupType; } /** * @return machineIdentifyType */ public String getMachineIdentifyType() { return this.machineIdentifyType; } /** * @return machineList */ public java.util.List<String> getMachineList() { return this.machineList; } public static final class Builder { private GroupAttribute groupAttribute; private String groupName; private String groupType; private String machineIdentifyType; private java.util.List<String> machineList; private Builder() { } private Builder(MachineGroup model) { this.groupAttribute = model.groupAttribute; this.groupName = model.groupName; this.groupType = model.groupType; this.machineIdentifyType = model.machineIdentifyType; this.machineList = model.machineList; } /** * groupAttribute. */ public Builder groupAttribute(GroupAttribute groupAttribute) { this.groupAttribute = groupAttribute; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>test-group</p> */ public Builder groupName(String groupName) { this.groupName = groupName; return this; } /** * groupType. */ public Builder groupType(String groupType) { this.groupType = groupType; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>ip</p> */ public Builder machineIdentifyType(String machineIdentifyType) { this.machineIdentifyType = machineIdentifyType; return this; } /** * <p>This parameter is required.</p> */ public Builder machineList(java.util.List<String> machineList) { this.machineList = machineList; return this; } public MachineGroup build() { return new MachineGroup(this); } } /** * * {@link MachineGroup} extends {@link TeaModel} * * <p>MachineGroup</p> */ public static class GroupAttribute extends TeaModel { @com.aliyun.core.annotation.NameInMap("externalName") private String externalName; @com.aliyun.core.annotation.NameInMap("groupTopic") private String groupTopic; private GroupAttribute(Builder builder) { this.externalName = builder.externalName; this.groupTopic = builder.groupTopic; } public static Builder builder() { return new Builder(); } public static GroupAttribute create() { return builder().build(); } /** * @return externalName */ public String getExternalName() { return this.externalName; } /** * @return groupTopic */ public String getGroupTopic() { return this.groupTopic; } public static final class Builder { private String externalName; private String groupTopic; private Builder() { } private Builder(GroupAttribute model) { this.externalName = model.externalName; this.groupTopic = model.groupTopic; } /** * externalName. */ public Builder externalName(String externalName) { this.externalName = externalName; return this; } /** * groupTopic. */ public Builder groupTopic(String groupTopic) { this.groupTopic = groupTopic; return this; } public GroupAttribute build() { return new GroupAttribute(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/MaxComputeExport.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 MaxComputeExport} extends {@link TeaModel} * * <p>MaxComputeExport</p> */ public class MaxComputeExport extends TeaModel { @com.aliyun.core.annotation.NameInMap("configuration") @com.aliyun.core.annotation.Validation(required = true) private MaxComputeExportConfiguration 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("scheduleId") private String scheduleId; @com.aliyun.core.annotation.NameInMap("status") private String status; private MaxComputeExport(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.scheduleId = builder.scheduleId; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static MaxComputeExport create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return configuration */ public MaxComputeExportConfiguration 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 scheduleId */ public String getScheduleId() { return this.scheduleId; } /** * @return status */ public String getStatus() { return this.status; } public static final class Builder { private MaxComputeExportConfiguration configuration; private Long createTime; private String description; private String displayName; private Long lastModifiedTime; private String name; private String scheduleId; private String status; private Builder() { } private Builder(MaxComputeExport 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.scheduleId = model.scheduleId; this.status = model.status; } /** * <p>This parameter is required.</p> */ public Builder configuration(MaxComputeExportConfiguration 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>odpsexport-test</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>export-general-1714033191-584993-hcl</p> */ public Builder name(String name) { this.name = name; 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 MaxComputeExport build() { return new MaxComputeExport(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/MaxComputeExportConfiguration.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 MaxComputeExportConfiguration} extends {@link TeaModel} * * <p>MaxComputeExportConfiguration</p> */ public class MaxComputeExportConfiguration extends TeaModel { @com.aliyun.core.annotation.NameInMap("fromTime") @com.aliyun.core.annotation.Validation(required = true) private Long fromTime; @com.aliyun.core.annotation.NameInMap("logstore") @com.aliyun.core.annotation.Validation(required = true) private String logstore; @com.aliyun.core.annotation.NameInMap("roleArn") @com.aliyun.core.annotation.Validation(required = true) private String roleArn; @com.aliyun.core.annotation.NameInMap("sink") @com.aliyun.core.annotation.Validation(required = true) private MaxComputeExportConfigurationSink sink; @com.aliyun.core.annotation.NameInMap("toTime") @com.aliyun.core.annotation.Validation(required = true) private Long toTime; private MaxComputeExportConfiguration(Builder builder) { this.fromTime = builder.fromTime; this.logstore = builder.logstore; this.roleArn = builder.roleArn; this.sink = builder.sink; this.toTime = builder.toTime; } public static Builder builder() { return new Builder(); } public static MaxComputeExportConfiguration create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return fromTime */ public Long getFromTime() { return this.fromTime; } /** * @return logstore */ public String getLogstore() { return this.logstore; } /** * @return roleArn */ public String getRoleArn() { return this.roleArn; } /** * @return sink */ public MaxComputeExportConfigurationSink getSink() { return this.sink; } /** * @return toTime */ public Long getToTime() { return this.toTime; } public static final class Builder { private Long fromTime; private String logstore; private String roleArn; private MaxComputeExportConfigurationSink sink; private Long toTime; private Builder() { } private Builder(MaxComputeExportConfiguration model) { this.fromTime = model.fromTime; this.logstore = model.logstore; this.roleArn = model.roleArn; this.sink = model.sink; this.toTime = model.toTime; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder fromTime(Long fromTime) { this.fromTime = fromTime; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>sls-logstore-demo</p> */ public Builder logstore(String logstore) { this.logstore = logstore; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>acs:ram::123456789:role/aliyunlogdefaultrole</p> */ public Builder roleArn(String roleArn) { this.roleArn = roleArn; return this; } /** * <p>This parameter is required.</p> */ public Builder sink(MaxComputeExportConfigurationSink sink) { this.sink = sink; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder toTime(Long toTime) { this.toTime = toTime; return this; } public MaxComputeExportConfiguration build() { return new MaxComputeExportConfiguration(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/MaxComputeExportConfigurationSink.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 MaxComputeExportConfigurationSink} extends {@link TeaModel} * * <p>MaxComputeExportConfigurationSink</p> */ public class MaxComputeExportConfigurationSink extends TeaModel { @com.aliyun.core.annotation.NameInMap("bufferInterval") private String bufferInterval; @com.aliyun.core.annotation.NameInMap("fields") @com.aliyun.core.annotation.Validation(required = true) private java.util.List<String> fields; @com.aliyun.core.annotation.NameInMap("filterInvalid") private Boolean filterInvalid; @com.aliyun.core.annotation.NameInMap("odpsAccessKeyId") @Deprecated private String odpsAccessKeyId; @com.aliyun.core.annotation.NameInMap("odpsAccessSecret") @Deprecated private String odpsAccessSecret; @com.aliyun.core.annotation.NameInMap("odpsEndpoint") @com.aliyun.core.annotation.Validation(required = true) private String odpsEndpoint; @com.aliyun.core.annotation.NameInMap("odpsProject") @com.aliyun.core.annotation.Validation(required = true) private String odpsProject; @com.aliyun.core.annotation.NameInMap("odpsRolearn") @com.aliyun.core.annotation.Validation(required = true) private String odpsRolearn; @com.aliyun.core.annotation.NameInMap("odpsTable") @com.aliyun.core.annotation.Validation(required = true) private String odpsTable; @com.aliyun.core.annotation.NameInMap("odpsTunnelEndpoint") private String odpsTunnelEndpoint; @com.aliyun.core.annotation.NameInMap("partitionColumn") @com.aliyun.core.annotation.Validation(required = true) private java.util.List<String> partitionColumn; @com.aliyun.core.annotation.NameInMap("partitionTimeFormat") @com.aliyun.core.annotation.Validation(required = true) private String partitionTimeFormat; @com.aliyun.core.annotation.NameInMap("timeFormatType") private String timeFormatType; @com.aliyun.core.annotation.NameInMap("timeZone") @com.aliyun.core.annotation.Validation(required = true) private String timeZone; private MaxComputeExportConfigurationSink(Builder builder) { this.bufferInterval = builder.bufferInterval; this.fields = builder.fields; this.filterInvalid = builder.filterInvalid; this.odpsAccessKeyId = builder.odpsAccessKeyId; this.odpsAccessSecret = builder.odpsAccessSecret; this.odpsEndpoint = builder.odpsEndpoint; this.odpsProject = builder.odpsProject; this.odpsRolearn = builder.odpsRolearn; this.odpsTable = builder.odpsTable; this.odpsTunnelEndpoint = builder.odpsTunnelEndpoint; this.partitionColumn = builder.partitionColumn; this.partitionTimeFormat = builder.partitionTimeFormat; this.timeFormatType = builder.timeFormatType; this.timeZone = builder.timeZone; } public static Builder builder() { return new Builder(); } public static MaxComputeExportConfigurationSink create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return bufferInterval */ public String getBufferInterval() { return this.bufferInterval; } /** * @return fields */ public java.util.List<String> getFields() { return this.fields; } /** * @return filterInvalid */ public Boolean getFilterInvalid() { return this.filterInvalid; } /** * @return odpsAccessKeyId */ public String getOdpsAccessKeyId() { return this.odpsAccessKeyId; } /** * @return odpsAccessSecret */ public String getOdpsAccessSecret() { return this.odpsAccessSecret; } /** * @return odpsEndpoint */ public String getOdpsEndpoint() { return this.odpsEndpoint; } /** * @return odpsProject */ public String getOdpsProject() { return this.odpsProject; } /** * @return odpsRolearn */ public String getOdpsRolearn() { return this.odpsRolearn; } /** * @return odpsTable */ public String getOdpsTable() { return this.odpsTable; } /** * @return odpsTunnelEndpoint */ public String getOdpsTunnelEndpoint() { return this.odpsTunnelEndpoint; } /** * @return partitionColumn */ public java.util.List<String> getPartitionColumn() { return this.partitionColumn; } /** * @return partitionTimeFormat */ public String getPartitionTimeFormat() { return this.partitionTimeFormat; } /** * @return timeFormatType */ public String getTimeFormatType() { return this.timeFormatType; } /** * @return timeZone */ public String getTimeZone() { return this.timeZone; } public static final class Builder { private String bufferInterval; private java.util.List<String> fields; private Boolean filterInvalid; private String odpsAccessKeyId; private String odpsAccessSecret; private String odpsEndpoint; private String odpsProject; private String odpsRolearn; private String odpsTable; private String odpsTunnelEndpoint; private java.util.List<String> partitionColumn; private String partitionTimeFormat; private String timeFormatType; private String timeZone; private Builder() { } private Builder(MaxComputeExportConfigurationSink model) { this.bufferInterval = model.bufferInterval; this.fields = model.fields; this.filterInvalid = model.filterInvalid; this.odpsAccessKeyId = model.odpsAccessKeyId; this.odpsAccessSecret = model.odpsAccessSecret; this.odpsEndpoint = model.odpsEndpoint; this.odpsProject = model.odpsProject; this.odpsRolearn = model.odpsRolearn; this.odpsTable = model.odpsTable; this.odpsTunnelEndpoint = model.odpsTunnelEndpoint; this.partitionColumn = model.partitionColumn; this.partitionTimeFormat = model.partitionTimeFormat; this.timeFormatType = model.timeFormatType; this.timeZone = model.timeZone; } /** * bufferInterval. */ public Builder bufferInterval(String bufferInterval) { this.bufferInterval = bufferInterval; return this; } /** * <p>This parameter is required.</p> */ public Builder fields(java.util.List<String> fields) { this.fields = fields; return this; } /** * filterInvalid. */ public Builder filterInvalid(Boolean filterInvalid) { this.filterInvalid = filterInvalid; return this; } /** * odpsAccessKeyId. */ public Builder odpsAccessKeyId(String odpsAccessKeyId) { this.odpsAccessKeyId = odpsAccessKeyId; return this; } /** * odpsAccessSecret. */ public Builder odpsAccessSecret(String odpsAccessSecret) { this.odpsAccessSecret = odpsAccessSecret; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p><a href="http://service.cn-hangzhou.maxcompute.aliyun-inc.com/api">http://service.cn-hangzhou.maxcompute.aliyun-inc.com/api</a></p> */ public Builder odpsEndpoint(String odpsEndpoint) { this.odpsEndpoint = odpsEndpoint; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>demo_project</p> */ public Builder odpsProject(String odpsProject) { this.odpsProject = odpsProject; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>acs:ram::123456789:role/aliyunlogdefaultrole</p> */ public Builder odpsRolearn(String odpsRolearn) { this.odpsRolearn = odpsRolearn; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>demo_table</p> */ public Builder odpsTable(String odpsTable) { this.odpsTable = odpsTable; return this; } /** * odpsTunnelEndpoint. */ public Builder odpsTunnelEndpoint(String odpsTunnelEndpoint) { this.odpsTunnelEndpoint = odpsTunnelEndpoint; return this; } /** * <p>This parameter is required.</p> */ public Builder partitionColumn(java.util.List<String> partitionColumn) { this.partitionColumn = partitionColumn; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>%Y_%m_%d</p> */ public Builder partitionTimeFormat(String partitionTimeFormat) { this.partitionTimeFormat = partitionTimeFormat; return this; } /** * timeFormatType. */ public Builder timeFormatType(String timeFormatType) { this.timeFormatType = timeFormatType; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>+0800</p> */ public Builder timeZone(String timeZone) { this.timeZone = timeZone; return this; } public MaxComputeExportConfigurationSink build() { return new MaxComputeExportConfigurationSink(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/MergeShardRequest.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 MergeShardRequest} extends {@link RequestModel} * * <p>MergeShardRequest</p> */ public class MergeShardRequest 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.Path @com.aliyun.core.annotation.NameInMap("shard") @com.aliyun.core.annotation.Validation(required = true) private Integer shard; private MergeShardRequest(Builder builder) { super(builder); this.project = builder.project; this.logstore = builder.logstore; this.shard = builder.shard; } public static Builder builder() { return new Builder(); } public static MergeShardRequest 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 shard */ public Integer getShard() { return this.shard; } public static final class Builder extends Request.Builder<MergeShardRequest, Builder> { private String project; private String logstore; private Integer shard; private Builder() { super(); } private Builder(MergeShardRequest request) { super(request); this.project = request.project; this.logstore = request.logstore; this.shard = request.shard; } /** * <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>ali-test-logstore</p> */ public Builder logstore(String logstore) { this.putPathParameter("logstore", logstore); this.logstore = logstore; return this; } /** * <p>Shard ID。</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>3</p> */ public Builder shard(Integer shard) { this.putPathParameter("shard", shard); this.shard = shard; return this; } @Override public MergeShardRequest build() { return new MergeShardRequest(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/MergeShardResponse.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 MergeShardResponse} extends {@link TeaModel} * * <p>MergeShardResponse</p> */ public class MergeShardResponse 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<Shard> body; private MergeShardResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static MergeShardResponse 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<Shard> getBody() { return this.body; } public interface Builder extends Response.Builder<MergeShardResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(java.util.List<Shard> body); @Override MergeShardResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<MergeShardResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private java.util.List<Shard> body; private BuilderImpl() { super(); } private BuilderImpl(MergeShardResponse 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<Shard> body) { this.body = body; return this; } @Override public MergeShardResponse build() { return new MergeShardResponse(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/OSSExport.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 OSSExport} extends {@link TeaModel} * * <p>OSSExport</p> */ public class OSSExport extends TeaModel { @com.aliyun.core.annotation.NameInMap("configuration") private OSSExportConfiguration 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("scheduleId") private String scheduleId; @com.aliyun.core.annotation.NameInMap("status") private String status; private OSSExport(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.scheduleId = builder.scheduleId; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static OSSExport create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return configuration */ public OSSExportConfiguration 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 scheduleId */ public String getScheduleId() { return this.scheduleId; } /** * @return status */ public String getStatus() { return this.status; } public static final class Builder { private OSSExportConfiguration configuration; private Long createTime; private String description; private String displayName; private Long lastModifiedTime; private String name; private String scheduleId; private String status; private Builder() { } private Builder(OSSExport 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.scheduleId = model.scheduleId; this.status = model.status; } /** * configuration. */ public Builder configuration(OSSExportConfiguration 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>job-demo</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>job-1714109458-123456</p> */ public Builder name(String name) { this.name = name; 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 OSSExport build() { return new OSSExport(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/OSSExportConfiguration.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 OSSExportConfiguration} extends {@link TeaModel} * * <p>OSSExportConfiguration</p> */ public class OSSExportConfiguration extends TeaModel { @com.aliyun.core.annotation.NameInMap("fromTime") private Long fromTime; @com.aliyun.core.annotation.NameInMap("logstore") private String logstore; @com.aliyun.core.annotation.NameInMap("roleArn") private String roleArn; @com.aliyun.core.annotation.NameInMap("sink") private Sink sink; @com.aliyun.core.annotation.NameInMap("toTime") private Long toTime; private OSSExportConfiguration(Builder builder) { this.fromTime = builder.fromTime; this.logstore = builder.logstore; this.roleArn = builder.roleArn; this.sink = builder.sink; this.toTime = builder.toTime; } public static Builder builder() { return new Builder(); } public static OSSExportConfiguration create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return fromTime */ public Long getFromTime() { return this.fromTime; } /** * @return logstore */ public String getLogstore() { return this.logstore; } /** * @return roleArn */ public String getRoleArn() { return this.roleArn; } /** * @return sink */ public Sink getSink() { return this.sink; } /** * @return toTime */ public Long getToTime() { return this.toTime; } public static final class Builder { private Long fromTime; private String logstore; private String roleArn; private Sink sink; private Long toTime; private Builder() { } private Builder(OSSExportConfiguration model) { this.fromTime = model.fromTime; this.logstore = model.logstore; this.roleArn = model.roleArn; this.sink = model.sink; this.toTime = model.toTime; } /** * fromTime. */ public Builder fromTime(Long fromTime) { this.fromTime = fromTime; return this; } /** * logstore. */ public Builder logstore(String logstore) { this.logstore = logstore; return this; } /** * roleArn. */ public Builder roleArn(String roleArn) { this.roleArn = roleArn; return this; } /** * sink. */ public Builder sink(Sink sink) { this.sink = sink; return this; } /** * toTime. */ public Builder toTime(Long toTime) { this.toTime = toTime; return this; } public OSSExportConfiguration build() { return new OSSExportConfiguration(this); } } /** * * {@link OSSExportConfiguration} extends {@link TeaModel} * * <p>OSSExportConfiguration</p> */ public static class Sink extends TeaModel { @com.aliyun.core.annotation.NameInMap("bucket") @com.aliyun.core.annotation.Validation(required = true) private String bucket; @com.aliyun.core.annotation.NameInMap("bufferInterval") private Long bufferInterval; @com.aliyun.core.annotation.NameInMap("bufferSize") private Long bufferSize; @com.aliyun.core.annotation.NameInMap("compressionType") private String compressionType; @com.aliyun.core.annotation.NameInMap("contentDetail") private java.util.Map<String, ?> contentDetail; @com.aliyun.core.annotation.NameInMap("contentType") private String contentType; @com.aliyun.core.annotation.NameInMap("delaySec") @Deprecated private Long delaySec; @com.aliyun.core.annotation.NameInMap("delaySeconds") private Long delaySeconds; @com.aliyun.core.annotation.NameInMap("endpoint") @com.aliyun.core.annotation.Validation(required = true) private String endpoint; @com.aliyun.core.annotation.NameInMap("pathFormat") @com.aliyun.core.annotation.Validation(required = true) private String pathFormat; @com.aliyun.core.annotation.NameInMap("pathFormatType") @com.aliyun.core.annotation.Validation(required = true) private String pathFormatType; @com.aliyun.core.annotation.NameInMap("prefix") private String prefix; @com.aliyun.core.annotation.NameInMap("roleArn") @com.aliyun.core.annotation.Validation(required = true) private String roleArn; @com.aliyun.core.annotation.NameInMap("suffix") private String suffix; @com.aliyun.core.annotation.NameInMap("timeZone") private String timeZone; private Sink(Builder builder) { this.bucket = builder.bucket; this.bufferInterval = builder.bufferInterval; this.bufferSize = builder.bufferSize; this.compressionType = builder.compressionType; this.contentDetail = builder.contentDetail; this.contentType = builder.contentType; this.delaySec = builder.delaySec; this.delaySeconds = builder.delaySeconds; this.endpoint = builder.endpoint; this.pathFormat = builder.pathFormat; this.pathFormatType = builder.pathFormatType; this.prefix = builder.prefix; this.roleArn = builder.roleArn; this.suffix = builder.suffix; this.timeZone = builder.timeZone; } public static Builder builder() { return new Builder(); } public static Sink create() { return builder().build(); } /** * @return bucket */ public String getBucket() { return this.bucket; } /** * @return bufferInterval */ public Long getBufferInterval() { return this.bufferInterval; } /** * @return bufferSize */ public Long getBufferSize() { return this.bufferSize; } /** * @return compressionType */ public String getCompressionType() { return this.compressionType; } /** * @return contentDetail */ public java.util.Map<String, ?> getContentDetail() { return this.contentDetail; } /** * @return contentType */ public String getContentType() { return this.contentType; } /** * @return delaySec */ public Long getDelaySec() { return this.delaySec; } /** * @return delaySeconds */ public Long getDelaySeconds() { return this.delaySeconds; } /** * @return endpoint */ public String getEndpoint() { return this.endpoint; } /** * @return pathFormat */ public String getPathFormat() { return this.pathFormat; } /** * @return pathFormatType */ public String getPathFormatType() { return this.pathFormatType; } /** * @return prefix */ public String getPrefix() { return this.prefix; } /** * @return roleArn */ public String getRoleArn() { return this.roleArn; } /** * @return suffix */ public String getSuffix() { return this.suffix; } /** * @return timeZone */ public String getTimeZone() { return this.timeZone; } public static final class Builder { private String bucket; private Long bufferInterval; private Long bufferSize; private String compressionType; private java.util.Map<String, ?> contentDetail; private String contentType; private Long delaySec; private Long delaySeconds; private String endpoint; private String pathFormat; private String pathFormatType; private String prefix; private String roleArn; private String suffix; private String timeZone; private Builder() { } private Builder(Sink model) { this.bucket = model.bucket; this.bufferInterval = model.bufferInterval; this.bufferSize = model.bufferSize; this.compressionType = model.compressionType; this.contentDetail = model.contentDetail; this.contentType = model.contentType; this.delaySec = model.delaySec; this.delaySeconds = model.delaySeconds; this.endpoint = model.endpoint; this.pathFormat = model.pathFormat; this.pathFormatType = model.pathFormatType; this.prefix = model.prefix; this.roleArn = model.roleArn; this.suffix = model.suffix; this.timeZone = model.timeZone; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>test-bucket</p> */ public Builder bucket(String bucket) { this.bucket = bucket; return this; } /** * bufferInterval. */ public Builder bufferInterval(Long bufferInterval) { this.bufferInterval = bufferInterval; return this; } /** * bufferSize. */ public Builder bufferSize(Long bufferSize) { this.bufferSize = bufferSize; return this; } /** * compressionType. */ public Builder compressionType(String compressionType) { this.compressionType = compressionType; return this; } /** * contentDetail. */ public Builder contentDetail(java.util.Map<String, ?> contentDetail) { this.contentDetail = contentDetail; return this; } /** * contentType. */ public Builder contentType(String contentType) { this.contentType = contentType; return this; } /** * delaySec. */ public Builder delaySec(Long delaySec) { this.delaySec = delaySec; return this; } /** * delaySeconds. */ public Builder delaySeconds(Long delaySeconds) { this.delaySeconds = delaySeconds; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p><a href="http://oss-cn-hangzhou-internal.aliyuncs.com">http://oss-cn-hangzhou-internal.aliyuncs.com</a></p> */ public Builder endpoint(String endpoint) { this.endpoint = endpoint; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>%Y/%m/%d/%H/%M</p> */ public Builder pathFormat(String pathFormat) { this.pathFormat = pathFormat; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>time</p> */ public Builder pathFormatType(String pathFormatType) { this.pathFormatType = pathFormatType; return this; } /** * prefix. */ public Builder prefix(String prefix) { this.prefix = prefix; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>acs:ram::123456789:role/aliyunlogdefaultrole</p> */ public Builder roleArn(String roleArn) { this.roleArn = roleArn; return this; } /** * suffix. */ public Builder suffix(String suffix) { this.suffix = suffix; return this; } /** * timeZone. */ public Builder timeZone(String timeZone) { this.timeZone = timeZone; return this; } public Sink build() { return new Sink(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/OSSIngestion.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 OSSIngestion} extends {@link TeaModel} * * <p>OSSIngestion</p> */ public class OSSIngestion extends TeaModel { @com.aliyun.core.annotation.NameInMap("configuration") @com.aliyun.core.annotation.Validation(required = true) private OSSIngestionConfiguration 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 OSSIngestion(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 OSSIngestion create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return configuration */ public OSSIngestionConfiguration 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 OSSIngestionConfiguration 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(OSSIngestion 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(OSSIngestionConfiguration 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>oss 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-oss-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 OSSIngestion build() { return new OSSIngestion(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/OSSIngestionConfiguration.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 OSSIngestionConfiguration} extends {@link TeaModel} * * <p>OSSIngestionConfiguration</p> */ public class OSSIngestionConfiguration 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 OSSIngestionConfigurationSource source; private OSSIngestionConfiguration(Builder builder) { this.logstore = builder.logstore; this.source = builder.source; } public static Builder builder() { return new Builder(); } public static OSSIngestionConfiguration create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return logstore */ public String getLogstore() { return this.logstore; } /** * @return source */ public OSSIngestionConfigurationSource getSource() { return this.source; } public static final class Builder { private String logstore; private OSSIngestionConfigurationSource source; private Builder() { } private Builder(OSSIngestionConfiguration model) { this.logstore = model.logstore; this.source = model.source; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>myLogstore</p> */ public Builder logstore(String logstore) { this.logstore = logstore; return this; } /** * <p>This parameter is required.</p> */ public Builder source(OSSIngestionConfigurationSource source) { this.source = source; return this; } public OSSIngestionConfiguration build() { return new OSSIngestionConfiguration(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/OSSIngestionConfigurationSource.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 OSSIngestionConfigurationSource} extends {@link TeaModel} * * <p>OSSIngestionConfigurationSource</p> */ public class OSSIngestionConfigurationSource extends TeaModel { @com.aliyun.core.annotation.NameInMap("bucket") @com.aliyun.core.annotation.Validation(required = true) private String bucket; @com.aliyun.core.annotation.NameInMap("compressionCodec") @com.aliyun.core.annotation.Validation(required = true) private String compressionCodec; @com.aliyun.core.annotation.NameInMap("encoding") @com.aliyun.core.annotation.Validation(required = true) private String encoding; @com.aliyun.core.annotation.NameInMap("endTime") private Long endTime; @com.aliyun.core.annotation.NameInMap("endpoint") @com.aliyun.core.annotation.Validation(required = true) private String endpoint; @com.aliyun.core.annotation.NameInMap("format") @com.aliyun.core.annotation.Validation(required = true) private java.util.Map<String, ?> format; @com.aliyun.core.annotation.NameInMap("interval") @com.aliyun.core.annotation.Validation(required = true) private String interval; @com.aliyun.core.annotation.NameInMap("pattern") private String pattern; @com.aliyun.core.annotation.NameInMap("prefix") private String prefix; @com.aliyun.core.annotation.NameInMap("restoreObjectEnabled") private Boolean restoreObjectEnabled; @com.aliyun.core.annotation.NameInMap("roleARN") private String roleARN; @com.aliyun.core.annotation.NameInMap("startTime") private Long startTime; @com.aliyun.core.annotation.NameInMap("tagPackId") private Boolean tagPackId; @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("useMetaIndex") @com.aliyun.core.annotation.Validation(required = true) private Boolean useMetaIndex; private OSSIngestionConfigurationSource(Builder builder) { this.bucket = builder.bucket; this.compressionCodec = builder.compressionCodec; this.encoding = builder.encoding; this.endTime = builder.endTime; this.endpoint = builder.endpoint; this.format = builder.format; this.interval = builder.interval; this.pattern = builder.pattern; this.prefix = builder.prefix; this.restoreObjectEnabled = builder.restoreObjectEnabled; this.roleARN = builder.roleARN; this.startTime = builder.startTime; this.tagPackId = builder.tagPackId; this.timeField = builder.timeField; this.timeFormat = builder.timeFormat; this.timePattern = builder.timePattern; this.timeZone = builder.timeZone; this.useMetaIndex = builder.useMetaIndex; } public static Builder builder() { return new Builder(); } public static OSSIngestionConfigurationSource create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return bucket */ public String getBucket() { return this.bucket; } /** * @return compressionCodec */ public String getCompressionCodec() { return this.compressionCodec; } /** * @return encoding */ public String getEncoding() { return this.encoding; } /** * @return endTime */ public Long getEndTime() { return this.endTime; } /** * @return endpoint */ public String getEndpoint() { return this.endpoint; } /** * @return format */ public java.util.Map<String, ?> getFormat() { return this.format; } /** * @return interval */ public String getInterval() { return this.interval; } /** * @return pattern */ public String getPattern() { return this.pattern; } /** * @return prefix */ public String getPrefix() { return this.prefix; } /** * @return restoreObjectEnabled */ public Boolean getRestoreObjectEnabled() { return this.restoreObjectEnabled; } /** * @return roleARN */ public String getRoleARN() { return this.roleARN; } /** * @return startTime */ public Long getStartTime() { return this.startTime; } /** * @return tagPackId */ public Boolean getTagPackId() { return this.tagPackId; } /** * @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 useMetaIndex */ public Boolean getUseMetaIndex() { return this.useMetaIndex; } public static final class Builder { private String bucket; private String compressionCodec; private String encoding; private Long endTime; private String endpoint; private java.util.Map<String, ?> format; private String interval; private String pattern; private String prefix; private Boolean restoreObjectEnabled; private String roleARN; private Long startTime; private Boolean tagPackId; private String timeField; private String timeFormat; private String timePattern; private String timeZone; private Boolean useMetaIndex; private Builder() { } private Builder(OSSIngestionConfigurationSource model) { this.bucket = model.bucket; this.compressionCodec = model.compressionCodec; this.encoding = model.encoding; this.endTime = model.endTime; this.endpoint = model.endpoint; this.format = model.format; this.interval = model.interval; this.pattern = model.pattern; this.prefix = model.prefix; this.restoreObjectEnabled = model.restoreObjectEnabled; this.roleARN = model.roleARN; this.startTime = model.startTime; this.tagPackId = model.tagPackId; this.timeField = model.timeField; this.timeFormat = model.timeFormat; this.timePattern = model.timePattern; this.timeZone = model.timeZone; this.useMetaIndex = model.useMetaIndex; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>ossbucket</p> */ public Builder bucket(String bucket) { this.bucket = bucket; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>none</p> */ public Builder compressionCodec(String compressionCodec) { this.compressionCodec = compressionCodec; 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; } /** * endTime. */ public Builder endTime(Long endTime) { this.endTime = endTime; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>oss-cn-hangzhou.aliyuncs.com</p> */ public Builder endpoint(String endpoint) { this.endpoint = endpoint; return this; } /** * <p>This parameter is required.</p> */ public Builder format(java.util.Map<String, ?> format) { this.format = format; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>never</p> */ public Builder interval(String interval) { this.interval = interval; return this; } /** * pattern. */ public Builder pattern(String pattern) { this.pattern = pattern; return this; } /** * prefix. */ public Builder prefix(String prefix) { this.prefix = prefix; return this; } /** * restoreObjectEnabled. */ public Builder restoreObjectEnabled(Boolean restoreObjectEnabled) { this.restoreObjectEnabled = restoreObjectEnabled; return this; } /** * roleARN. */ public Builder roleARN(String roleARN) { this.roleARN = roleARN; return this; } /** * startTime. */ public Builder startTime(Long startTime) { this.startTime = startTime; return this; } /** * tagPackId. */ public Builder tagPackId(Boolean tagPackId) { this.tagPackId = tagPackId; 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>false</p> */ public Builder useMetaIndex(Boolean useMetaIndex) { this.useMetaIndex = useMetaIndex; return this; } public OSSIngestionConfigurationSource build() { return new OSSIngestionConfigurationSource(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/OpenSlsServiceRequest.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 OpenSlsServiceRequest} extends {@link RequestModel} * * <p>OpenSlsServiceRequest</p> */ public class OpenSlsServiceRequest extends Request { private OpenSlsServiceRequest(Builder builder) { super(builder); } public static Builder builder() { return new Builder(); } public static OpenSlsServiceRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } public static final class Builder extends Request.Builder<OpenSlsServiceRequest, Builder> { private Builder() { super(); } private Builder(OpenSlsServiceRequest request) { super(request); } @Override public OpenSlsServiceRequest build() { return new OpenSlsServiceRequest(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/OpenSlsServiceResponse.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 OpenSlsServiceResponse} extends {@link TeaModel} * * <p>OpenSlsServiceResponse</p> */ public class OpenSlsServiceResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; private OpenSlsServiceResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; } public static OpenSlsServiceResponse 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; } public interface Builder extends Response.Builder<OpenSlsServiceResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); @Override OpenSlsServiceResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<OpenSlsServiceResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private BuilderImpl() { super(); } private BuilderImpl(OpenSlsServiceResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; } /** * 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; } @Override public OpenSlsServiceResponse build() { return new OpenSlsServiceResponse(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/PolicyConfiguration.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 PolicyConfiguration} extends {@link TeaModel} * * <p>PolicyConfiguration</p> */ public class PolicyConfiguration extends TeaModel { @com.aliyun.core.annotation.NameInMap("actionPolicyId") private String actionPolicyId; @com.aliyun.core.annotation.NameInMap("alertPolicyId") private String alertPolicyId; @com.aliyun.core.annotation.NameInMap("repeatInterval") private String repeatInterval; private PolicyConfiguration(Builder builder) { this.actionPolicyId = builder.actionPolicyId; this.alertPolicyId = builder.alertPolicyId; this.repeatInterval = builder.repeatInterval; } public static Builder builder() { return new Builder(); } public static PolicyConfiguration create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return actionPolicyId */ public String getActionPolicyId() { return this.actionPolicyId; } /** * @return alertPolicyId */ public String getAlertPolicyId() { return this.alertPolicyId; } /** * @return repeatInterval */ public String getRepeatInterval() { return this.repeatInterval; } public static final class Builder { private String actionPolicyId; private String alertPolicyId; private String repeatInterval; private Builder() { } private Builder(PolicyConfiguration model) { this.actionPolicyId = model.actionPolicyId; this.alertPolicyId = model.alertPolicyId; this.repeatInterval = model.repeatInterval; } /** * actionPolicyId. */ public Builder actionPolicyId(String actionPolicyId) { this.actionPolicyId = actionPolicyId; return this; } /** * alertPolicyId. */ public Builder alertPolicyId(String alertPolicyId) { this.alertPolicyId = alertPolicyId; return this; } /** * repeatInterval. */ public Builder repeatInterval(String repeatInterval) { this.repeatInterval = repeatInterval; return this; } public PolicyConfiguration build() { return new PolicyConfiguration(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/ProcessorAssociate.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 ProcessorAssociate} extends {@link TeaModel} * * <p>ProcessorAssociate</p> */ public class ProcessorAssociate extends TeaModel { @com.aliyun.core.annotation.NameInMap("processorId") @com.aliyun.core.annotation.Validation(required = true) private String processorId; private ProcessorAssociate(Builder builder) { this.processorId = builder.processorId; } public static Builder builder() { return new Builder(); } public static ProcessorAssociate create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return processorId */ public String getProcessorId() { return this.processorId; } public static final class Builder { private String processorId; private Builder() { } private Builder(ProcessorAssociate model) { this.processorId = model.processorId; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>ingest-processor-1</p> */ public Builder processorId(String processorId) { this.processorId = processorId; return this; } public ProcessorAssociate build() { return new ProcessorAssociate(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/Project.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 Project} extends {@link TeaModel} * * <p>Project</p> */ public class Project extends TeaModel { @com.aliyun.core.annotation.NameInMap("createTime") private String createTime; @com.aliyun.core.annotation.NameInMap("dataRedundancyType") private String dataRedundancyType; @com.aliyun.core.annotation.NameInMap("description") @com.aliyun.core.annotation.Validation(required = true) private String description; @com.aliyun.core.annotation.NameInMap("lastModifyTime") private String lastModifyTime; @com.aliyun.core.annotation.NameInMap("location") private String location; @com.aliyun.core.annotation.NameInMap("owner") private String owner; @com.aliyun.core.annotation.NameInMap("projectName") @com.aliyun.core.annotation.Validation(required = true) private String projectName; @com.aliyun.core.annotation.NameInMap("quota") private java.util.Map<String, ?> quota; @com.aliyun.core.annotation.NameInMap("recycleBinEnabled") private Boolean recycleBinEnabled; @com.aliyun.core.annotation.NameInMap("region") private String region; @com.aliyun.core.annotation.NameInMap("resourceGroupId") private String resourceGroupId; @com.aliyun.core.annotation.NameInMap("status") private String status; private Project(Builder builder) { this.createTime = builder.createTime; this.dataRedundancyType = builder.dataRedundancyType; this.description = builder.description; this.lastModifyTime = builder.lastModifyTime; this.location = builder.location; this.owner = builder.owner; this.projectName = builder.projectName; this.quota = builder.quota; this.recycleBinEnabled = builder.recycleBinEnabled; this.region = builder.region; this.resourceGroupId = builder.resourceGroupId; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static Project create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return createTime */ public String getCreateTime() { return this.createTime; } /** * @return dataRedundancyType */ public String getDataRedundancyType() { return this.dataRedundancyType; } /** * @return description */ public String getDescription() { return this.description; } /** * @return lastModifyTime */ public String getLastModifyTime() { return this.lastModifyTime; } /** * @return location */ public String getLocation() { return this.location; } /** * @return owner */ public String getOwner() { return this.owner; } /** * @return projectName */ public String getProjectName() { return this.projectName; } /** * @return quota */ public java.util.Map<String, ?> getQuota() { return this.quota; } /** * @return recycleBinEnabled */ public Boolean getRecycleBinEnabled() { return this.recycleBinEnabled; } /** * @return region */ public String getRegion() { return this.region; } /** * @return resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } /** * @return status */ public String getStatus() { return this.status; } public static final class Builder { private String createTime; private String dataRedundancyType; private String description; private String lastModifyTime; private String location; private String owner; private String projectName; private java.util.Map<String, ?> quota; private Boolean recycleBinEnabled; private String region; private String resourceGroupId; private String status; private Builder() { } private Builder(Project model) { this.createTime = model.createTime; this.dataRedundancyType = model.dataRedundancyType; this.description = model.description; this.lastModifyTime = model.lastModifyTime; this.location = model.location; this.owner = model.owner; this.projectName = model.projectName; this.quota = model.quota; this.recycleBinEnabled = model.recycleBinEnabled; this.region = model.region; this.resourceGroupId = model.resourceGroupId; this.status = model.status; } /** * createTime. */ public Builder createTime(String createTime) { this.createTime = createTime; return this; } /** * dataRedundancyType. */ public Builder dataRedundancyType(String dataRedundancyType) { this.dataRedundancyType = dataRedundancyType; return this; } /** * <p>This parameter is required.</p> */ public Builder description(String description) { this.description = description; return this; } /** * lastModifyTime. */ public Builder lastModifyTime(String lastModifyTime) { this.lastModifyTime = lastModifyTime; return this; } /** * location. */ public Builder location(String location) { this.location = location; return this; } /** * owner. */ public Builder owner(String owner) { this.owner = owner; return this; } /** * <p>This parameter is required.</p> */ public Builder projectName(String projectName) { this.projectName = projectName; return this; } /** * quota. */ public Builder quota(java.util.Map<String, ?> quota) { this.quota = quota; return this; } /** * recycleBinEnabled. */ public Builder recycleBinEnabled(Boolean recycleBinEnabled) { this.recycleBinEnabled = recycleBinEnabled; return this; } /** * region. */ public Builder region(String region) { this.region = region; return this; } /** * resourceGroupId. */ public Builder resourceGroupId(String resourceGroupId) { this.resourceGroupId = resourceGroupId; return this; } /** * status. */ public Builder status(String status) { this.status = status; return this; } public Project build() { return new Project(this); } } }