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/DeleteDashboardResponse.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 DeleteDashboardResponse} extends {@link TeaModel}
*
* <p>DeleteDashboardResponse</p>
*/
public class DeleteDashboardResponse 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 DeleteDashboardResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
}
public static DeleteDashboardResponse 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<DeleteDashboardResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
@Override
DeleteDashboardResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteDashboardResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteDashboardResponse 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 DeleteDashboardResponse build() {
return new DeleteDashboardResponse(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/DeleteDomainRequest.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 DeleteDomainRequest} extends {@link RequestModel}
*
* <p>DeleteDomainRequest</p>
*/
public class DeleteDomainRequest 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("domainName")
@com.aliyun.core.annotation.Validation(required = true)
private String domainName;
private DeleteDomainRequest(Builder builder) {
super(builder);
this.project = builder.project;
this.domainName = builder.domainName;
}
public static Builder builder() {
return new Builder();
}
public static DeleteDomainRequest 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;
}
public static final class Builder extends Request.Builder<DeleteDomainRequest, Builder> {
private String project;
private String domainName;
private Builder() {
super();
}
private Builder(DeleteDomainRequest request) {
super(request);
this.project = request.project;
this.domainName = request.domainName;
}
/**
* <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 to be deleted.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>example.com</p>
*/
public Builder domainName(String domainName) {
this.putPathParameter("domainName", domainName);
this.domainName = domainName;
return this;
}
@Override
public DeleteDomainRequest build() {
return new DeleteDomainRequest(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/DeleteDomainResponse.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 DeleteDomainResponse} extends {@link TeaModel}
*
* <p>DeleteDomainResponse</p>
*/
public class DeleteDomainResponse 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 DeleteDomainResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
}
public static DeleteDomainResponse 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<DeleteDomainResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
@Override
DeleteDomainResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteDomainResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteDomainResponse 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 DeleteDomainResponse build() {
return new DeleteDomainResponse(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/DeleteDownloadJobRequest.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 DeleteDownloadJobRequest} extends {@link RequestModel}
*
* <p>DeleteDownloadJobRequest</p>
*/
public class DeleteDownloadJobRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("downloadJobName")
@com.aliyun.core.annotation.Validation(required = true)
private String downloadJobName;
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("project")
private String project;
private DeleteDownloadJobRequest(Builder builder) {
super(builder);
this.downloadJobName = builder.downloadJobName;
this.project = builder.project;
}
public static Builder builder() {
return new Builder();
}
public static DeleteDownloadJobRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return downloadJobName
*/
public String getDownloadJobName() {
return this.downloadJobName;
}
/**
* @return project
*/
public String getProject() {
return this.project;
}
public static final class Builder extends Request.Builder<DeleteDownloadJobRequest, Builder> {
private String downloadJobName;
private String project;
private Builder() {
super();
}
private Builder(DeleteDownloadJobRequest request) {
super(request);
this.downloadJobName = request.downloadJobName;
this.project = request.project;
}
/**
* <p>代表资源名称的资源属性字段</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>download-123</p>
*/
public Builder downloadJobName(String downloadJobName) {
this.putPathParameter("downloadJobName", downloadJobName);
this.downloadJobName = downloadJobName;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ali-test-project</p>
*/
public Builder project(String project) {
this.putHostParameter("project", project);
this.project = project;
return this;
}
@Override
public DeleteDownloadJobRequest build() {
return new DeleteDownloadJobRequest(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/DeleteDownloadJobResponse.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 DeleteDownloadJobResponse} extends {@link TeaModel}
*
* <p>DeleteDownloadJobResponse</p>
*/
public class DeleteDownloadJobResponse 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 DeleteDownloadJobResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
}
public static DeleteDownloadJobResponse 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<DeleteDownloadJobResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
@Override
DeleteDownloadJobResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteDownloadJobResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteDownloadJobResponse 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 DeleteDownloadJobResponse build() {
return new DeleteDownloadJobResponse(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/DeleteETLRequest.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 DeleteETLRequest} extends {@link RequestModel}
*
* <p>DeleteETLRequest</p>
*/
public class DeleteETLRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("project")
private String project;
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("etlName")
@com.aliyun.core.annotation.Validation(required = true)
private String etlName;
private DeleteETLRequest(Builder builder) {
super(builder);
this.project = builder.project;
this.etlName = builder.etlName;
}
public static Builder builder() {
return new Builder();
}
public static DeleteETLRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return project
*/
public String getProject() {
return this.project;
}
/**
* @return etlName
*/
public String getEtlName() {
return this.etlName;
}
public static final class Builder extends Request.Builder<DeleteETLRequest, Builder> {
private String project;
private String etlName;
private Builder() {
super();
}
private Builder(DeleteETLRequest request) {
super(request);
this.project = request.project;
this.etlName = request.etlName;
}
/**
* <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>etl-123456</p>
*/
public Builder etlName(String etlName) {
this.putPathParameter("etlName", etlName);
this.etlName = etlName;
return this;
}
@Override
public DeleteETLRequest build() {
return new DeleteETLRequest(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/DeleteETLResponse.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 DeleteETLResponse} extends {@link TeaModel}
*
* <p>DeleteETLResponse</p>
*/
public class DeleteETLResponse 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 DeleteETLResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
}
public static DeleteETLResponse 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<DeleteETLResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
@Override
DeleteETLResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteETLResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteETLResponse 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 DeleteETLResponse build() {
return new DeleteETLResponse(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/DeleteIndexRequest.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 DeleteIndexRequest} extends {@link RequestModel}
*
* <p>DeleteIndexRequest</p>
*/
public class DeleteIndexRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("logstore")
@com.aliyun.core.annotation.Validation(required = true)
private String logstore;
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("project")
private String project;
private DeleteIndexRequest(Builder builder) {
super(builder);
this.logstore = builder.logstore;
this.project = builder.project;
}
public static Builder builder() {
return new Builder();
}
public static DeleteIndexRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return logstore
*/
public String getLogstore() {
return this.logstore;
}
/**
* @return project
*/
public String getProject() {
return this.project;
}
public static final class Builder extends Request.Builder<DeleteIndexRequest, Builder> {
private String logstore;
private String project;
private Builder() {
super();
}
private Builder(DeleteIndexRequest request) {
super(request);
this.logstore = request.logstore;
this.project = request.project;
}
/**
* <p>The name of the Logstore.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ali-test-logstore</p>
*/
public Builder logstore(String logstore) {
this.putPathParameter("logstore", logstore);
this.logstore = logstore;
return this;
}
/**
* <p>The name of the project.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ali-test-project</p>
*/
public Builder project(String project) {
this.putHostParameter("project", project);
this.project = project;
return this;
}
@Override
public DeleteIndexRequest build() {
return new DeleteIndexRequest(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/DeleteIndexResponse.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 DeleteIndexResponse} extends {@link TeaModel}
*
* <p>DeleteIndexResponse</p>
*/
public class DeleteIndexResponse 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 DeleteIndexResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
}
public static DeleteIndexResponse 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<DeleteIndexResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
@Override
DeleteIndexResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteIndexResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteIndexResponse 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 DeleteIndexResponse build() {
return new DeleteIndexResponse(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/DeleteIngestProcessorRequest.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 DeleteIngestProcessorRequest} extends {@link RequestModel}
*
* <p>DeleteIngestProcessorRequest</p>
*/
public class DeleteIngestProcessorRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("project")
private String project;
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("processorName")
@com.aliyun.core.annotation.Validation(required = true)
private String processorName;
private DeleteIngestProcessorRequest(Builder builder) {
super(builder);
this.project = builder.project;
this.processorName = builder.processorName;
}
public static Builder builder() {
return new Builder();
}
public static DeleteIngestProcessorRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return project
*/
public String getProject() {
return this.project;
}
/**
* @return processorName
*/
public String getProcessorName() {
return this.processorName;
}
public static final class Builder extends Request.Builder<DeleteIngestProcessorRequest, Builder> {
private String project;
private String processorName;
private Builder() {
super();
}
private Builder(DeleteIngestProcessorRequest request) {
super(request);
this.project = request.project;
this.processorName = request.processorName;
}
/**
* <p>The name of the project.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ali-test-project</p>
*/
public Builder project(String project) {
this.putHostParameter("project", project);
this.project = project;
return this;
}
/**
* <p>The identifier of the ingest processor.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>parse-nginx-log</p>
*/
public Builder processorName(String processorName) {
this.putPathParameter("processorName", processorName);
this.processorName = processorName;
return this;
}
@Override
public DeleteIngestProcessorRequest build() {
return new DeleteIngestProcessorRequest(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/DeleteIngestProcessorResponse.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 DeleteIngestProcessorResponse} extends {@link TeaModel}
*
* <p>DeleteIngestProcessorResponse</p>
*/
public class DeleteIngestProcessorResponse 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 DeleteIngestProcessorResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
}
public static DeleteIngestProcessorResponse 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<DeleteIngestProcessorResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
@Override
DeleteIngestProcessorResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteIngestProcessorResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteIngestProcessorResponse 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 DeleteIngestProcessorResponse build() {
return new DeleteIngestProcessorResponse(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/DeleteLogStoreLogsTask.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 DeleteLogStoreLogsTask} extends {@link TeaModel}
*
* <p>DeleteLogStoreLogsTask</p>
*/
public class DeleteLogStoreLogsTask extends TeaModel {
@com.aliyun.core.annotation.NameInMap("errorCode")
private Integer errorCode;
@com.aliyun.core.annotation.NameInMap("errorMessage")
private String errorMessage;
@com.aliyun.core.annotation.NameInMap("from")
private Integer from;
@com.aliyun.core.annotation.NameInMap("progress")
private Integer progress;
@com.aliyun.core.annotation.NameInMap("query")
private String query;
@com.aliyun.core.annotation.NameInMap("taskId")
private String taskId;
@com.aliyun.core.annotation.NameInMap("to")
private Integer to;
private DeleteLogStoreLogsTask(Builder builder) {
this.errorCode = builder.errorCode;
this.errorMessage = builder.errorMessage;
this.from = builder.from;
this.progress = builder.progress;
this.query = builder.query;
this.taskId = builder.taskId;
this.to = builder.to;
}
public static Builder builder() {
return new Builder();
}
public static DeleteLogStoreLogsTask create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return errorCode
*/
public Integer getErrorCode() {
return this.errorCode;
}
/**
* @return errorMessage
*/
public String getErrorMessage() {
return this.errorMessage;
}
/**
* @return from
*/
public Integer getFrom() {
return this.from;
}
/**
* @return progress
*/
public Integer getProgress() {
return this.progress;
}
/**
* @return query
*/
public String getQuery() {
return this.query;
}
/**
* @return taskId
*/
public String getTaskId() {
return this.taskId;
}
/**
* @return to
*/
public Integer getTo() {
return this.to;
}
public static final class Builder {
private Integer errorCode;
private String errorMessage;
private Integer from;
private Integer progress;
private String query;
private String taskId;
private Integer to;
private Builder() {
}
private Builder(DeleteLogStoreLogsTask model) {
this.errorCode = model.errorCode;
this.errorMessage = model.errorMessage;
this.from = model.from;
this.progress = model.progress;
this.query = model.query;
this.taskId = model.taskId;
this.to = model.to;
}
/**
* errorCode.
*/
public Builder errorCode(Integer errorCode) {
this.errorCode = errorCode;
return this;
}
/**
* errorMessage.
*/
public Builder errorMessage(String errorMessage) {
this.errorMessage = errorMessage;
return this;
}
/**
* from.
*/
public Builder from(Integer from) {
this.from = from;
return this;
}
/**
* progress.
*/
public Builder progress(Integer progress) {
this.progress = progress;
return this;
}
/**
* query.
*/
public Builder query(String query) {
this.query = query;
return this;
}
/**
* taskId.
*/
public Builder taskId(String taskId) {
this.taskId = taskId;
return this;
}
/**
* to.
*/
public Builder to(Integer to) {
this.to = to;
return this;
}
public DeleteLogStoreLogsTask build() {
return new DeleteLogStoreLogsTask(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/DeleteLogStoreRequest.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 DeleteLogStoreRequest} extends {@link RequestModel}
*
* <p>DeleteLogStoreRequest</p>
*/
public class DeleteLogStoreRequest 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 DeleteLogStoreRequest(Builder builder) {
super(builder);
this.project = builder.project;
this.logstore = builder.logstore;
}
public static Builder builder() {
return new Builder();
}
public static DeleteLogStoreRequest 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<DeleteLogStoreRequest, Builder> {
private String project;
private String logstore;
private Builder() {
super();
}
private Builder(DeleteLogStoreRequest 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>aliyun-test-logstore</p>
*/
public Builder logstore(String logstore) {
this.putPathParameter("logstore", logstore);
this.logstore = logstore;
return this;
}
@Override
public DeleteLogStoreRequest build() {
return new DeleteLogStoreRequest(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/DeleteLogStoreResponse.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 DeleteLogStoreResponse} extends {@link TeaModel}
*
* <p>DeleteLogStoreResponse</p>
*/
public class DeleteLogStoreResponse 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 DeleteLogStoreResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
}
public static DeleteLogStoreResponse 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<DeleteLogStoreResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
@Override
DeleteLogStoreResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteLogStoreResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteLogStoreResponse 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 DeleteLogStoreResponse build() {
return new DeleteLogStoreResponse(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/DeleteLoggingRequest.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 DeleteLoggingRequest} extends {@link RequestModel}
*
* <p>DeleteLoggingRequest</p>
*/
public class DeleteLoggingRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("project")
private String project;
private DeleteLoggingRequest(Builder builder) {
super(builder);
this.project = builder.project;
}
public static Builder builder() {
return new Builder();
}
public static DeleteLoggingRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return project
*/
public String getProject() {
return this.project;
}
public static final class Builder extends Request.Builder<DeleteLoggingRequest, Builder> {
private String project;
private Builder() {
super();
}
private Builder(DeleteLoggingRequest request) {
super(request);
this.project = request.project;
}
/**
* <p>Project名称。</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ali-test-project</p>
*/
public Builder project(String project) {
this.putHostParameter("project", project);
this.project = project;
return this;
}
@Override
public DeleteLoggingRequest build() {
return new DeleteLoggingRequest(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/DeleteLoggingResponse.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 DeleteLoggingResponse} extends {@link TeaModel}
*
* <p>DeleteLoggingResponse</p>
*/
public class DeleteLoggingResponse 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 DeleteLoggingResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
}
public static DeleteLoggingResponse 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<DeleteLoggingResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
@Override
DeleteLoggingResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteLoggingResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteLoggingResponse 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 DeleteLoggingResponse build() {
return new DeleteLoggingResponse(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/DeleteLogtailPipelineConfigRequest.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 DeleteLogtailPipelineConfigRequest} extends {@link RequestModel}
*
* <p>DeleteLogtailPipelineConfigRequest</p>
*/
public class DeleteLogtailPipelineConfigRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("project")
private String project;
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("configName")
@com.aliyun.core.annotation.Validation(required = true)
private String configName;
private DeleteLogtailPipelineConfigRequest(Builder builder) {
super(builder);
this.project = builder.project;
this.configName = builder.configName;
}
public static Builder builder() {
return new Builder();
}
public static DeleteLogtailPipelineConfigRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return project
*/
public String getProject() {
return this.project;
}
/**
* @return configName
*/
public String getConfigName() {
return this.configName;
}
public static final class Builder extends Request.Builder<DeleteLogtailPipelineConfigRequest, Builder> {
private String project;
private String configName;
private Builder() {
super();
}
private Builder(DeleteLogtailPipelineConfigRequest request) {
super(request);
this.project = request.project;
this.configName = request.configName;
}
/**
* <p>The name of the project.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>test-project</p>
*/
public Builder project(String project) {
this.putHostParameter("project", project);
this.project = project;
return this;
}
/**
* <p>The name of the Logtail pipeline configuration.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>test-config</p>
*/
public Builder configName(String configName) {
this.putPathParameter("configName", configName);
this.configName = configName;
return this;
}
@Override
public DeleteLogtailPipelineConfigRequest build() {
return new DeleteLogtailPipelineConfigRequest(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/DeleteLogtailPipelineConfigResponse.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 DeleteLogtailPipelineConfigResponse} extends {@link TeaModel}
*
* <p>DeleteLogtailPipelineConfigResponse</p>
*/
public class DeleteLogtailPipelineConfigResponse 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 DeleteLogtailPipelineConfigResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
}
public static DeleteLogtailPipelineConfigResponse 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<DeleteLogtailPipelineConfigResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
@Override
DeleteLogtailPipelineConfigResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteLogtailPipelineConfigResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteLogtailPipelineConfigResponse 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 DeleteLogtailPipelineConfigResponse build() {
return new DeleteLogtailPipelineConfigResponse(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/DeleteMachineGroupRequest.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 DeleteMachineGroupRequest} extends {@link RequestModel}
*
* <p>DeleteMachineGroupRequest</p>
*/
public class DeleteMachineGroupRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("project")
private String project;
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("machineGroup")
@com.aliyun.core.annotation.Validation(required = true)
private String machineGroup;
private DeleteMachineGroupRequest(Builder builder) {
super(builder);
this.project = builder.project;
this.machineGroup = builder.machineGroup;
}
public static Builder builder() {
return new Builder();
}
public static DeleteMachineGroupRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return project
*/
public String getProject() {
return this.project;
}
/**
* @return machineGroup
*/
public String getMachineGroup() {
return this.machineGroup;
}
public static final class Builder extends Request.Builder<DeleteMachineGroupRequest, Builder> {
private String project;
private String machineGroup;
private Builder() {
super();
}
private Builder(DeleteMachineGroupRequest request) {
super(request);
this.project = request.project;
this.machineGroup = request.machineGroup;
}
/**
* <p>The name of the project.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ali-test-project</p>
*/
public Builder project(String project) {
this.putHostParameter("project", project);
this.project = project;
return this;
}
/**
* <p>The name of the machine group.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>test-machine-group-4</p>
*/
public Builder machineGroup(String machineGroup) {
this.putPathParameter("machineGroup", machineGroup);
this.machineGroup = machineGroup;
return this;
}
@Override
public DeleteMachineGroupRequest build() {
return new DeleteMachineGroupRequest(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/DeleteMachineGroupResponse.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 DeleteMachineGroupResponse} extends {@link TeaModel}
*
* <p>DeleteMachineGroupResponse</p>
*/
public class DeleteMachineGroupResponse 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 DeleteMachineGroupResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
}
public static DeleteMachineGroupResponse 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<DeleteMachineGroupResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
@Override
DeleteMachineGroupResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteMachineGroupResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteMachineGroupResponse 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 DeleteMachineGroupResponse build() {
return new DeleteMachineGroupResponse(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/DeleteMaxComputeExportRequest.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 DeleteMaxComputeExportRequest} extends {@link RequestModel}
*
* <p>DeleteMaxComputeExportRequest</p>
*/
public class DeleteMaxComputeExportRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("project")
private String project;
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("mcExportName")
@com.aliyun.core.annotation.Validation(required = true)
private String mcExportName;
private DeleteMaxComputeExportRequest(Builder builder) {
super(builder);
this.project = builder.project;
this.mcExportName = builder.mcExportName;
}
public static Builder builder() {
return new Builder();
}
public static DeleteMaxComputeExportRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return project
*/
public String getProject() {
return this.project;
}
/**
* @return mcExportName
*/
public String getMcExportName() {
return this.mcExportName;
}
public static final class Builder extends Request.Builder<DeleteMaxComputeExportRequest, Builder> {
private String project;
private String mcExportName;
private Builder() {
super();
}
private Builder(DeleteMaxComputeExportRequest request) {
super(request);
this.project = request.project;
this.mcExportName = request.mcExportName;
}
/**
* <p>The name of the project.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>my-project</p>
*/
public Builder project(String project) {
this.putHostParameter("project", project);
this.project = project;
return this;
}
/**
* <p>The unique name of the MaxCompute data shipping job. Make sure that the job exists.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>export-mc-1234567890-123456</p>
*/
public Builder mcExportName(String mcExportName) {
this.putPathParameter("mcExportName", mcExportName);
this.mcExportName = mcExportName;
return this;
}
@Override
public DeleteMaxComputeExportRequest build() {
return new DeleteMaxComputeExportRequest(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/DeleteMaxComputeExportResponse.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 DeleteMaxComputeExportResponse} extends {@link TeaModel}
*
* <p>DeleteMaxComputeExportResponse</p>
*/
public class DeleteMaxComputeExportResponse 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 DeleteMaxComputeExportResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
}
public static DeleteMaxComputeExportResponse 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<DeleteMaxComputeExportResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
@Override
DeleteMaxComputeExportResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteMaxComputeExportResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteMaxComputeExportResponse 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 DeleteMaxComputeExportResponse build() {
return new DeleteMaxComputeExportResponse(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/DeleteMetricStoreRequest.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 DeleteMetricStoreRequest} extends {@link RequestModel}
*
* <p>DeleteMetricStoreRequest</p>
*/
public class DeleteMetricStoreRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("project")
private String project;
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("name")
@com.aliyun.core.annotation.Validation(required = true)
private String name;
private DeleteMetricStoreRequest(Builder builder) {
super(builder);
this.project = builder.project;
this.name = builder.name;
}
public static Builder builder() {
return new Builder();
}
public static DeleteMetricStoreRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return project
*/
public String getProject() {
return this.project;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
public static final class Builder extends Request.Builder<DeleteMetricStoreRequest, Builder> {
private String project;
private String name;
private Builder() {
super();
}
private Builder(DeleteMetricStoreRequest request) {
super(request);
this.project = request.project;
this.name = request.name;
}
/**
* <p>The name of the project.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>my-project</p>
*/
public Builder project(String project) {
this.putHostParameter("project", project);
this.project = project;
return this;
}
/**
* <p>The name of the Metricstore.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>my_metric_store</p>
*/
public Builder name(String name) {
this.putPathParameter("name", name);
this.name = name;
return this;
}
@Override
public DeleteMetricStoreRequest build() {
return new DeleteMetricStoreRequest(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/DeleteMetricStoreResponse.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 DeleteMetricStoreResponse} extends {@link TeaModel}
*
* <p>DeleteMetricStoreResponse</p>
*/
public class DeleteMetricStoreResponse 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 DeleteMetricStoreResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
}
public static DeleteMetricStoreResponse 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<DeleteMetricStoreResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
@Override
DeleteMetricStoreResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteMetricStoreResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteMetricStoreResponse 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 DeleteMetricStoreResponse build() {
return new DeleteMetricStoreResponse(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/DeleteOSSExportRequest.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 DeleteOSSExportRequest} extends {@link RequestModel}
*
* <p>DeleteOSSExportRequest</p>
*/
public class DeleteOSSExportRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("project")
private String project;
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("ossExportName")
@com.aliyun.core.annotation.Validation(required = true)
private String ossExportName;
private DeleteOSSExportRequest(Builder builder) {
super(builder);
this.project = builder.project;
this.ossExportName = builder.ossExportName;
}
public static Builder builder() {
return new Builder();
}
public static DeleteOSSExportRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return project
*/
public String getProject() {
return this.project;
}
/**
* @return ossExportName
*/
public String getOssExportName() {
return this.ossExportName;
}
public static final class Builder extends Request.Builder<DeleteOSSExportRequest, Builder> {
private String project;
private String ossExportName;
private Builder() {
super();
}
private Builder(DeleteOSSExportRequest request) {
super(request);
this.project = request.project;
this.ossExportName = request.ossExportName;
}
/**
* <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>job-123456789-123456</p>
*/
public Builder ossExportName(String ossExportName) {
this.putPathParameter("ossExportName", ossExportName);
this.ossExportName = ossExportName;
return this;
}
@Override
public DeleteOSSExportRequest build() {
return new DeleteOSSExportRequest(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/DeleteOSSExportResponse.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 DeleteOSSExportResponse} extends {@link TeaModel}
*
* <p>DeleteOSSExportResponse</p>
*/
public class DeleteOSSExportResponse 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 DeleteOSSExportResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
}
public static DeleteOSSExportResponse 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<DeleteOSSExportResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
@Override
DeleteOSSExportResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteOSSExportResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteOSSExportResponse 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 DeleteOSSExportResponse build() {
return new DeleteOSSExportResponse(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/DeleteOSSHDFSExportRequest.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 DeleteOSSHDFSExportRequest} extends {@link RequestModel}
*
* <p>DeleteOSSHDFSExportRequest</p>
*/
public class DeleteOSSHDFSExportRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("project")
private String project;
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("ossExportName")
@com.aliyun.core.annotation.Validation(required = true)
private String ossExportName;
private DeleteOSSHDFSExportRequest(Builder builder) {
super(builder);
this.project = builder.project;
this.ossExportName = builder.ossExportName;
}
public static Builder builder() {
return new Builder();
}
public static DeleteOSSHDFSExportRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return project
*/
public String getProject() {
return this.project;
}
/**
* @return ossExportName
*/
public String getOssExportName() {
return this.ossExportName;
}
public static final class Builder extends Request.Builder<DeleteOSSHDFSExportRequest, Builder> {
private String project;
private String ossExportName;
private Builder() {
super();
}
private Builder(DeleteOSSHDFSExportRequest request) {
super(request);
this.project = request.project;
this.ossExportName = request.ossExportName;
}
/**
* <p>The name of the project.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ali-test-project</p>
*/
public Builder project(String project) {
this.putHostParameter("project", project);
this.project = project;
return this;
}
/**
* <p>The unique name of the job.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>job-123456789-123456</p>
*/
public Builder ossExportName(String ossExportName) {
this.putPathParameter("ossExportName", ossExportName);
this.ossExportName = ossExportName;
return this;
}
@Override
public DeleteOSSHDFSExportRequest build() {
return new DeleteOSSHDFSExportRequest(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/DeleteOSSHDFSExportResponse.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 DeleteOSSHDFSExportResponse} extends {@link TeaModel}
*
* <p>DeleteOSSHDFSExportResponse</p>
*/
public class DeleteOSSHDFSExportResponse 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 DeleteOSSHDFSExportResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
}
public static DeleteOSSHDFSExportResponse 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<DeleteOSSHDFSExportResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
@Override
DeleteOSSHDFSExportResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteOSSHDFSExportResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteOSSHDFSExportResponse 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 DeleteOSSHDFSExportResponse build() {
return new DeleteOSSHDFSExportResponse(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/DeleteOSSIngestionRequest.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 DeleteOSSIngestionRequest} extends {@link RequestModel}
*
* <p>DeleteOSSIngestionRequest</p>
*/
public class DeleteOSSIngestionRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("project")
private String project;
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("ossIngestionName")
@com.aliyun.core.annotation.Validation(required = true)
private String ossIngestionName;
private DeleteOSSIngestionRequest(Builder builder) {
super(builder);
this.project = builder.project;
this.ossIngestionName = builder.ossIngestionName;
}
public static Builder builder() {
return new Builder();
}
public static DeleteOSSIngestionRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return project
*/
public String getProject() {
return this.project;
}
/**
* @return ossIngestionName
*/
public String getOssIngestionName() {
return this.ossIngestionName;
}
public static final class Builder extends Request.Builder<DeleteOSSIngestionRequest, Builder> {
private String project;
private String ossIngestionName;
private Builder() {
super();
}
private Builder(DeleteOSSIngestionRequest request) {
super(request);
this.project = request.project;
this.ossIngestionName = request.ossIngestionName;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ali-test-project</p>
*/
public Builder project(String project) {
this.putHostParameter("project", project);
this.project = project;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ingest-oss-123456</p>
*/
public Builder ossIngestionName(String ossIngestionName) {
this.putPathParameter("ossIngestionName", ossIngestionName);
this.ossIngestionName = ossIngestionName;
return this;
}
@Override
public DeleteOSSIngestionRequest build() {
return new DeleteOSSIngestionRequest(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/DeleteOSSIngestionResponse.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 DeleteOSSIngestionResponse} extends {@link TeaModel}
*
* <p>DeleteOSSIngestionResponse</p>
*/
public class DeleteOSSIngestionResponse 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 DeleteOSSIngestionResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
}
public static DeleteOSSIngestionResponse 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<DeleteOSSIngestionResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
@Override
DeleteOSSIngestionResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteOSSIngestionResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteOSSIngestionResponse 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 DeleteOSSIngestionResponse build() {
return new DeleteOSSIngestionResponse(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/DeleteProjectPolicyRequest.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 DeleteProjectPolicyRequest} extends {@link RequestModel}
*
* <p>DeleteProjectPolicyRequest</p>
*/
public class DeleteProjectPolicyRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("project")
private String project;
private DeleteProjectPolicyRequest(Builder builder) {
super(builder);
this.project = builder.project;
}
public static Builder builder() {
return new Builder();
}
public static DeleteProjectPolicyRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return project
*/
public String getProject() {
return this.project;
}
public static final class Builder extends Request.Builder<DeleteProjectPolicyRequest, Builder> {
private String project;
private Builder() {
super();
}
private Builder(DeleteProjectPolicyRequest request) {
super(request);
this.project = request.project;
}
/**
* <p>The name of the project.</p>
*
* <strong>example:</strong>
* <p>ali-test-project</p>
*/
public Builder project(String project) {
this.putHostParameter("project", project);
this.project = project;
return this;
}
@Override
public DeleteProjectPolicyRequest build() {
return new DeleteProjectPolicyRequest(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/DeleteProjectPolicyResponse.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 DeleteProjectPolicyResponse} extends {@link TeaModel}
*
* <p>DeleteProjectPolicyResponse</p>
*/
public class DeleteProjectPolicyResponse 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 DeleteProjectPolicyResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
}
public static DeleteProjectPolicyResponse 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<DeleteProjectPolicyResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
@Override
DeleteProjectPolicyResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteProjectPolicyResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteProjectPolicyResponse 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 DeleteProjectPolicyResponse build() {
return new DeleteProjectPolicyResponse(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/DeleteProjectRequest.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 DeleteProjectRequest} extends {@link RequestModel}
*
* <p>DeleteProjectRequest</p>
*/
public class DeleteProjectRequest 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("forceDelete")
private Boolean forceDelete;
private DeleteProjectRequest(Builder builder) {
super(builder);
this.project = builder.project;
this.forceDelete = builder.forceDelete;
}
public static Builder builder() {
return new Builder();
}
public static DeleteProjectRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return project
*/
public String getProject() {
return this.project;
}
/**
* @return forceDelete
*/
public Boolean getForceDelete() {
return this.forceDelete;
}
public static final class Builder extends Request.Builder<DeleteProjectRequest, Builder> {
private String project;
private Boolean forceDelete;
private Builder() {
super();
}
private Builder(DeleteProjectRequest request) {
super(request);
this.project = request.project;
this.forceDelete = request.forceDelete;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ali-project-test</p>
*/
public Builder project(String project) {
this.putHostParameter("project", project);
this.project = project;
return this;
}
/**
* forceDelete.
*/
public Builder forceDelete(Boolean forceDelete) {
this.putQueryParameter("forceDelete", forceDelete);
this.forceDelete = forceDelete;
return this;
}
@Override
public DeleteProjectRequest build() {
return new DeleteProjectRequest(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/DeleteProjectResponse.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 DeleteProjectResponse} extends {@link TeaModel}
*
* <p>DeleteProjectResponse</p>
*/
public class DeleteProjectResponse 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 DeleteProjectResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
}
public static DeleteProjectResponse 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<DeleteProjectResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
@Override
DeleteProjectResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteProjectResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteProjectResponse 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 DeleteProjectResponse build() {
return new DeleteProjectResponse(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/DeleteS3IngestionRequest.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 DeleteS3IngestionRequest} extends {@link RequestModel}
*
* <p>DeleteS3IngestionRequest</p>
*/
public class DeleteS3IngestionRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("project")
private String project;
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("s3IngestionName")
@com.aliyun.core.annotation.Validation(required = true)
private String s3IngestionName;
private DeleteS3IngestionRequest(Builder builder) {
super(builder);
this.project = builder.project;
this.s3IngestionName = builder.s3IngestionName;
}
public static Builder builder() {
return new Builder();
}
public static DeleteS3IngestionRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return project
*/
public String getProject() {
return this.project;
}
/**
* @return s3IngestionName
*/
public String getS3IngestionName() {
return this.s3IngestionName;
}
public static final class Builder extends Request.Builder<DeleteS3IngestionRequest, Builder> {
private String project;
private String s3IngestionName;
private Builder() {
super();
}
private Builder(DeleteS3IngestionRequest request) {
super(request);
this.project = request.project;
this.s3IngestionName = request.s3IngestionName;
}
/**
* <p>This parameter is required.</p>
*/
public Builder project(String project) {
this.putHostParameter("project", project);
this.project = project;
return this;
}
/**
* <p>This parameter is required.</p>
*/
public Builder s3IngestionName(String s3IngestionName) {
this.putPathParameter("s3IngestionName", s3IngestionName);
this.s3IngestionName = s3IngestionName;
return this;
}
@Override
public DeleteS3IngestionRequest build() {
return new DeleteS3IngestionRequest(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/DeleteS3IngestionResponse.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 DeleteS3IngestionResponse} extends {@link TeaModel}
*
* <p>DeleteS3IngestionResponse</p>
*/
public class DeleteS3IngestionResponse 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 DeleteS3IngestionResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
}
public static DeleteS3IngestionResponse 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<DeleteS3IngestionResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
@Override
DeleteS3IngestionResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteS3IngestionResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteS3IngestionResponse 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 DeleteS3IngestionResponse build() {
return new DeleteS3IngestionResponse(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/DeleteSavedSearchRequest.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 DeleteSavedSearchRequest} extends {@link RequestModel}
*
* <p>DeleteSavedSearchRequest</p>
*/
public class DeleteSavedSearchRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("project")
private String project;
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("savedsearchName")
@com.aliyun.core.annotation.Validation(required = true)
private String savedsearchName;
private DeleteSavedSearchRequest(Builder builder) {
super(builder);
this.project = builder.project;
this.savedsearchName = builder.savedsearchName;
}
public static Builder builder() {
return new Builder();
}
public static DeleteSavedSearchRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return project
*/
public String getProject() {
return this.project;
}
/**
* @return savedsearchName
*/
public String getSavedsearchName() {
return this.savedsearchName;
}
public static final class Builder extends Request.Builder<DeleteSavedSearchRequest, Builder> {
private String project;
private String savedsearchName;
private Builder() {
super();
}
private Builder(DeleteSavedSearchRequest request) {
super(request);
this.project = request.project;
this.savedsearchName = request.savedsearchName;
}
/**
* <p>The name of the project.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ali-test-project</p>
*/
public Builder project(String project) {
this.putHostParameter("project", project);
this.project = project;
return this;
}
/**
* <p>The name of the saved search to be deleted.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>test-savedsearch-name</p>
*/
public Builder savedsearchName(String savedsearchName) {
this.putPathParameter("savedsearchName", savedsearchName);
this.savedsearchName = savedsearchName;
return this;
}
@Override
public DeleteSavedSearchRequest build() {
return new DeleteSavedSearchRequest(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/DeleteSavedSearchResponse.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 DeleteSavedSearchResponse} extends {@link TeaModel}
*
* <p>DeleteSavedSearchResponse</p>
*/
public class DeleteSavedSearchResponse 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 DeleteSavedSearchResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
}
public static DeleteSavedSearchResponse 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<DeleteSavedSearchResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
@Override
DeleteSavedSearchResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteSavedSearchResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteSavedSearchResponse 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 DeleteSavedSearchResponse build() {
return new DeleteSavedSearchResponse(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/DeleteScheduledSQLRequest.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 DeleteScheduledSQLRequest} extends {@link RequestModel}
*
* <p>DeleteScheduledSQLRequest</p>
*/
public class DeleteScheduledSQLRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("project")
private String project;
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("scheduledSQLName")
@com.aliyun.core.annotation.Validation(required = true)
private String scheduledSQLName;
private DeleteScheduledSQLRequest(Builder builder) {
super(builder);
this.project = builder.project;
this.scheduledSQLName = builder.scheduledSQLName;
}
public static Builder builder() {
return new Builder();
}
public static DeleteScheduledSQLRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return project
*/
public String getProject() {
return this.project;
}
/**
* @return scheduledSQLName
*/
public String getScheduledSQLName() {
return this.scheduledSQLName;
}
public static final class Builder extends Request.Builder<DeleteScheduledSQLRequest, Builder> {
private String project;
private String scheduledSQLName;
private Builder() {
super();
}
private Builder(DeleteScheduledSQLRequest request) {
super(request);
this.project = request.project;
this.scheduledSQLName = request.scheduledSQLName;
}
/**
* <p>The name of the project.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ali-test-project</p>
*/
public Builder project(String project) {
this.putHostParameter("project", project);
this.project = project;
return this;
}
/**
* <p>The unique name of the job. Make sure that the job exists.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>sql-123456789-123456</p>
*/
public Builder scheduledSQLName(String scheduledSQLName) {
this.putPathParameter("scheduledSQLName", scheduledSQLName);
this.scheduledSQLName = scheduledSQLName;
return this;
}
@Override
public DeleteScheduledSQLRequest build() {
return new DeleteScheduledSQLRequest(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/DeleteScheduledSQLResponse.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 DeleteScheduledSQLResponse} extends {@link TeaModel}
*
* <p>DeleteScheduledSQLResponse</p>
*/
public class DeleteScheduledSQLResponse 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 DeleteScheduledSQLResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
}
public static DeleteScheduledSQLResponse 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<DeleteScheduledSQLResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
@Override
DeleteScheduledSQLResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteScheduledSQLResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteScheduledSQLResponse 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 DeleteScheduledSQLResponse build() {
return new DeleteScheduledSQLResponse(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/DeleteStoreViewRequest.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 DeleteStoreViewRequest} extends {@link RequestModel}
*
* <p>DeleteStoreViewRequest</p>
*/
public class DeleteStoreViewRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("project")
private String project;
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("name")
@com.aliyun.core.annotation.Validation(required = true)
private String name;
private DeleteStoreViewRequest(Builder builder) {
super(builder);
this.project = builder.project;
this.name = builder.name;
}
public static Builder builder() {
return new Builder();
}
public static DeleteStoreViewRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return project
*/
public String getProject() {
return this.project;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
public static final class Builder extends Request.Builder<DeleteStoreViewRequest, Builder> {
private String project;
private String name;
private Builder() {
super();
}
private Builder(DeleteStoreViewRequest request) {
super(request);
this.project = request.project;
this.name = request.name;
}
/**
* <p>The name of the project.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>example-project</p>
*/
public Builder project(String project) {
this.putHostParameter("project", project);
this.project = project;
return this;
}
/**
* <p>The name of the dataset.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>my_storeview</p>
*/
public Builder name(String name) {
this.putPathParameter("name", name);
this.name = name;
return this;
}
@Override
public DeleteStoreViewRequest build() {
return new DeleteStoreViewRequest(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/DeleteStoreViewResponse.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 DeleteStoreViewResponse} extends {@link TeaModel}
*
* <p>DeleteStoreViewResponse</p>
*/
public class DeleteStoreViewResponse 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 DeleteStoreViewResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
}
public static DeleteStoreViewResponse 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<DeleteStoreViewResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
@Override
DeleteStoreViewResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteStoreViewResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteStoreViewResponse 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 DeleteStoreViewResponse build() {
return new DeleteStoreViewResponse(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/DescribeRegionsRequest.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 DescribeRegionsRequest} extends {@link RequestModel}
*
* <p>DescribeRegionsRequest</p>
*/
public class DescribeRegionsRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("language")
private String language;
private DescribeRegionsRequest(Builder builder) {
super(builder);
this.language = builder.language;
}
public static Builder builder() {
return new Builder();
}
public static DescribeRegionsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return language
*/
public String getLanguage() {
return this.language;
}
public static final class Builder extends Request.Builder<DescribeRegionsRequest, Builder> {
private String language;
private Builder() {
super();
}
private Builder(DescribeRegionsRequest request) {
super(request);
this.language = request.language;
}
/**
* <p>The language of the localName parameter that is returned.</p>
* <p>Valid values:</p>
* <ul>
* <li>ja</li>
* <li>en</li>
* <li>zh</li>
* </ul>
*
* <strong>example:</strong>
* <p>zh</p>
*/
public Builder language(String language) {
this.putQueryParameter("language", language);
this.language = language;
return this;
}
@Override
public DescribeRegionsRequest build() {
return new DescribeRegionsRequest(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/DescribeRegionsResponse.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 DescribeRegionsResponse} extends {@link TeaModel}
*
* <p>DescribeRegionsResponse</p>
*/
public class DescribeRegionsResponse 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 DescribeRegionsResponseBody body;
private DescribeRegionsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeRegionsResponse 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 DescribeRegionsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeRegionsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeRegionsResponseBody body);
@Override
DescribeRegionsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeRegionsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeRegionsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeRegionsResponse 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(DescribeRegionsResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeRegionsResponse build() {
return new DescribeRegionsResponse(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/DescribeRegionsResponseBody.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 DescribeRegionsResponseBody} extends {@link TeaModel}
*
* <p>DescribeRegionsResponseBody</p>
*/
public class DescribeRegionsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("regions")
private java.util.List<Regions> regions;
private DescribeRegionsResponseBody(Builder builder) {
this.regions = builder.regions;
}
public static Builder builder() {
return new Builder();
}
public static DescribeRegionsResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return regions
*/
public java.util.List<Regions> getRegions() {
return this.regions;
}
public static final class Builder {
private java.util.List<Regions> regions;
private Builder() {
}
private Builder(DescribeRegionsResponseBody model) {
this.regions = model.regions;
}
/**
* regions.
*/
public Builder regions(java.util.List<Regions> regions) {
this.regions = regions;
return this;
}
public DescribeRegionsResponseBody build() {
return new DescribeRegionsResponseBody(this);
}
}
/**
*
* {@link DescribeRegionsResponseBody} extends {@link TeaModel}
*
* <p>DescribeRegionsResponseBody</p>
*/
public static class Regions extends TeaModel {
@com.aliyun.core.annotation.NameInMap("dataRedundancyType")
private java.util.List<String> dataRedundancyType;
@com.aliyun.core.annotation.NameInMap("internetEndpoint")
private String internetEndpoint;
@com.aliyun.core.annotation.NameInMap("intranetEndpoint")
private String intranetEndpoint;
@com.aliyun.core.annotation.NameInMap("localName")
private String localName;
@com.aliyun.core.annotation.NameInMap("region")
private String region;
private Regions(Builder builder) {
this.dataRedundancyType = builder.dataRedundancyType;
this.internetEndpoint = builder.internetEndpoint;
this.intranetEndpoint = builder.intranetEndpoint;
this.localName = builder.localName;
this.region = builder.region;
}
public static Builder builder() {
return new Builder();
}
public static Regions create() {
return builder().build();
}
/**
* @return dataRedundancyType
*/
public java.util.List<String> getDataRedundancyType() {
return this.dataRedundancyType;
}
/**
* @return internetEndpoint
*/
public String getInternetEndpoint() {
return this.internetEndpoint;
}
/**
* @return intranetEndpoint
*/
public String getIntranetEndpoint() {
return this.intranetEndpoint;
}
/**
* @return localName
*/
public String getLocalName() {
return this.localName;
}
/**
* @return region
*/
public String getRegion() {
return this.region;
}
public static final class Builder {
private java.util.List<String> dataRedundancyType;
private String internetEndpoint;
private String intranetEndpoint;
private String localName;
private String region;
private Builder() {
}
private Builder(Regions model) {
this.dataRedundancyType = model.dataRedundancyType;
this.internetEndpoint = model.internetEndpoint;
this.intranetEndpoint = model.intranetEndpoint;
this.localName = model.localName;
this.region = model.region;
}
/**
* dataRedundancyType.
*/
public Builder dataRedundancyType(java.util.List<String> dataRedundancyType) {
this.dataRedundancyType = dataRedundancyType;
return this;
}
/**
* <p>The public endpoint of Simple Log Service.</p>
*/
public Builder internetEndpoint(String internetEndpoint) {
this.internetEndpoint = internetEndpoint;
return this;
}
/**
* <p>The internal endpoint of Simple Log Service.</p>
*/
public Builder intranetEndpoint(String intranetEndpoint) {
this.intranetEndpoint = intranetEndpoint;
return this;
}
/**
* <p>The name of the Simple Log Service region.</p>
*/
public Builder localName(String localName) {
this.localName = localName;
return this;
}
/**
* <p>SLS region</p>
*/
public Builder region(String region) {
this.region = region;
return this;
}
public Regions build() {
return new Regions(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/DisableAlertRequest.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 DisableAlertRequest} extends {@link RequestModel}
*
* <p>DisableAlertRequest</p>
*/
public class DisableAlertRequest 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("alertName")
@com.aliyun.core.annotation.Validation(required = true)
private String alertName;
private DisableAlertRequest(Builder builder) {
super(builder);
this.project = builder.project;
this.alertName = builder.alertName;
}
public static Builder builder() {
return new Builder();
}
public static DisableAlertRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return project
*/
public String getProject() {
return this.project;
}
/**
* @return alertName
*/
public String getAlertName() {
return this.alertName;
}
public static final class Builder extends Request.Builder<DisableAlertRequest, Builder> {
private String project;
private String alertName;
private Builder() {
super();
}
private Builder(DisableAlertRequest request) {
super(request);
this.project = request.project;
this.alertName = request.alertName;
}
/**
* <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 ID of the alert rule.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>alert-0123456789-123456</p>
*/
public Builder alertName(String alertName) {
this.putPathParameter("alertName", alertName);
this.alertName = alertName;
return this;
}
@Override
public DisableAlertRequest build() {
return new DisableAlertRequest(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/DisableAlertResponse.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 DisableAlertResponse} extends {@link TeaModel}
*
* <p>DisableAlertResponse</p>
*/
public class DisableAlertResponse 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 DisableAlertResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
}
public static DisableAlertResponse 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<DisableAlertResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
@Override
DisableAlertResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DisableAlertResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private BuilderImpl() {
super();
}
private BuilderImpl(DisableAlertResponse 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 DisableAlertResponse build() {
return new DisableAlertResponse(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/DisableScheduledSQLRequest.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 DisableScheduledSQLRequest} extends {@link RequestModel}
*
* <p>DisableScheduledSQLRequest</p>
*/
public class DisableScheduledSQLRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("project")
private String project;
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("scheduledSQLName")
@com.aliyun.core.annotation.Validation(required = true)
private String scheduledSQLName;
private DisableScheduledSQLRequest(Builder builder) {
super(builder);
this.project = builder.project;
this.scheduledSQLName = builder.scheduledSQLName;
}
public static Builder builder() {
return new Builder();
}
public static DisableScheduledSQLRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return project
*/
public String getProject() {
return this.project;
}
/**
* @return scheduledSQLName
*/
public String getScheduledSQLName() {
return this.scheduledSQLName;
}
public static final class Builder extends Request.Builder<DisableScheduledSQLRequest, Builder> {
private String project;
private String scheduledSQLName;
private Builder() {
super();
}
private Builder(DisableScheduledSQLRequest request) {
super(request);
this.project = request.project;
this.scheduledSQLName = request.scheduledSQLName;
}
/**
* <p>The name of the project.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ali-test-project</p>
*/
public Builder project(String project) {
this.putHostParameter("project", project);
this.project = project;
return this;
}
/**
* <p>The unique name of the job. Make sure that the job exists.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>sql-123456789-123456</p>
*/
public Builder scheduledSQLName(String scheduledSQLName) {
this.putPathParameter("scheduledSQLName", scheduledSQLName);
this.scheduledSQLName = scheduledSQLName;
return this;
}
@Override
public DisableScheduledSQLRequest build() {
return new DisableScheduledSQLRequest(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/DisableScheduledSQLResponse.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 DisableScheduledSQLResponse} extends {@link TeaModel}
*
* <p>DisableScheduledSQLResponse</p>
*/
public class DisableScheduledSQLResponse 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 DisableScheduledSQLResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
}
public static DisableScheduledSQLResponse 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<DisableScheduledSQLResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
@Override
DisableScheduledSQLResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DisableScheduledSQLResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private BuilderImpl() {
super();
}
private BuilderImpl(DisableScheduledSQLResponse 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 DisableScheduledSQLResponse build() {
return new DisableScheduledSQLResponse(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/ESIngestion.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 ESIngestion} extends {@link TeaModel}
*
* <p>ESIngestion</p>
*/
public class ESIngestion extends TeaModel {
@com.aliyun.core.annotation.NameInMap("configuration")
@com.aliyun.core.annotation.Validation(required = true)
private ESIngestionConfiguration 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 ESIngestion(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 ESIngestion create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return configuration
*/
public ESIngestionConfiguration 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 ESIngestionConfiguration 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(ESIngestion 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(ESIngestionConfiguration 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>es 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-es-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 ESIngestion build() {
return new ESIngestion(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/ESIngestionConfiguration.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 ESIngestionConfiguration} extends {@link TeaModel}
*
* <p>ESIngestionConfiguration</p>
*/
public class ESIngestionConfiguration 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 ESIngestionConfigurationSource source;
private ESIngestionConfiguration(Builder builder) {
this.logstore = builder.logstore;
this.source = builder.source;
}
public static Builder builder() {
return new Builder();
}
public static ESIngestionConfiguration create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return logstore
*/
public String getLogstore() {
return this.logstore;
}
/**
* @return source
*/
public ESIngestionConfigurationSource getSource() {
return this.source;
}
public static final class Builder {
private String logstore;
private ESIngestionConfigurationSource source;
private Builder() {
}
private Builder(ESIngestionConfiguration model) {
this.logstore = model.logstore;
this.source = model.source;
}
/**
* <p>This parameter is required.</p>
*/
public Builder logstore(String logstore) {
this.logstore = logstore;
return this;
}
/**
* <p>This parameter is required.</p>
*/
public Builder source(ESIngestionConfigurationSource source) {
this.source = source;
return this;
}
public ESIngestionConfiguration build() {
return new ESIngestionConfiguration(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/ESIngestionConfigurationSource.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 ESIngestionConfigurationSource} extends {@link TeaModel}
*
* <p>ESIngestionConfigurationSource</p>
*/
public class ESIngestionConfigurationSource extends TeaModel {
@com.aliyun.core.annotation.NameInMap("BootstrapServers")
@com.aliyun.core.annotation.Validation(required = true)
private String bootstrapServers;
@com.aliyun.core.annotation.NameInMap("Index")
@com.aliyun.core.annotation.Validation(required = true)
private String index;
@com.aliyun.core.annotation.NameInMap("MinFragRangeSec")
@com.aliyun.core.annotation.Validation(required = true)
private Long minFragRangeSec;
@com.aliyun.core.annotation.NameInMap("connectorMode")
@com.aliyun.core.annotation.Validation(required = true)
private String connectorMode;
@com.aliyun.core.annotation.NameInMap("endTime")
private Long endTime;
@com.aliyun.core.annotation.NameInMap("maxDataDelaySec")
@com.aliyun.core.annotation.Validation(required = true)
private Long maxDataDelaySec;
@com.aliyun.core.annotation.NameInMap("password")
private String password;
@com.aliyun.core.annotation.NameInMap("query")
@com.aliyun.core.annotation.Validation(required = true)
private String query;
@com.aliyun.core.annotation.NameInMap("startTime")
private Long startTime;
@com.aliyun.core.annotation.NameInMap("timeFieldName")
private String timeFieldName;
@com.aliyun.core.annotation.NameInMap("timeFormat")
private String timeFormat;
@com.aliyun.core.annotation.NameInMap("timeZone")
private String timeZone;
@com.aliyun.core.annotation.NameInMap("username")
private String username;
@com.aliyun.core.annotation.NameInMap("vpcId")
private String vpcId;
private ESIngestionConfigurationSource(Builder builder) {
this.bootstrapServers = builder.bootstrapServers;
this.index = builder.index;
this.minFragRangeSec = builder.minFragRangeSec;
this.connectorMode = builder.connectorMode;
this.endTime = builder.endTime;
this.maxDataDelaySec = builder.maxDataDelaySec;
this.password = builder.password;
this.query = builder.query;
this.startTime = builder.startTime;
this.timeFieldName = builder.timeFieldName;
this.timeFormat = builder.timeFormat;
this.timeZone = builder.timeZone;
this.username = builder.username;
this.vpcId = builder.vpcId;
}
public static Builder builder() {
return new Builder();
}
public static ESIngestionConfigurationSource create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return bootstrapServers
*/
public String getBootstrapServers() {
return this.bootstrapServers;
}
/**
* @return index
*/
public String getIndex() {
return this.index;
}
/**
* @return minFragRangeSec
*/
public Long getMinFragRangeSec() {
return this.minFragRangeSec;
}
/**
* @return connectorMode
*/
public String getConnectorMode() {
return this.connectorMode;
}
/**
* @return endTime
*/
public Long getEndTime() {
return this.endTime;
}
/**
* @return maxDataDelaySec
*/
public Long getMaxDataDelaySec() {
return this.maxDataDelaySec;
}
/**
* @return password
*/
public String getPassword() {
return this.password;
}
/**
* @return query
*/
public String getQuery() {
return this.query;
}
/**
* @return startTime
*/
public Long getStartTime() {
return this.startTime;
}
/**
* @return timeFieldName
*/
public String getTimeFieldName() {
return this.timeFieldName;
}
/**
* @return timeFormat
*/
public String getTimeFormat() {
return this.timeFormat;
}
/**
* @return timeZone
*/
public String getTimeZone() {
return this.timeZone;
}
/**
* @return username
*/
public String getUsername() {
return this.username;
}
/**
* @return vpcId
*/
public String getVpcId() {
return this.vpcId;
}
public static final class Builder {
private String bootstrapServers;
private String index;
private Long minFragRangeSec;
private String connectorMode;
private Long endTime;
private Long maxDataDelaySec;
private String password;
private String query;
private Long startTime;
private String timeFieldName;
private String timeFormat;
private String timeZone;
private String username;
private String vpcId;
private Builder() {
}
private Builder(ESIngestionConfigurationSource model) {
this.bootstrapServers = model.bootstrapServers;
this.index = model.index;
this.minFragRangeSec = model.minFragRangeSec;
this.connectorMode = model.connectorMode;
this.endTime = model.endTime;
this.maxDataDelaySec = model.maxDataDelaySec;
this.password = model.password;
this.query = model.query;
this.startTime = model.startTime;
this.timeFieldName = model.timeFieldName;
this.timeFormat = model.timeFormat;
this.timeZone = model.timeZone;
this.username = model.username;
this.vpcId = model.vpcId;
}
/**
* <p>This parameter is required.</p>
*/
public Builder bootstrapServers(String bootstrapServers) {
this.bootstrapServers = bootstrapServers;
return this;
}
/**
* <p>This parameter is required.</p>
*/
public Builder index(String index) {
this.index = index;
return this;
}
/**
* <p>This parameter is required.</p>
*/
public Builder minFragRangeSec(Long minFragRangeSec) {
this.minFragRangeSec = minFragRangeSec;
return this;
}
/**
* <p>This parameter is required.</p>
*/
public Builder connectorMode(String connectorMode) {
this.connectorMode = connectorMode;
return this;
}
/**
* endTime.
*/
public Builder endTime(Long endTime) {
this.endTime = endTime;
return this;
}
/**
* <p>This parameter is required.</p>
*/
public Builder maxDataDelaySec(Long maxDataDelaySec) {
this.maxDataDelaySec = maxDataDelaySec;
return this;
}
/**
* password.
*/
public Builder password(String password) {
this.password = password;
return this;
}
/**
* <p>This parameter is required.</p>
*/
public Builder query(String query) {
this.query = query;
return this;
}
/**
* startTime.
*/
public Builder startTime(Long startTime) {
this.startTime = startTime;
return this;
}
/**
* timeFieldName.
*/
public Builder timeFieldName(String timeFieldName) {
this.timeFieldName = timeFieldName;
return this;
}
/**
* timeFormat.
*/
public Builder timeFormat(String timeFormat) {
this.timeFormat = timeFormat;
return this;
}
/**
* timeZone.
*/
public Builder timeZone(String timeZone) {
this.timeZone = timeZone;
return this;
}
/**
* username.
*/
public Builder username(String username) {
this.username = username;
return this;
}
/**
* vpcId.
*/
public Builder vpcId(String vpcId) {
this.vpcId = vpcId;
return this;
}
public ESIngestionConfigurationSource build() {
return new ESIngestionConfigurationSource(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/ETL.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 ETL} extends {@link TeaModel}
*
* <p>ETL</p>
*/
public class ETL extends TeaModel {
@com.aliyun.core.annotation.NameInMap("configuration")
@com.aliyun.core.annotation.Validation(required = true)
private ETLConfiguration 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 ETL(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 ETL create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return configuration
*/
public ETLConfiguration 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 ETLConfiguration 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(ETL 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(ETLConfiguration 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>etljob</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>etl-20240426</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 ETL build() {
return new ETL(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/ETLConfiguration.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 ETLConfiguration} extends {@link TeaModel}
*
* <p>ETLConfiguration</p>
*/
public class ETLConfiguration extends TeaModel {
@com.aliyun.core.annotation.NameInMap("accessKeyId")
@Deprecated
private String accessKeyId;
@com.aliyun.core.annotation.NameInMap("accessKeySecret")
@Deprecated
private String accessKeySecret;
@com.aliyun.core.annotation.NameInMap("fromTime")
@com.aliyun.core.annotation.Validation(required = true)
private Long fromTime;
@com.aliyun.core.annotation.NameInMap("lang")
private String lang;
@com.aliyun.core.annotation.NameInMap("logstore")
@com.aliyun.core.annotation.Validation(required = true)
private String logstore;
@com.aliyun.core.annotation.NameInMap("parameters")
private java.util.Map<String, ?> parameters;
@com.aliyun.core.annotation.NameInMap("roleArn")
@com.aliyun.core.annotation.Validation(required = true)
private String roleArn;
@com.aliyun.core.annotation.NameInMap("script")
@com.aliyun.core.annotation.Validation(required = true)
private String script;
@com.aliyun.core.annotation.NameInMap("sinks")
@com.aliyun.core.annotation.Validation(required = true)
private java.util.List<ETLConfigurationSink> sinks;
@com.aliyun.core.annotation.NameInMap("toTime")
@com.aliyun.core.annotation.Validation(required = true)
private Long toTime;
private ETLConfiguration(Builder builder) {
this.accessKeyId = builder.accessKeyId;
this.accessKeySecret = builder.accessKeySecret;
this.fromTime = builder.fromTime;
this.lang = builder.lang;
this.logstore = builder.logstore;
this.parameters = builder.parameters;
this.roleArn = builder.roleArn;
this.script = builder.script;
this.sinks = builder.sinks;
this.toTime = builder.toTime;
}
public static Builder builder() {
return new Builder();
}
public static ETLConfiguration create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return accessKeyId
*/
public String getAccessKeyId() {
return this.accessKeyId;
}
/**
* @return accessKeySecret
*/
public String getAccessKeySecret() {
return this.accessKeySecret;
}
/**
* @return fromTime
*/
public Long getFromTime() {
return this.fromTime;
}
/**
* @return lang
*/
public String getLang() {
return this.lang;
}
/**
* @return logstore
*/
public String getLogstore() {
return this.logstore;
}
/**
* @return parameters
*/
public java.util.Map<String, ?> getParameters() {
return this.parameters;
}
/**
* @return roleArn
*/
public String getRoleArn() {
return this.roleArn;
}
/**
* @return script
*/
public String getScript() {
return this.script;
}
/**
* @return sinks
*/
public java.util.List<ETLConfigurationSink> getSinks() {
return this.sinks;
}
/**
* @return toTime
*/
public Long getToTime() {
return this.toTime;
}
public static final class Builder {
private String accessKeyId;
private String accessKeySecret;
private Long fromTime;
private String lang;
private String logstore;
private java.util.Map<String, ?> parameters;
private String roleArn;
private String script;
private java.util.List<ETLConfigurationSink> sinks;
private Long toTime;
private Builder() {
}
private Builder(ETLConfiguration model) {
this.accessKeyId = model.accessKeyId;
this.accessKeySecret = model.accessKeySecret;
this.fromTime = model.fromTime;
this.lang = model.lang;
this.logstore = model.logstore;
this.parameters = model.parameters;
this.roleArn = model.roleArn;
this.script = model.script;
this.sinks = model.sinks;
this.toTime = model.toTime;
}
/**
* accessKeyId.
*/
public Builder accessKeyId(String accessKeyId) {
this.accessKeyId = accessKeyId;
return this;
}
/**
* accessKeySecret.
*/
public Builder accessKeySecret(String accessKeySecret) {
this.accessKeySecret = accessKeySecret;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>1714274900</p>
*/
public Builder fromTime(Long fromTime) {
this.fromTime = fromTime;
return this;
}
/**
* lang.
*/
public Builder lang(String lang) {
this.lang = lang;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>test-logstore</p>
*/
public Builder logstore(String logstore) {
this.logstore = logstore;
return this;
}
/**
* parameters.
*/
public Builder parameters(java.util.Map<String, ?> parameters) {
this.parameters = parameters;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>acs:ram::13234:role/logtarget</p>
*/
public Builder roleArn(String roleArn) {
this.roleArn = roleArn;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>e_set("key","value")</p>
*/
public Builder script(String script) {
this.script = script;
return this;
}
/**
* <p>This parameter is required.</p>
*/
public Builder sinks(java.util.List<ETLConfigurationSink> sinks) {
this.sinks = sinks;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>1714274970</p>
*/
public Builder toTime(Long toTime) {
this.toTime = toTime;
return this;
}
public ETLConfiguration build() {
return new ETLConfiguration(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/ETLConfigurationSink.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 ETLConfigurationSink} extends {@link TeaModel}
*
* <p>ETLConfigurationSink</p>
*/
public class ETLConfigurationSink extends TeaModel {
@com.aliyun.core.annotation.NameInMap("accessKeyId")
@Deprecated
private String accessKeyId;
@com.aliyun.core.annotation.NameInMap("accessKeySecret")
@Deprecated
private String accessKeySecret;
@com.aliyun.core.annotation.NameInMap("datasets")
private java.util.List<String> datasets;
@com.aliyun.core.annotation.NameInMap("endpoint")
private String endpoint;
@com.aliyun.core.annotation.NameInMap("logstore")
@com.aliyun.core.annotation.Validation(required = true)
private String logstore;
@com.aliyun.core.annotation.NameInMap("name")
@com.aliyun.core.annotation.Validation(required = true)
private String name;
@com.aliyun.core.annotation.NameInMap("project")
@com.aliyun.core.annotation.Validation(required = true)
private String project;
@com.aliyun.core.annotation.NameInMap("roleArn")
@com.aliyun.core.annotation.Validation(required = true)
private String roleArn;
private ETLConfigurationSink(Builder builder) {
this.accessKeyId = builder.accessKeyId;
this.accessKeySecret = builder.accessKeySecret;
this.datasets = builder.datasets;
this.endpoint = builder.endpoint;
this.logstore = builder.logstore;
this.name = builder.name;
this.project = builder.project;
this.roleArn = builder.roleArn;
}
public static Builder builder() {
return new Builder();
}
public static ETLConfigurationSink create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return accessKeyId
*/
public String getAccessKeyId() {
return this.accessKeyId;
}
/**
* @return accessKeySecret
*/
public String getAccessKeySecret() {
return this.accessKeySecret;
}
/**
* @return datasets
*/
public java.util.List<String> getDatasets() {
return this.datasets;
}
/**
* @return endpoint
*/
public String getEndpoint() {
return this.endpoint;
}
/**
* @return logstore
*/
public String getLogstore() {
return this.logstore;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return project
*/
public String getProject() {
return this.project;
}
/**
* @return roleArn
*/
public String getRoleArn() {
return this.roleArn;
}
public static final class Builder {
private String accessKeyId;
private String accessKeySecret;
private java.util.List<String> datasets;
private String endpoint;
private String logstore;
private String name;
private String project;
private String roleArn;
private Builder() {
}
private Builder(ETLConfigurationSink model) {
this.accessKeyId = model.accessKeyId;
this.accessKeySecret = model.accessKeySecret;
this.datasets = model.datasets;
this.endpoint = model.endpoint;
this.logstore = model.logstore;
this.name = model.name;
this.project = model.project;
this.roleArn = model.roleArn;
}
/**
* accessKeyId.
*/
public Builder accessKeyId(String accessKeyId) {
this.accessKeyId = accessKeyId;
return this;
}
/**
* accessKeySecret.
*/
public Builder accessKeySecret(String accessKeySecret) {
this.accessKeySecret = accessKeySecret;
return this;
}
/**
* datasets.
*/
public Builder datasets(java.util.List<String> datasets) {
this.datasets = datasets;
return this;
}
/**
* endpoint.
*/
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 logstore(String logstore) {
this.logstore = logstore;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>test-etljob</p>
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>test-project</p>
*/
public Builder project(String project) {
this.project = project;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>acs:ram::13234:role/logtarget</p>
*/
public Builder roleArn(String roleArn) {
this.roleArn = roleArn;
return this;
}
public ETLConfigurationSink build() {
return new ETLConfigurationSink(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/EnableAlertRequest.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 EnableAlertRequest} extends {@link RequestModel}
*
* <p>EnableAlertRequest</p>
*/
public class EnableAlertRequest 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("alertName")
@com.aliyun.core.annotation.Validation(required = true)
private String alertName;
private EnableAlertRequest(Builder builder) {
super(builder);
this.project = builder.project;
this.alertName = builder.alertName;
}
public static Builder builder() {
return new Builder();
}
public static EnableAlertRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return project
*/
public String getProject() {
return this.project;
}
/**
* @return alertName
*/
public String getAlertName() {
return this.alertName;
}
public static final class Builder extends Request.Builder<EnableAlertRequest, Builder> {
private String project;
private String alertName;
private Builder() {
super();
}
private Builder(EnableAlertRequest request) {
super(request);
this.project = request.project;
this.alertName = request.alertName;
}
/**
* <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 ID of the alert rule.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>alert-0123456789-123456</p>
*/
public Builder alertName(String alertName) {
this.putPathParameter("alertName", alertName);
this.alertName = alertName;
return this;
}
@Override
public EnableAlertRequest build() {
return new EnableAlertRequest(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/EnableAlertResponse.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 EnableAlertResponse} extends {@link TeaModel}
*
* <p>EnableAlertResponse</p>
*/
public class EnableAlertResponse 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 EnableAlertResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
}
public static EnableAlertResponse 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<EnableAlertResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
@Override
EnableAlertResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<EnableAlertResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private BuilderImpl() {
super();
}
private BuilderImpl(EnableAlertResponse 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 EnableAlertResponse build() {
return new EnableAlertResponse(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/EnableScheduledSQLRequest.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 EnableScheduledSQLRequest} extends {@link RequestModel}
*
* <p>EnableScheduledSQLRequest</p>
*/
public class EnableScheduledSQLRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("project")
private String project;
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("scheduledSQLName")
@com.aliyun.core.annotation.Validation(required = true)
private String scheduledSQLName;
private EnableScheduledSQLRequest(Builder builder) {
super(builder);
this.project = builder.project;
this.scheduledSQLName = builder.scheduledSQLName;
}
public static Builder builder() {
return new Builder();
}
public static EnableScheduledSQLRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return project
*/
public String getProject() {
return this.project;
}
/**
* @return scheduledSQLName
*/
public String getScheduledSQLName() {
return this.scheduledSQLName;
}
public static final class Builder extends Request.Builder<EnableScheduledSQLRequest, Builder> {
private String project;
private String scheduledSQLName;
private Builder() {
super();
}
private Builder(EnableScheduledSQLRequest request) {
super(request);
this.project = request.project;
this.scheduledSQLName = request.scheduledSQLName;
}
/**
* <p>A short description of struct</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ali-test-project</p>
*/
public Builder project(String project) {
this.putHostParameter("project", project);
this.project = project;
return this;
}
/**
* <p>The unique name of the job. Make sure that the job exists.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>sql-123456789-123456</p>
*/
public Builder scheduledSQLName(String scheduledSQLName) {
this.putPathParameter("scheduledSQLName", scheduledSQLName);
this.scheduledSQLName = scheduledSQLName;
return this;
}
@Override
public EnableScheduledSQLRequest build() {
return new EnableScheduledSQLRequest(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/EnableScheduledSQLResponse.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 EnableScheduledSQLResponse} extends {@link TeaModel}
*
* <p>EnableScheduledSQLResponse</p>
*/
public class EnableScheduledSQLResponse 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 EnableScheduledSQLResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
}
public static EnableScheduledSQLResponse 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<EnableScheduledSQLResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
@Override
EnableScheduledSQLResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<EnableScheduledSQLResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private BuilderImpl() {
super();
}
private BuilderImpl(EnableScheduledSQLResponse 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 EnableScheduledSQLResponse build() {
return new EnableScheduledSQLResponse(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/EncryptConf.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 EncryptConf} extends {@link TeaModel}
*
* <p>EncryptConf</p>
*/
public class EncryptConf extends TeaModel {
@com.aliyun.core.annotation.NameInMap("enable")
@com.aliyun.core.annotation.Validation(required = true)
private Boolean enable;
@com.aliyun.core.annotation.NameInMap("encrypt_type")
private String encryptType;
@com.aliyun.core.annotation.NameInMap("user_cmk_info")
private EncryptUserCmkConf userCmkInfo;
private EncryptConf(Builder builder) {
this.enable = builder.enable;
this.encryptType = builder.encryptType;
this.userCmkInfo = builder.userCmkInfo;
}
public static Builder builder() {
return new Builder();
}
public static EncryptConf create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return enable
*/
public Boolean getEnable() {
return this.enable;
}
/**
* @return encryptType
*/
public String getEncryptType() {
return this.encryptType;
}
/**
* @return userCmkInfo
*/
public EncryptUserCmkConf getUserCmkInfo() {
return this.userCmkInfo;
}
public static final class Builder {
private Boolean enable;
private String encryptType;
private EncryptUserCmkConf userCmkInfo;
private Builder() {
}
private Builder(EncryptConf model) {
this.enable = model.enable;
this.encryptType = model.encryptType;
this.userCmkInfo = model.userCmkInfo;
}
/**
* <p>This parameter is required.</p>
*/
public Builder enable(Boolean enable) {
this.enable = enable;
return this;
}
/**
* encrypt_type.
*/
public Builder encryptType(String encryptType) {
this.encryptType = encryptType;
return this;
}
/**
* user_cmk_info.
*/
public Builder userCmkInfo(EncryptUserCmkConf userCmkInfo) {
this.userCmkInfo = userCmkInfo;
return this;
}
public EncryptConf build() {
return new EncryptConf(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/EncryptUserCmkConf.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 EncryptUserCmkConf} extends {@link TeaModel}
*
* <p>EncryptUserCmkConf</p>
*/
public class EncryptUserCmkConf extends TeaModel {
@com.aliyun.core.annotation.NameInMap("arn")
@com.aliyun.core.annotation.Validation(required = true)
private String arn;
@com.aliyun.core.annotation.NameInMap("cmk_key_id")
@com.aliyun.core.annotation.Validation(required = true)
private String cmkKeyId;
@com.aliyun.core.annotation.NameInMap("region_id")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
private EncryptUserCmkConf(Builder builder) {
this.arn = builder.arn;
this.cmkKeyId = builder.cmkKeyId;
this.regionId = builder.regionId;
}
public static Builder builder() {
return new Builder();
}
public static EncryptUserCmkConf create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return arn
*/
public String getArn() {
return this.arn;
}
/**
* @return cmkKeyId
*/
public String getCmkKeyId() {
return this.cmkKeyId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
public static final class Builder {
private String arn;
private String cmkKeyId;
private String regionId;
private Builder() {
}
private Builder(EncryptUserCmkConf model) {
this.arn = model.arn;
this.cmkKeyId = model.cmkKeyId;
this.regionId = model.regionId;
}
/**
* <p>This parameter is required.</p>
*/
public Builder arn(String arn) {
this.arn = arn;
return this;
}
/**
* <p>This parameter is required.</p>
*/
public Builder cmkKeyId(String cmkKeyId) {
this.cmkKeyId = cmkKeyId;
return this;
}
/**
* <p>This parameter is required.</p>
*/
public Builder regionId(String regionId) {
this.regionId = regionId;
return this;
}
public EncryptUserCmkConf build() {
return new EncryptUserCmkConf(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/ExternalStore.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 ExternalStore} extends {@link TeaModel}
*
* <p>ExternalStore</p>
*/
public class ExternalStore extends TeaModel {
@com.aliyun.core.annotation.NameInMap("externalStoreName")
@com.aliyun.core.annotation.Validation(required = true)
private String externalStoreName;
@com.aliyun.core.annotation.NameInMap("parameter")
@com.aliyun.core.annotation.Validation(required = true)
private java.util.Map<String, ?> parameter;
@com.aliyun.core.annotation.NameInMap("storeType")
@com.aliyun.core.annotation.Validation(required = true)
private String storeType;
private ExternalStore(Builder builder) {
this.externalStoreName = builder.externalStoreName;
this.parameter = builder.parameter;
this.storeType = builder.storeType;
}
public static Builder builder() {
return new Builder();
}
public static ExternalStore create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return externalStoreName
*/
public String getExternalStoreName() {
return this.externalStoreName;
}
/**
* @return parameter
*/
public java.util.Map<String, ?> getParameter() {
return this.parameter;
}
/**
* @return storeType
*/
public String getStoreType() {
return this.storeType;
}
public static final class Builder {
private String externalStoreName;
private java.util.Map<String, ?> parameter;
private String storeType;
private Builder() {
}
private Builder(ExternalStore model) {
this.externalStoreName = model.externalStoreName;
this.parameter = model.parameter;
this.storeType = model.storeType;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>rds_store</p>
*/
public Builder externalStoreName(String externalStoreName) {
this.externalStoreName = externalStoreName;
return this;
}
/**
* <p>This parameter is required.</p>
*/
public Builder parameter(java.util.Map<String, ?> parameter) {
this.parameter = parameter;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>rds-vpc</p>
*/
public Builder storeType(String storeType) {
this.storeType = storeType;
return this;
}
public ExternalStore build() {
return new ExternalStore(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/GetAgentInstanceConfigRequest.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 GetAgentInstanceConfigRequest} extends {@link RequestModel}
*
* <p>GetAgentInstanceConfigRequest</p>
*/
public class GetAgentInstanceConfigRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("configType")
@com.aliyun.core.annotation.Validation(required = true)
private String configType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("attributes")
private java.util.Map<String, String> attributes;
private GetAgentInstanceConfigRequest(Builder builder) {
super(builder);
this.configType = builder.configType;
this.attributes = builder.attributes;
}
public static Builder builder() {
return new Builder();
}
public static GetAgentInstanceConfigRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return configType
*/
public String getConfigType() {
return this.configType;
}
/**
* @return attributes
*/
public java.util.Map<String, String> getAttributes() {
return this.attributes;
}
public static final class Builder extends Request.Builder<GetAgentInstanceConfigRequest, Builder> {
private String configType;
private java.util.Map<String, String> attributes;
private Builder() {
super();
}
private Builder(GetAgentInstanceConfigRequest request) {
super(request);
this.configType = request.configType;
this.attributes = request.attributes;
}
/**
* <p>This parameter is required.</p>
*/
public Builder configType(String configType) {
this.putPathParameter("configType", configType);
this.configType = configType;
return this;
}
/**
* attributes.
*/
public Builder attributes(java.util.Map<String, String> attributes) {
String attributesShrink = shrink(attributes, "attributes", "json");
this.putQueryParameter("attributes", attributesShrink);
this.attributes = attributes;
return this;
}
@Override
public GetAgentInstanceConfigRequest build() {
return new GetAgentInstanceConfigRequest(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/GetAgentInstanceConfigResponse.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 GetAgentInstanceConfigResponse} extends {@link TeaModel}
*
* <p>GetAgentInstanceConfigResponse</p>
*/
public class GetAgentInstanceConfigResponse 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 GetAgentInstanceConfigResponseBody body;
private GetAgentInstanceConfigResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetAgentInstanceConfigResponse 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 GetAgentInstanceConfigResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetAgentInstanceConfigResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetAgentInstanceConfigResponseBody body);
@Override
GetAgentInstanceConfigResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetAgentInstanceConfigResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetAgentInstanceConfigResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetAgentInstanceConfigResponse 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(GetAgentInstanceConfigResponseBody body) {
this.body = body;
return this;
}
@Override
public GetAgentInstanceConfigResponse build() {
return new GetAgentInstanceConfigResponse(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/GetAgentInstanceConfigResponseBody.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 GetAgentInstanceConfigResponseBody} extends {@link TeaModel}
*
* <p>GetAgentInstanceConfigResponseBody</p>
*/
public class GetAgentInstanceConfigResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("attributes")
private java.util.Map<String, String> attributes;
@com.aliyun.core.annotation.NameInMap("config")
private String config;
@com.aliyun.core.annotation.NameInMap("configType")
private String configType;
@com.aliyun.core.annotation.NameInMap("createTime")
private Long createTime;
@com.aliyun.core.annotation.NameInMap("grayConfigs")
private java.util.List<AgentInstanceConfigGrayConfigs> grayConfigs;
@com.aliyun.core.annotation.NameInMap("lastModifyTime")
private Long lastModifyTime;
private GetAgentInstanceConfigResponseBody(Builder builder) {
this.attributes = builder.attributes;
this.config = builder.config;
this.configType = builder.configType;
this.createTime = builder.createTime;
this.grayConfigs = builder.grayConfigs;
this.lastModifyTime = builder.lastModifyTime;
}
public static Builder builder() {
return new Builder();
}
public static GetAgentInstanceConfigResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return attributes
*/
public java.util.Map<String, String> getAttributes() {
return this.attributes;
}
/**
* @return config
*/
public String getConfig() {
return this.config;
}
/**
* @return configType
*/
public String getConfigType() {
return this.configType;
}
/**
* @return createTime
*/
public Long getCreateTime() {
return this.createTime;
}
/**
* @return grayConfigs
*/
public java.util.List<AgentInstanceConfigGrayConfigs> getGrayConfigs() {
return this.grayConfigs;
}
/**
* @return lastModifyTime
*/
public Long getLastModifyTime() {
return this.lastModifyTime;
}
public static final class Builder {
private java.util.Map<String, String> attributes;
private String config;
private String configType;
private Long createTime;
private java.util.List<AgentInstanceConfigGrayConfigs> grayConfigs;
private Long lastModifyTime;
private Builder() {
}
private Builder(GetAgentInstanceConfigResponseBody model) {
this.attributes = model.attributes;
this.config = model.config;
this.configType = model.configType;
this.createTime = model.createTime;
this.grayConfigs = model.grayConfigs;
this.lastModifyTime = model.lastModifyTime;
}
/**
* attributes.
*/
public Builder attributes(java.util.Map<String, String> attributes) {
this.attributes = attributes;
return this;
}
/**
* config.
*/
public Builder config(String config) {
this.config = config;
return this;
}
/**
* configType.
*/
public Builder configType(String configType) {
this.configType = configType;
return this;
}
/**
* createTime.
*/
public Builder createTime(Long createTime) {
this.createTime = createTime;
return this;
}
/**
* grayConfigs.
*/
public Builder grayConfigs(java.util.List<AgentInstanceConfigGrayConfigs> grayConfigs) {
this.grayConfigs = grayConfigs;
return this;
}
/**
* lastModifyTime.
*/
public Builder lastModifyTime(Long lastModifyTime) {
this.lastModifyTime = lastModifyTime;
return this;
}
public GetAgentInstanceConfigResponseBody build() {
return new GetAgentInstanceConfigResponseBody(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/GetAlertRequest.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 GetAlertRequest} extends {@link RequestModel}
*
* <p>GetAlertRequest</p>
*/
public class GetAlertRequest 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("alertName")
@com.aliyun.core.annotation.Validation(required = true)
private String alertName;
private GetAlertRequest(Builder builder) {
super(builder);
this.project = builder.project;
this.alertName = builder.alertName;
}
public static Builder builder() {
return new Builder();
}
public static GetAlertRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return project
*/
public String getProject() {
return this.project;
}
/**
* @return alertName
*/
public String getAlertName() {
return this.alertName;
}
public static final class Builder extends Request.Builder<GetAlertRequest, Builder> {
private String project;
private String alertName;
private Builder() {
super();
}
private Builder(GetAlertRequest request) {
super(request);
this.project = request.project;
this.alertName = request.alertName;
}
/**
* <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 ID of the alert rule.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>alert-0123456789-123456</p>
*/
public Builder alertName(String alertName) {
this.putPathParameter("alertName", alertName);
this.alertName = alertName;
return this;
}
@Override
public GetAlertRequest build() {
return new GetAlertRequest(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/GetAlertResponse.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 GetAlertResponse} extends {@link TeaModel}
*
* <p>GetAlertResponse</p>
*/
public class GetAlertResponse 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 Alert body;
private GetAlertResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetAlertResponse 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 Alert getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetAlertResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(Alert body);
@Override
GetAlertResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetAlertResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private Alert body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetAlertResponse 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(Alert body) {
this.body = body;
return this;
}
@Override
public GetAlertResponse build() {
return new GetAlertResponse(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/GetAnnotationDataRequest.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 GetAnnotationDataRequest} extends {@link RequestModel}
*
* <p>GetAnnotationDataRequest</p>
*/
public class GetAnnotationDataRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("datasetId")
private String datasetId;
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("annotationdataId")
private String annotationdataId;
private GetAnnotationDataRequest(Builder builder) {
super(builder);
this.datasetId = builder.datasetId;
this.annotationdataId = builder.annotationdataId;
}
public static Builder builder() {
return new Builder();
}
public static GetAnnotationDataRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return datasetId
*/
public String getDatasetId() {
return this.datasetId;
}
/**
* @return annotationdataId
*/
public String getAnnotationdataId() {
return this.annotationdataId;
}
public static final class Builder extends Request.Builder<GetAnnotationDataRequest, Builder> {
private String datasetId;
private String annotationdataId;
private Builder() {
super();
}
private Builder(GetAnnotationDataRequest request) {
super(request);
this.datasetId = request.datasetId;
this.annotationdataId = request.annotationdataId;
}
/**
* <p>The unique identifier of the dataset.</p>
*
* <strong>example:</strong>
* <p>cb8cc4eb51a85e823471cdb368fae9be</p>
*/
public Builder datasetId(String datasetId) {
this.putPathParameter("datasetId", datasetId);
this.datasetId = datasetId;
return this;
}
/**
* <p>The unique identifier of the data.</p>
*
* <strong>example:</strong>
* <p>2156d560fc7c01420542df92cd6365ds</p>
*/
public Builder annotationdataId(String annotationdataId) {
this.putPathParameter("annotationdataId", annotationdataId);
this.annotationdataId = annotationdataId;
return this;
}
@Override
public GetAnnotationDataRequest build() {
return new GetAnnotationDataRequest(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/GetAnnotationDataResponse.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 GetAnnotationDataResponse} extends {@link TeaModel}
*
* <p>GetAnnotationDataResponse</p>
*/
public class GetAnnotationDataResponse 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 MLDataParam body;
private GetAnnotationDataResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetAnnotationDataResponse 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 MLDataParam getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetAnnotationDataResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(MLDataParam body);
@Override
GetAnnotationDataResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetAnnotationDataResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private MLDataParam body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetAnnotationDataResponse 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(MLDataParam body) {
this.body = body;
return this;
}
@Override
public GetAnnotationDataResponse build() {
return new GetAnnotationDataResponse(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/GetAnnotationDataSetRequest.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 GetAnnotationDataSetRequest} extends {@link RequestModel}
*
* <p>GetAnnotationDataSetRequest</p>
*/
public class GetAnnotationDataSetRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("datasetId")
private String datasetId;
private GetAnnotationDataSetRequest(Builder builder) {
super(builder);
this.datasetId = builder.datasetId;
}
public static Builder builder() {
return new Builder();
}
public static GetAnnotationDataSetRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return datasetId
*/
public String getDatasetId() {
return this.datasetId;
}
public static final class Builder extends Request.Builder<GetAnnotationDataSetRequest, Builder> {
private String datasetId;
private Builder() {
super();
}
private Builder(GetAnnotationDataSetRequest request) {
super(request);
this.datasetId = request.datasetId;
}
/**
* <p>The unique identifier of the dataset.</p>
*
* <strong>example:</strong>
* <p>cb8cc4eb51a85e823471cdb368fae9be</p>
*/
public Builder datasetId(String datasetId) {
this.putPathParameter("datasetId", datasetId);
this.datasetId = datasetId;
return this;
}
@Override
public GetAnnotationDataSetRequest build() {
return new GetAnnotationDataSetRequest(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/GetAnnotationDataSetResponse.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 GetAnnotationDataSetResponse} extends {@link TeaModel}
*
* <p>GetAnnotationDataSetResponse</p>
*/
public class GetAnnotationDataSetResponse 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 MLDataSetParam body;
private GetAnnotationDataSetResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetAnnotationDataSetResponse 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 MLDataSetParam getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetAnnotationDataSetResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(MLDataSetParam body);
@Override
GetAnnotationDataSetResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetAnnotationDataSetResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private MLDataSetParam body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetAnnotationDataSetResponse 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(MLDataSetParam body) {
this.body = body;
return this;
}
@Override
public GetAnnotationDataSetResponse build() {
return new GetAnnotationDataSetResponse(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/GetAnnotationLabelRequest.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 GetAnnotationLabelRequest} extends {@link RequestModel}
*
* <p>GetAnnotationLabelRequest</p>
*/
public class GetAnnotationLabelRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("labelId")
private String labelId;
private GetAnnotationLabelRequest(Builder builder) {
super(builder);
this.labelId = builder.labelId;
}
public static Builder builder() {
return new Builder();
}
public static GetAnnotationLabelRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return labelId
*/
public String getLabelId() {
return this.labelId;
}
public static final class Builder extends Request.Builder<GetAnnotationLabelRequest, Builder> {
private String labelId;
private Builder() {
super();
}
private Builder(GetAnnotationLabelRequest request) {
super(request);
this.labelId = request.labelId;
}
/**
* <p>The tag ID.</p>
*
* <strong>example:</strong>
* <p>sls_builtin_4e0aba6d9664073513e9954fb57bd799</p>
*/
public Builder labelId(String labelId) {
this.putPathParameter("labelId", labelId);
this.labelId = labelId;
return this;
}
@Override
public GetAnnotationLabelRequest build() {
return new GetAnnotationLabelRequest(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/GetAnnotationLabelResponse.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 GetAnnotationLabelResponse} extends {@link TeaModel}
*
* <p>GetAnnotationLabelResponse</p>
*/
public class GetAnnotationLabelResponse 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 MLLabelParam body;
private GetAnnotationLabelResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetAnnotationLabelResponse 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 MLLabelParam getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetAnnotationLabelResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(MLLabelParam body);
@Override
GetAnnotationLabelResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetAnnotationLabelResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private MLLabelParam body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetAnnotationLabelResponse 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(MLLabelParam body) {
this.body = body;
return this;
}
@Override
public GetAnnotationLabelResponse build() {
return new GetAnnotationLabelResponse(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/GetAppliedConfigsRequest.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 GetAppliedConfigsRequest} extends {@link RequestModel}
*
* <p>GetAppliedConfigsRequest</p>
*/
public class GetAppliedConfigsRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("project")
private String project;
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("machineGroup")
@com.aliyun.core.annotation.Validation(required = true)
private String machineGroup;
private GetAppliedConfigsRequest(Builder builder) {
super(builder);
this.project = builder.project;
this.machineGroup = builder.machineGroup;
}
public static Builder builder() {
return new Builder();
}
public static GetAppliedConfigsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return project
*/
public String getProject() {
return this.project;
}
/**
* @return machineGroup
*/
public String getMachineGroup() {
return this.machineGroup;
}
public static final class Builder extends Request.Builder<GetAppliedConfigsRequest, Builder> {
private String project;
private String machineGroup;
private Builder() {
super();
}
private Builder(GetAppliedConfigsRequest request) {
super(request);
this.project = request.project;
this.machineGroup = request.machineGroup;
}
/**
* <p>The name of the project.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ali-test-project</p>
*/
public Builder project(String project) {
this.putHostParameter("project", project);
this.project = project;
return this;
}
/**
* <p>The name of the machine group.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>test-machine-group</p>
*/
public Builder machineGroup(String machineGroup) {
this.putPathParameter("machineGroup", machineGroup);
this.machineGroup = machineGroup;
return this;
}
@Override
public GetAppliedConfigsRequest build() {
return new GetAppliedConfigsRequest(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/GetAppliedConfigsResponse.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 GetAppliedConfigsResponse} extends {@link TeaModel}
*
* <p>GetAppliedConfigsResponse</p>
*/
public class GetAppliedConfigsResponse 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 GetAppliedConfigsResponseBody body;
private GetAppliedConfigsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetAppliedConfigsResponse 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 GetAppliedConfigsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetAppliedConfigsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetAppliedConfigsResponseBody body);
@Override
GetAppliedConfigsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetAppliedConfigsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetAppliedConfigsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetAppliedConfigsResponse 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(GetAppliedConfigsResponseBody body) {
this.body = body;
return this;
}
@Override
public GetAppliedConfigsResponse build() {
return new GetAppliedConfigsResponse(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/GetAppliedConfigsResponseBody.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 GetAppliedConfigsResponseBody} extends {@link TeaModel}
*
* <p>GetAppliedConfigsResponseBody</p>
*/
public class GetAppliedConfigsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("configs")
private java.util.List<String> configs;
@com.aliyun.core.annotation.NameInMap("count")
private Integer count;
private GetAppliedConfigsResponseBody(Builder builder) {
this.configs = builder.configs;
this.count = builder.count;
}
public static Builder builder() {
return new Builder();
}
public static GetAppliedConfigsResponseBody 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;
}
public static final class Builder {
private java.util.List<String> configs;
private Integer count;
private Builder() {
}
private Builder(GetAppliedConfigsResponseBody model) {
this.configs = model.configs;
this.count = model.count;
}
/**
* <p>The names of the Logtail configurations.</p>
*/
public Builder configs(java.util.List<String> configs) {
this.configs = configs;
return this;
}
/**
* <p>The number of Logtail configurations.</p>
*
* <strong>example:</strong>
* <p>2</p>
*/
public Builder count(Integer count) {
this.count = count;
return this;
}
public GetAppliedConfigsResponseBody build() {
return new GetAppliedConfigsResponseBody(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/GetAppliedMachineGroupsRequest.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 GetAppliedMachineGroupsRequest} extends {@link RequestModel}
*
* <p>GetAppliedMachineGroupsRequest</p>
*/
public class GetAppliedMachineGroupsRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("project")
private String project;
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("configName")
@com.aliyun.core.annotation.Validation(required = true)
private String configName;
private GetAppliedMachineGroupsRequest(Builder builder) {
super(builder);
this.project = builder.project;
this.configName = builder.configName;
}
public static Builder builder() {
return new Builder();
}
public static GetAppliedMachineGroupsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return project
*/
public String getProject() {
return this.project;
}
/**
* @return configName
*/
public String getConfigName() {
return this.configName;
}
public static final class Builder extends Request.Builder<GetAppliedMachineGroupsRequest, Builder> {
private String project;
private String configName;
private Builder() {
super();
}
private Builder(GetAppliedMachineGroupsRequest request) {
super(request);
this.project = request.project;
this.configName = request.configName;
}
/**
* <p>The name of the project.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ali-test-project</p>
*/
public Builder project(String project) {
this.putHostParameter("project", project);
this.project = project;
return this;
}
/**
* <p>The name of the Logtail configuration.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>logtail-config-sample</p>
*/
public Builder configName(String configName) {
this.putPathParameter("configName", configName);
this.configName = configName;
return this;
}
@Override
public GetAppliedMachineGroupsRequest build() {
return new GetAppliedMachineGroupsRequest(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/GetAppliedMachineGroupsResponse.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 GetAppliedMachineGroupsResponse} extends {@link TeaModel}
*
* <p>GetAppliedMachineGroupsResponse</p>
*/
public class GetAppliedMachineGroupsResponse 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 GetAppliedMachineGroupsResponseBody body;
private GetAppliedMachineGroupsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetAppliedMachineGroupsResponse 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 GetAppliedMachineGroupsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetAppliedMachineGroupsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetAppliedMachineGroupsResponseBody body);
@Override
GetAppliedMachineGroupsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetAppliedMachineGroupsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetAppliedMachineGroupsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetAppliedMachineGroupsResponse 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(GetAppliedMachineGroupsResponseBody body) {
this.body = body;
return this;
}
@Override
public GetAppliedMachineGroupsResponse build() {
return new GetAppliedMachineGroupsResponse(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/GetAppliedMachineGroupsResponseBody.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 GetAppliedMachineGroupsResponseBody} extends {@link TeaModel}
*
* <p>GetAppliedMachineGroupsResponseBody</p>
*/
public class GetAppliedMachineGroupsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("count")
private Integer count;
@com.aliyun.core.annotation.NameInMap("machinegroups")
private java.util.List<String> machinegroups;
private GetAppliedMachineGroupsResponseBody(Builder builder) {
this.count = builder.count;
this.machinegroups = builder.machinegroups;
}
public static Builder builder() {
return new Builder();
}
public static GetAppliedMachineGroupsResponseBody 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;
}
public static final class Builder {
private Integer count;
private java.util.List<String> machinegroups;
private Builder() {
}
private Builder(GetAppliedMachineGroupsResponseBody model) {
this.count = model.count;
this.machinegroups = model.machinegroups;
}
/**
* <p>The number of returned machine groups.</p>
*
* <strong>example:</strong>
* <p>2</p>
*/
public Builder count(Integer count) {
this.count = count;
return this;
}
/**
* <p>The names of the returned machine groups.</p>
*
* <strong>example:</strong>
* <p>[ "sample-group1","sample-group2" ]</p>
*/
public Builder machinegroups(java.util.List<String> machinegroups) {
this.machinegroups = machinegroups;
return this;
}
public GetAppliedMachineGroupsResponseBody build() {
return new GetAppliedMachineGroupsResponseBody(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/GetCheckPointRequest.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 GetCheckPointRequest} extends {@link RequestModel}
*
* <p>GetCheckPointRequest</p>
*/
public class GetCheckPointRequest 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("consumerGroup")
@com.aliyun.core.annotation.Validation(required = true)
private String consumerGroup;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("shard")
private Integer shard;
private GetCheckPointRequest(Builder builder) {
super(builder);
this.project = builder.project;
this.logstore = builder.logstore;
this.consumerGroup = builder.consumerGroup;
this.shard = builder.shard;
}
public static Builder builder() {
return new Builder();
}
public static GetCheckPointRequest 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 consumerGroup
*/
public String getConsumerGroup() {
return this.consumerGroup;
}
/**
* @return shard
*/
public Integer getShard() {
return this.shard;
}
public static final class Builder extends Request.Builder<GetCheckPointRequest, Builder> {
private String project;
private String logstore;
private String consumerGroup;
private Integer shard;
private Builder() {
super();
}
private Builder(GetCheckPointRequest request) {
super(request);
this.project = request.project;
this.logstore = request.logstore;
this.consumerGroup = request.consumerGroup;
this.shard = request.shard;
}
/**
* <p>The name of the project.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ali-test-project</p>
*/
public Builder project(String project) {
this.putHostParameter("project", project);
this.project = project;
return this;
}
/**
* <p>The name of the Logstore.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>test-logstore</p>
*/
public Builder logstore(String logstore) {
this.putPathParameter("logstore", logstore);
this.logstore = logstore;
return this;
}
/**
* <p>The name of the consumer group.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>consumer-group-1</p>
*/
public Builder consumerGroup(String consumerGroup) {
this.putPathParameter("consumerGroup", consumerGroup);
this.consumerGroup = consumerGroup;
return this;
}
/**
* <p>The shard ID.</p>
* <ul>
* <li>If the specified shard does not exist, an empty list is returned.</li>
* <li>If no shard ID is specified, the checkpoints of all shards are returned.</li>
* </ul>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder shard(Integer shard) {
this.putQueryParameter("shard", shard);
this.shard = shard;
return this;
}
@Override
public GetCheckPointRequest build() {
return new GetCheckPointRequest(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/GetCheckPointResponse.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 GetCheckPointResponse} extends {@link TeaModel}
*
* <p>GetCheckPointResponse</p>
*/
public class GetCheckPointResponse 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<GetCheckPointResponseBody> body;
private GetCheckPointResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetCheckPointResponse 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<GetCheckPointResponseBody> getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetCheckPointResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(java.util.List<GetCheckPointResponseBody> body);
@Override
GetCheckPointResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetCheckPointResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private java.util.List<GetCheckPointResponseBody> body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetCheckPointResponse 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<GetCheckPointResponseBody> body) {
this.body = body;
return this;
}
@Override
public GetCheckPointResponse build() {
return new GetCheckPointResponse(this);
}
}
/**
*
* {@link GetCheckPointResponse} extends {@link TeaModel}
*
* <p>GetCheckPointResponse</p>
*/
public static class GetCheckPointResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("shard")
private Integer shard;
@com.aliyun.core.annotation.NameInMap("checkpoint")
private String checkpoint;
@com.aliyun.core.annotation.NameInMap("updateTime")
private Long updateTime;
@com.aliyun.core.annotation.NameInMap("consumer")
private String consumer;
private GetCheckPointResponseBody(Builder builder) {
this.shard = builder.shard;
this.checkpoint = builder.checkpoint;
this.updateTime = builder.updateTime;
this.consumer = builder.consumer;
}
public static Builder builder() {
return new Builder();
}
public static GetCheckPointResponseBody create() {
return builder().build();
}
/**
* @return shard
*/
public Integer getShard() {
return this.shard;
}
/**
* @return checkpoint
*/
public String getCheckpoint() {
return this.checkpoint;
}
/**
* @return updateTime
*/
public Long getUpdateTime() {
return this.updateTime;
}
/**
* @return consumer
*/
public String getConsumer() {
return this.consumer;
}
public static final class Builder {
private Integer shard;
private String checkpoint;
private Long updateTime;
private String consumer;
private Builder() {
}
private Builder(GetCheckPointResponseBody model) {
this.shard = model.shard;
this.checkpoint = model.checkpoint;
this.updateTime = model.updateTime;
this.consumer = model.consumer;
}
/**
* <p>The shard ID.</p>
*
* <strong>example:</strong>
* <p>0</p>
*/
public Builder shard(Integer shard) {
this.shard = shard;
return this;
}
/**
* <p>The value of the checkpoint.</p>
*
* <strong>example:</strong>
* <p>MTUyNDE1NTM3OTM3MzkwODQ5Ng==</p>
*/
public Builder checkpoint(String checkpoint) {
this.checkpoint = checkpoint;
return this;
}
/**
* <p>The time when the checkpoint was last updated. The value is a UNIX timestamp representing the number of seconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.</p>
*
* <strong>example:</strong>
* <p>1524224984800922</p>
*/
public Builder updateTime(Long updateTime) {
this.updateTime = updateTime;
return this;
}
/**
* <p>The consumer at the checkpoint.</p>
*
* <strong>example:</strong>
* <p>consumer_1</p>
*/
public Builder consumer(String consumer) {
this.consumer = consumer;
return this;
}
public GetCheckPointResponseBody build() {
return new GetCheckPointResponseBody(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/GetCollectionPolicyRequest.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 GetCollectionPolicyRequest} extends {@link RequestModel}
*
* <p>GetCollectionPolicyRequest</p>
*/
public class GetCollectionPolicyRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("policyName")
@com.aliyun.core.annotation.Validation(required = true, maxLength = 63, minLength = 3)
private String policyName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("dataCode")
private String dataCode;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("productCode")
private String productCode;
private GetCollectionPolicyRequest(Builder builder) {
super(builder);
this.policyName = builder.policyName;
this.dataCode = builder.dataCode;
this.productCode = builder.productCode;
}
public static Builder builder() {
return new Builder();
}
public static GetCollectionPolicyRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return policyName
*/
public String getPolicyName() {
return this.policyName;
}
/**
* @return dataCode
*/
public String getDataCode() {
return this.dataCode;
}
/**
* @return productCode
*/
public String getProductCode() {
return this.productCode;
}
public static final class Builder extends Request.Builder<GetCollectionPolicyRequest, Builder> {
private String policyName;
private String dataCode;
private String productCode;
private Builder() {
super();
}
private Builder(GetCollectionPolicyRequest request) {
super(request);
this.policyName = request.policyName;
this.dataCode = request.dataCode;
this.productCode = request.productCode;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>your_log_policy</p>
*/
public Builder policyName(String policyName) {
this.putPathParameter("policyName", policyName);
this.policyName = policyName;
return this;
}
/**
* dataCode.
*/
public Builder dataCode(String dataCode) {
this.putQueryParameter("dataCode", dataCode);
this.dataCode = dataCode;
return this;
}
/**
* productCode.
*/
public Builder productCode(String productCode) {
this.putQueryParameter("productCode", productCode);
this.productCode = productCode;
return this;
}
@Override
public GetCollectionPolicyRequest build() {
return new GetCollectionPolicyRequest(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/GetCollectionPolicyResponse.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 GetCollectionPolicyResponse} extends {@link TeaModel}
*
* <p>GetCollectionPolicyResponse</p>
*/
public class GetCollectionPolicyResponse 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 GetCollectionPolicyResponseBody body;
private GetCollectionPolicyResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetCollectionPolicyResponse 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 GetCollectionPolicyResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetCollectionPolicyResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetCollectionPolicyResponseBody body);
@Override
GetCollectionPolicyResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetCollectionPolicyResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetCollectionPolicyResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetCollectionPolicyResponse 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(GetCollectionPolicyResponseBody body) {
this.body = body;
return this;
}
@Override
public GetCollectionPolicyResponse build() {
return new GetCollectionPolicyResponse(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/GetCollectionPolicyResponseBody.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 GetCollectionPolicyResponseBody} extends {@link TeaModel}
*
* <p>GetCollectionPolicyResponseBody</p>
*/
public class GetCollectionPolicyResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("collectionPolicy")
private CollectionPolicy collectionPolicy;
private GetCollectionPolicyResponseBody(Builder builder) {
this.collectionPolicy = builder.collectionPolicy;
}
public static Builder builder() {
return new Builder();
}
public static GetCollectionPolicyResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return collectionPolicy
*/
public CollectionPolicy getCollectionPolicy() {
return this.collectionPolicy;
}
public static final class Builder {
private CollectionPolicy collectionPolicy;
private Builder() {
}
private Builder(GetCollectionPolicyResponseBody model) {
this.collectionPolicy = model.collectionPolicy;
}
/**
* collectionPolicy.
*/
public Builder collectionPolicy(CollectionPolicy collectionPolicy) {
this.collectionPolicy = collectionPolicy;
return this;
}
public GetCollectionPolicyResponseBody build() {
return new GetCollectionPolicyResponseBody(this);
}
}
/**
*
* {@link GetCollectionPolicyResponseBody} extends {@link TeaModel}
*
* <p>GetCollectionPolicyResponseBody</p>
*/
public static class CentralizeConfig extends TeaModel {
@com.aliyun.core.annotation.NameInMap("destLogstore")
private String destLogstore;
@com.aliyun.core.annotation.NameInMap("destProject")
private String destProject;
@com.aliyun.core.annotation.NameInMap("destRegion")
private String destRegion;
@com.aliyun.core.annotation.NameInMap("destTTL")
private Integer destTTL;
private CentralizeConfig(Builder builder) {
this.destLogstore = builder.destLogstore;
this.destProject = builder.destProject;
this.destRegion = builder.destRegion;
this.destTTL = builder.destTTL;
}
public static Builder builder() {
return new Builder();
}
public static CentralizeConfig create() {
return builder().build();
}
/**
* @return destLogstore
*/
public String getDestLogstore() {
return this.destLogstore;
}
/**
* @return destProject
*/
public String getDestProject() {
return this.destProject;
}
/**
* @return destRegion
*/
public String getDestRegion() {
return this.destRegion;
}
/**
* @return destTTL
*/
public Integer getDestTTL() {
return this.destTTL;
}
public static final class Builder {
private String destLogstore;
private String destProject;
private String destRegion;
private Integer destTTL;
private Builder() {
}
private Builder(CentralizeConfig model) {
this.destLogstore = model.destLogstore;
this.destProject = model.destProject;
this.destRegion = model.destRegion;
this.destTTL = model.destTTL;
}
/**
* destLogstore.
*/
public Builder destLogstore(String destLogstore) {
this.destLogstore = destLogstore;
return this;
}
/**
* destProject.
*/
public Builder destProject(String destProject) {
this.destProject = destProject;
return this;
}
/**
* destRegion.
*/
public Builder destRegion(String destRegion) {
this.destRegion = destRegion;
return this;
}
/**
* destTTL.
*/
public Builder destTTL(Integer destTTL) {
this.destTTL = destTTL;
return this;
}
public CentralizeConfig build() {
return new CentralizeConfig(this);
}
}
}
/**
*
* {@link GetCollectionPolicyResponseBody} extends {@link TeaModel}
*
* <p>GetCollectionPolicyResponseBody</p>
*/
public static class DataConfig extends TeaModel {
@com.aliyun.core.annotation.NameInMap("dataProject")
private String dataProject;
@com.aliyun.core.annotation.NameInMap("dataRegion")
private String dataRegion;
private DataConfig(Builder builder) {
this.dataProject = builder.dataProject;
this.dataRegion = builder.dataRegion;
}
public static Builder builder() {
return new Builder();
}
public static DataConfig create() {
return builder().build();
}
/**
* @return dataProject
*/
public String getDataProject() {
return this.dataProject;
}
/**
* @return dataRegion
*/
public String getDataRegion() {
return this.dataRegion;
}
public static final class Builder {
private String dataProject;
private String dataRegion;
private Builder() {
}
private Builder(DataConfig model) {
this.dataProject = model.dataProject;
this.dataRegion = model.dataRegion;
}
/**
* dataProject.
*/
public Builder dataProject(String dataProject) {
this.dataProject = dataProject;
return this;
}
/**
* dataRegion.
*/
public Builder dataRegion(String dataRegion) {
this.dataRegion = dataRegion;
return this;
}
public DataConfig build() {
return new DataConfig(this);
}
}
}
/**
*
* {@link GetCollectionPolicyResponseBody} extends {@link TeaModel}
*
* <p>GetCollectionPolicyResponseBody</p>
*/
public static class PolicyConfig extends TeaModel {
@com.aliyun.core.annotation.NameInMap("instanceIds")
private java.util.List<String> instanceIds;
@com.aliyun.core.annotation.NameInMap("regions")
private java.util.List<String> regions;
@com.aliyun.core.annotation.NameInMap("resourceMode")
private String resourceMode;
@com.aliyun.core.annotation.NameInMap("resourceTags")
private java.util.Map<String, ?> resourceTags;
private PolicyConfig(Builder builder) {
this.instanceIds = builder.instanceIds;
this.regions = builder.regions;
this.resourceMode = builder.resourceMode;
this.resourceTags = builder.resourceTags;
}
public static Builder builder() {
return new Builder();
}
public static PolicyConfig create() {
return builder().build();
}
/**
* @return instanceIds
*/
public java.util.List<String> getInstanceIds() {
return this.instanceIds;
}
/**
* @return regions
*/
public java.util.List<String> getRegions() {
return this.regions;
}
/**
* @return resourceMode
*/
public String getResourceMode() {
return this.resourceMode;
}
/**
* @return resourceTags
*/
public java.util.Map<String, ?> getResourceTags() {
return this.resourceTags;
}
public static final class Builder {
private java.util.List<String> instanceIds;
private java.util.List<String> regions;
private String resourceMode;
private java.util.Map<String, ?> resourceTags;
private Builder() {
}
private Builder(PolicyConfig model) {
this.instanceIds = model.instanceIds;
this.regions = model.regions;
this.resourceMode = model.resourceMode;
this.resourceTags = model.resourceTags;
}
/**
* instanceIds.
*/
public Builder instanceIds(java.util.List<String> instanceIds) {
this.instanceIds = instanceIds;
return this;
}
/**
* regions.
*/
public Builder regions(java.util.List<String> regions) {
this.regions = regions;
return this;
}
/**
* resourceMode.
*/
public Builder resourceMode(String resourceMode) {
this.resourceMode = resourceMode;
return this;
}
/**
* resourceTags.
*/
public Builder resourceTags(java.util.Map<String, ?> resourceTags) {
this.resourceTags = resourceTags;
return this;
}
public PolicyConfig build() {
return new PolicyConfig(this);
}
}
}
/**
*
* {@link GetCollectionPolicyResponseBody} extends {@link TeaModel}
*
* <p>GetCollectionPolicyResponseBody</p>
*/
public static class ResourceDirectory extends TeaModel {
@com.aliyun.core.annotation.NameInMap("accountGroupType")
private String accountGroupType;
@com.aliyun.core.annotation.NameInMap("members")
private java.util.List<String> members;
private ResourceDirectory(Builder builder) {
this.accountGroupType = builder.accountGroupType;
this.members = builder.members;
}
public static Builder builder() {
return new Builder();
}
public static ResourceDirectory create() {
return builder().build();
}
/**
* @return accountGroupType
*/
public String getAccountGroupType() {
return this.accountGroupType;
}
/**
* @return members
*/
public java.util.List<String> getMembers() {
return this.members;
}
public static final class Builder {
private String accountGroupType;
private java.util.List<String> members;
private Builder() {
}
private Builder(ResourceDirectory model) {
this.accountGroupType = model.accountGroupType;
this.members = model.members;
}
/**
* accountGroupType.
*/
public Builder accountGroupType(String accountGroupType) {
this.accountGroupType = accountGroupType;
return this;
}
/**
* members.
*/
public Builder members(java.util.List<String> members) {
this.members = members;
return this;
}
public ResourceDirectory build() {
return new ResourceDirectory(this);
}
}
}
/**
*
* {@link GetCollectionPolicyResponseBody} extends {@link TeaModel}
*
* <p>GetCollectionPolicyResponseBody</p>
*/
public static class CollectionPolicy extends TeaModel {
@com.aliyun.core.annotation.NameInMap("centralizeConfig")
private CentralizeConfig centralizeConfig;
@com.aliyun.core.annotation.NameInMap("centralizeEnabled")
private Boolean centralizeEnabled;
@com.aliyun.core.annotation.NameInMap("dataCode")
private String dataCode;
@com.aliyun.core.annotation.NameInMap("dataConfig")
private DataConfig dataConfig;
@com.aliyun.core.annotation.NameInMap("enabled")
private Boolean enabled;
@com.aliyun.core.annotation.NameInMap("internalPolicy")
private Boolean internalPolicy;
@com.aliyun.core.annotation.NameInMap("policyConfig")
private PolicyConfig policyConfig;
@com.aliyun.core.annotation.NameInMap("policyName")
private String policyName;
@com.aliyun.core.annotation.NameInMap("policyUid")
private String policyUid;
@com.aliyun.core.annotation.NameInMap("productCode")
private String productCode;
@com.aliyun.core.annotation.NameInMap("resourceDirectory")
private ResourceDirectory resourceDirectory;
private CollectionPolicy(Builder builder) {
this.centralizeConfig = builder.centralizeConfig;
this.centralizeEnabled = builder.centralizeEnabled;
this.dataCode = builder.dataCode;
this.dataConfig = builder.dataConfig;
this.enabled = builder.enabled;
this.internalPolicy = builder.internalPolicy;
this.policyConfig = builder.policyConfig;
this.policyName = builder.policyName;
this.policyUid = builder.policyUid;
this.productCode = builder.productCode;
this.resourceDirectory = builder.resourceDirectory;
}
public static Builder builder() {
return new Builder();
}
public static CollectionPolicy create() {
return builder().build();
}
/**
* @return centralizeConfig
*/
public CentralizeConfig getCentralizeConfig() {
return this.centralizeConfig;
}
/**
* @return centralizeEnabled
*/
public Boolean getCentralizeEnabled() {
return this.centralizeEnabled;
}
/**
* @return dataCode
*/
public String getDataCode() {
return this.dataCode;
}
/**
* @return dataConfig
*/
public DataConfig getDataConfig() {
return this.dataConfig;
}
/**
* @return enabled
*/
public Boolean getEnabled() {
return this.enabled;
}
/**
* @return internalPolicy
*/
public Boolean getInternalPolicy() {
return this.internalPolicy;
}
/**
* @return policyConfig
*/
public PolicyConfig getPolicyConfig() {
return this.policyConfig;
}
/**
* @return policyName
*/
public String getPolicyName() {
return this.policyName;
}
/**
* @return policyUid
*/
public String getPolicyUid() {
return this.policyUid;
}
/**
* @return productCode
*/
public String getProductCode() {
return this.productCode;
}
/**
* @return resourceDirectory
*/
public ResourceDirectory getResourceDirectory() {
return this.resourceDirectory;
}
public static final class Builder {
private CentralizeConfig centralizeConfig;
private Boolean centralizeEnabled;
private String dataCode;
private DataConfig dataConfig;
private Boolean enabled;
private Boolean internalPolicy;
private PolicyConfig policyConfig;
private String policyName;
private String policyUid;
private String productCode;
private ResourceDirectory resourceDirectory;
private Builder() {
}
private Builder(CollectionPolicy model) {
this.centralizeConfig = model.centralizeConfig;
this.centralizeEnabled = model.centralizeEnabled;
this.dataCode = model.dataCode;
this.dataConfig = model.dataConfig;
this.enabled = model.enabled;
this.internalPolicy = model.internalPolicy;
this.policyConfig = model.policyConfig;
this.policyName = model.policyName;
this.policyUid = model.policyUid;
this.productCode = model.productCode;
this.resourceDirectory = model.resourceDirectory;
}
/**
* centralizeConfig.
*/
public Builder centralizeConfig(CentralizeConfig centralizeConfig) {
this.centralizeConfig = centralizeConfig;
return this;
}
/**
* centralizeEnabled.
*/
public Builder centralizeEnabled(Boolean centralizeEnabled) {
this.centralizeEnabled = centralizeEnabled;
return this;
}
/**
* dataCode.
*/
public Builder dataCode(String dataCode) {
this.dataCode = dataCode;
return this;
}
/**
* dataConfig.
*/
public Builder dataConfig(DataConfig dataConfig) {
this.dataConfig = dataConfig;
return this;
}
/**
* enabled.
*/
public Builder enabled(Boolean enabled) {
this.enabled = enabled;
return this;
}
/**
* internalPolicy.
*/
public Builder internalPolicy(Boolean internalPolicy) {
this.internalPolicy = internalPolicy;
return this;
}
/**
* policyConfig.
*/
public Builder policyConfig(PolicyConfig policyConfig) {
this.policyConfig = policyConfig;
return this;
}
/**
* policyName.
*/
public Builder policyName(String policyName) {
this.policyName = policyName;
return this;
}
/**
* policyUid.
*/
public Builder policyUid(String policyUid) {
this.policyUid = policyUid;
return this;
}
/**
* productCode.
*/
public Builder productCode(String productCode) {
this.productCode = productCode;
return this;
}
/**
* resourceDirectory.
*/
public Builder resourceDirectory(ResourceDirectory resourceDirectory) {
this.resourceDirectory = resourceDirectory;
return this;
}
public CollectionPolicy build() {
return new CollectionPolicy(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/GetConfigRequest.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 GetConfigRequest} extends {@link RequestModel}
*
* <p>GetConfigRequest</p>
*/
public class GetConfigRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("project")
private String project;
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("configName")
@com.aliyun.core.annotation.Validation(required = true)
private String configName;
private GetConfigRequest(Builder builder) {
super(builder);
this.project = builder.project;
this.configName = builder.configName;
}
public static Builder builder() {
return new Builder();
}
public static GetConfigRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return project
*/
public String getProject() {
return this.project;
}
/**
* @return configName
*/
public String getConfigName() {
return this.configName;
}
public static final class Builder extends Request.Builder<GetConfigRequest, Builder> {
private String project;
private String configName;
private Builder() {
super();
}
private Builder(GetConfigRequest request) {
super(request);
this.project = request.project;
this.configName = request.configName;
}
/**
* <p>The name of the project.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ali-test-project</p>
*/
public Builder project(String project) {
this.putHostParameter("project", project);
this.project = project;
return this;
}
/**
* <p>The name of the Logtail configuration.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>logtail-config-sample</p>
*/
public Builder configName(String configName) {
this.putPathParameter("configName", configName);
this.configName = configName;
return this;
}
@Override
public GetConfigRequest build() {
return new GetConfigRequest(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/GetConfigResponse.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 GetConfigResponse} extends {@link TeaModel}
*
* <p>GetConfigResponse</p>
*/
public class GetConfigResponse 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 LogtailConfig body;
private GetConfigResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetConfigResponse 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 LogtailConfig getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetConfigResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(LogtailConfig body);
@Override
GetConfigResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetConfigResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private LogtailConfig body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetConfigResponse 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(LogtailConfig body) {
this.body = body;
return this;
}
@Override
public GetConfigResponse build() {
return new GetConfigResponse(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/GetConsumeProcessorRequest.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 GetConsumeProcessorRequest} extends {@link RequestModel}
*
* <p>GetConsumeProcessorRequest</p>
*/
public class GetConsumeProcessorRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("project")
private String project;
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("processorName")
@com.aliyun.core.annotation.Validation(required = true)
private String processorName;
private GetConsumeProcessorRequest(Builder builder) {
super(builder);
this.project = builder.project;
this.processorName = builder.processorName;
}
public static Builder builder() {
return new Builder();
}
public static GetConsumeProcessorRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return project
*/
public String getProject() {
return this.project;
}
/**
* @return processorName
*/
public String getProcessorName() {
return this.processorName;
}
public static final class Builder extends Request.Builder<GetConsumeProcessorRequest, Builder> {
private String project;
private String processorName;
private Builder() {
super();
}
private Builder(GetConsumeProcessorRequest request) {
super(request);
this.project = request.project;
this.processorName = request.processorName;
}
/**
* <p>This parameter is required.</p>
*/
public Builder project(String project) {
this.putHostParameter("project", project);
this.project = project;
return this;
}
/**
* <p>The identifier of the consumer processor.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>consume-processor-1</p>
*/
public Builder processorName(String processorName) {
this.putPathParameter("processorName", processorName);
this.processorName = processorName;
return this;
}
@Override
public GetConsumeProcessorRequest build() {
return new GetConsumeProcessorRequest(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/GetConsumeProcessorResponse.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 GetConsumeProcessorResponse} extends {@link TeaModel}
*
* <p>GetConsumeProcessorResponse</p>
*/
public class GetConsumeProcessorResponse 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 ConsumeProcessor body;
private GetConsumeProcessorResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetConsumeProcessorResponse 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 ConsumeProcessor getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetConsumeProcessorResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ConsumeProcessor body);
@Override
GetConsumeProcessorResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetConsumeProcessorResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ConsumeProcessor body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetConsumeProcessorResponse 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(ConsumeProcessor body) {
this.body = body;
return this;
}
@Override
public GetConsumeProcessorResponse build() {
return new GetConsumeProcessorResponse(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/GetContextLogsRequest.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 GetContextLogsRequest} extends {@link RequestModel}
*
* <p>GetContextLogsRequest</p>
*/
public class GetContextLogsRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("project")
private String project;
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("logstore")
@com.aliyun.core.annotation.Validation(required = true)
private String logstore;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("back_lines")
@com.aliyun.core.annotation.Validation(required = true)
private Long backLines;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("forward_lines")
@com.aliyun.core.annotation.Validation(required = true)
private Long forwardLines;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("pack_id")
@com.aliyun.core.annotation.Validation(required = true)
private String packId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("pack_meta")
@com.aliyun.core.annotation.Validation(required = true)
private String packMeta;
private GetContextLogsRequest(Builder builder) {
super(builder);
this.project = builder.project;
this.logstore = builder.logstore;
this.backLines = builder.backLines;
this.forwardLines = builder.forwardLines;
this.packId = builder.packId;
this.packMeta = builder.packMeta;
}
public static Builder builder() {
return new Builder();
}
public static GetContextLogsRequest 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 backLines
*/
public Long getBackLines() {
return this.backLines;
}
/**
* @return forwardLines
*/
public Long getForwardLines() {
return this.forwardLines;
}
/**
* @return packId
*/
public String getPackId() {
return this.packId;
}
/**
* @return packMeta
*/
public String getPackMeta() {
return this.packMeta;
}
public static final class Builder extends Request.Builder<GetContextLogsRequest, Builder> {
private String project;
private String logstore;
private Long backLines;
private Long forwardLines;
private String packId;
private String packMeta;
private Builder() {
super();
}
private Builder(GetContextLogsRequest request) {
super(request);
this.project = request.project;
this.logstore = request.logstore;
this.backLines = request.backLines;
this.forwardLines = request.forwardLines;
this.packId = request.packId;
this.packMeta = request.packMeta;
}
/**
* <p>The name of the project.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ali-test-project</p>
*/
public Builder project(String project) {
this.putHostParameter("project", project);
this.project = project;
return this;
}
/**
* <p>The name of the Logstore.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>test-logstore</p>
*/
public Builder logstore(String logstore) {
this.putPathParameter("logstore", logstore);
this.logstore = logstore;
return this;
}
/**
* <p>The number of logs that you want to obtain and are generated before the generation time of the start log. Valid values: <code>(0,100]</code>.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder backLines(Long backLines) {
this.putQueryParameter("back_lines", backLines);
this.backLines = backLines;
return this;
}
/**
* <p>The number of logs that you want to obtain and are generated after the generation time of the start log. Valid values: <code>(0,100]</code>.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder forwardLines(Long forwardLines) {
this.putQueryParameter("forward_lines", forwardLines);
this.forwardLines = forwardLines;
return this;
}
/**
* <p>The unique identifier of the log group to which the start log belongs.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>85C897C740352DC6-808</p>
*/
public Builder packId(String packId) {
this.putQueryParameter("pack_id", packId);
this.packId = packId;
return this;
}
/**
* <p>The unique context identifier of the start log in the log group.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>2|MTY1NTcwNTUzODY5MTY0MDk1Mg==|3|0</p>
*/
public Builder packMeta(String packMeta) {
this.putQueryParameter("pack_meta", packMeta);
this.packMeta = packMeta;
return this;
}
@Override
public GetContextLogsRequest build() {
return new GetContextLogsRequest(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/GetContextLogsResponse.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 GetContextLogsResponse} extends {@link TeaModel}
*
* <p>GetContextLogsResponse</p>
*/
public class GetContextLogsResponse 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 GetContextLogsResponseBody body;
private GetContextLogsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetContextLogsResponse 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 GetContextLogsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetContextLogsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetContextLogsResponseBody body);
@Override
GetContextLogsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetContextLogsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetContextLogsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetContextLogsResponse 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(GetContextLogsResponseBody body) {
this.body = body;
return this;
}
@Override
public GetContextLogsResponse build() {
return new GetContextLogsResponse(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/GetContextLogsResponseBody.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 GetContextLogsResponseBody} extends {@link TeaModel}
*
* <p>GetContextLogsResponseBody</p>
*/
public class GetContextLogsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("back_lines")
private Long backLines;
@com.aliyun.core.annotation.NameInMap("forward_lines")
private Long forwardLines;
@com.aliyun.core.annotation.NameInMap("logs")
private java.util.List<java.util.Map<String, ?>> logs;
@com.aliyun.core.annotation.NameInMap("progress")
private String progress;
@com.aliyun.core.annotation.NameInMap("total_lines")
private Long totalLines;
private GetContextLogsResponseBody(Builder builder) {
this.backLines = builder.backLines;
this.forwardLines = builder.forwardLines;
this.logs = builder.logs;
this.progress = builder.progress;
this.totalLines = builder.totalLines;
}
public static Builder builder() {
return new Builder();
}
public static GetContextLogsResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return backLines
*/
public Long getBackLines() {
return this.backLines;
}
/**
* @return forwardLines
*/
public Long getForwardLines() {
return this.forwardLines;
}
/**
* @return logs
*/
public java.util.List<java.util.Map<String, ?>> getLogs() {
return this.logs;
}
/**
* @return progress
*/
public String getProgress() {
return this.progress;
}
/**
* @return totalLines
*/
public Long getTotalLines() {
return this.totalLines;
}
public static final class Builder {
private Long backLines;
private Long forwardLines;
private java.util.List<java.util.Map<String, ?>> logs;
private String progress;
private Long totalLines;
private Builder() {
}
private Builder(GetContextLogsResponseBody model) {
this.backLines = model.backLines;
this.forwardLines = model.forwardLines;
this.logs = model.logs;
this.progress = model.progress;
this.totalLines = model.totalLines;
}
/**
* <p>The number of logs that are generated before the generation time of the start log.</p>
*
* <strong>example:</strong>
* <p>100</p>
*/
public Builder backLines(Long backLines) {
this.backLines = backLines;
return this;
}
/**
* <p>The number of logs that are generated after the generation time of the start log.</p>
*
* <strong>example:</strong>
* <p>100</p>
*/
public Builder forwardLines(Long forwardLines) {
this.forwardLines = forwardLines;
return this;
}
/**
* <p>The logs that are returned.</p>
*/
public Builder logs(java.util.List<java.util.Map<String, ?>> logs) {
this.logs = logs;
return this;
}
/**
* <p>Indicates whether the query and analysis results are complete. Valid values:</p>
* <ul>
* <li>Complete: The query is successful, and the complete query and analysis results are returned.</li>
* <li>Incomplete: The query is successful, but the query and analysis results are incomplete. To obtain the complete results, you must repeat the request.</li>
* </ul>
*
* <strong>example:</strong>
* <p>Complete</p>
*/
public Builder progress(String progress) {
this.progress = progress;
return this;
}
/**
* <p>The total number of logs that are returned. The logs include the start log that is specified in the request.</p>
*
* <strong>example:</strong>
* <p>201</p>
*/
public Builder totalLines(Long totalLines) {
this.totalLines = totalLines;
return this;
}
public GetContextLogsResponseBody build() {
return new GetContextLogsResponseBody(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/GetCursorRequest.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 GetCursorRequest} extends {@link RequestModel}
*
* <p>GetCursorRequest</p>
*/
public class GetCursorRequest 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("shardId")
@com.aliyun.core.annotation.Validation(required = true)
private Integer shardId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("from")
@com.aliyun.core.annotation.Validation(required = true)
private String from;
private GetCursorRequest(Builder builder) {
super(builder);
this.project = builder.project;
this.logstore = builder.logstore;
this.shardId = builder.shardId;
this.from = builder.from;
}
public static Builder builder() {
return new Builder();
}
public static GetCursorRequest 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 shardId
*/
public Integer getShardId() {
return this.shardId;
}
/**
* @return from
*/
public String getFrom() {
return this.from;
}
public static final class Builder extends Request.Builder<GetCursorRequest, Builder> {
private String project;
private String logstore;
private Integer shardId;
private String from;
private Builder() {
super();
}
private Builder(GetCursorRequest request) {
super(request);
this.project = request.project;
this.logstore = request.logstore;
this.shardId = request.shardId;
this.from = request.from;
}
/**
* <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>sls-test-logstore</p>
*/
public Builder logstore(String logstore) {
this.putPathParameter("logstore", logstore);
this.logstore = logstore;
return this;
}
/**
* <p>The shard ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder shardId(Integer shardId) {
this.putPathParameter("shardId", shardId);
this.shardId = shardId;
return this;
}
/**
* <p>The point in time that you want to use to query a cursor. Set the value to a UNIX timestamp or a string such as <code>begin</code> and <code>end</code>.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>begin</p>
*/
public Builder from(String from) {
this.putQueryParameter("from", from);
this.from = from;
return this;
}
@Override
public GetCursorRequest build() {
return new GetCursorRequest(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/GetCursorResponse.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 GetCursorResponse} extends {@link TeaModel}
*
* <p>GetCursorResponse</p>
*/
public class GetCursorResponse 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 GetCursorResponseBody body;
private GetCursorResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetCursorResponse 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 GetCursorResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetCursorResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetCursorResponseBody body);
@Override
GetCursorResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetCursorResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetCursorResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetCursorResponse 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(GetCursorResponseBody body) {
this.body = body;
return this;
}
@Override
public GetCursorResponse build() {
return new GetCursorResponse(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/GetCursorResponseBody.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 GetCursorResponseBody} extends {@link TeaModel}
*
* <p>GetCursorResponseBody</p>
*/
public class GetCursorResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("cursor")
private String cursor;
private GetCursorResponseBody(Builder builder) {
this.cursor = builder.cursor;
}
public static Builder builder() {
return new Builder();
}
public static GetCursorResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return cursor
*/
public String getCursor() {
return this.cursor;
}
public static final class Builder {
private String cursor;
private Builder() {
}
private Builder(GetCursorResponseBody model) {
this.cursor = model.cursor;
}
/**
* <p>The value of the cursor.</p>
*
* <strong>example:</strong>
* <p>MTQ0NzI5OTYwNjg5NjYzMjM1Ng==</p>
*/
public Builder cursor(String cursor) {
this.cursor = cursor;
return this;
}
public GetCursorResponseBody build() {
return new GetCursorResponseBody(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/GetCursorTimeRequest.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 GetCursorTimeRequest} extends {@link RequestModel}
*
* <p>GetCursorTimeRequest</p>
*/
public class GetCursorTimeRequest 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("shardId")
@com.aliyun.core.annotation.Validation(required = true)
private Integer shardId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("cursor")
@com.aliyun.core.annotation.Validation(required = true)
private String cursor;
private GetCursorTimeRequest(Builder builder) {
super(builder);
this.project = builder.project;
this.logstore = builder.logstore;
this.shardId = builder.shardId;
this.cursor = builder.cursor;
}
public static Builder builder() {
return new Builder();
}
public static GetCursorTimeRequest 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 shardId
*/
public Integer getShardId() {
return this.shardId;
}
/**
* @return cursor
*/
public String getCursor() {
return this.cursor;
}
public static final class Builder extends Request.Builder<GetCursorTimeRequest, Builder> {
private String project;
private String logstore;
private Integer shardId;
private String cursor;
private Builder() {
super();
}
private Builder(GetCursorTimeRequest request) {
super(request);
this.project = request.project;
this.logstore = request.logstore;
this.shardId = request.shardId;
this.cursor = request.cursor;
}
/**
* <p>The name of the project.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ali-test-project</p>
*/
public Builder project(String project) {
this.putHostParameter("project", project);
this.project = project;
return this;
}
/**
* <p>The name of the Logstore.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>test-logstore</p>
*/
public Builder logstore(String logstore) {
this.putPathParameter("logstore", logstore);
this.logstore = logstore;
return this;
}
/**
* <p>The shard ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>0</p>
*/
public Builder shardId(Integer shardId) {
this.putPathParameter("shardId", shardId);
this.shardId = shardId;
return this;
}
/**
* <p>The cursor.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>MTU0NzQ3MDY4MjM3NjUxMzQ0Ng==</p>
*/
public Builder cursor(String cursor) {
this.putQueryParameter("cursor", cursor);
this.cursor = cursor;
return this;
}
@Override
public GetCursorTimeRequest build() {
return new GetCursorTimeRequest(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/GetCursorTimeResponse.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 GetCursorTimeResponse} extends {@link TeaModel}
*
* <p>GetCursorTimeResponse</p>
*/
public class GetCursorTimeResponse 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 GetCursorTimeResponseBody body;
private GetCursorTimeResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetCursorTimeResponse 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 GetCursorTimeResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetCursorTimeResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetCursorTimeResponseBody body);
@Override
GetCursorTimeResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetCursorTimeResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetCursorTimeResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetCursorTimeResponse 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(GetCursorTimeResponseBody body) {
this.body = body;
return this;
}
@Override
public GetCursorTimeResponse build() {
return new GetCursorTimeResponse(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/GetCursorTimeResponseBody.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 GetCursorTimeResponseBody} extends {@link TeaModel}
*
* <p>GetCursorTimeResponseBody</p>
*/
public class GetCursorTimeResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("cursor_time")
private String cursorTime;
private GetCursorTimeResponseBody(Builder builder) {
this.cursorTime = builder.cursorTime;
}
public static Builder builder() {
return new Builder();
}
public static GetCursorTimeResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return cursorTime
*/
public String getCursorTime() {
return this.cursorTime;
}
public static final class Builder {
private String cursorTime;
private Builder() {
}
private Builder(GetCursorTimeResponseBody model) {
this.cursorTime = model.cursorTime;
}
/**
* <p>The server time that is queried based on the cursor. The value is a UNIX timestamp representing the number of seconds that have elapsed since January 1, 1970, 00:00:00 UTC.</p>
*
* <strong>example:</strong>
* <p>1554260243</p>
*/
public Builder cursorTime(String cursorTime) {
this.cursorTime = cursorTime;
return this;
}
public GetCursorTimeResponseBody build() {
return new GetCursorTimeResponseBody(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/GetDashboardRequest.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 GetDashboardRequest} extends {@link RequestModel}
*
* <p>GetDashboardRequest</p>
*/
public class GetDashboardRequest 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("dashboardName")
@com.aliyun.core.annotation.Validation(required = true)
private String dashboardName;
private GetDashboardRequest(Builder builder) {
super(builder);
this.project = builder.project;
this.dashboardName = builder.dashboardName;
}
public static Builder builder() {
return new Builder();
}
public static GetDashboardRequest 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;
}
public static final class Builder extends Request.Builder<GetDashboardRequest, Builder> {
private String project;
private String dashboardName;
private Builder() {
super();
}
private Builder(GetDashboardRequest request) {
super(request);
this.project = request.project;
this.dashboardName = request.dashboardName;
}
/**
* <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 dashboard.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>dashboard-1609294922657-434834</p>
*/
public Builder dashboardName(String dashboardName) {
this.putPathParameter("dashboardName", dashboardName);
this.dashboardName = dashboardName;
return this;
}
@Override
public GetDashboardRequest build() {
return new GetDashboardRequest(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/GetDashboardResponse.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 GetDashboardResponse} extends {@link TeaModel}
*
* <p>GetDashboardResponse</p>
*/
public class GetDashboardResponse 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 Dashboard body;
private GetDashboardResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetDashboardResponse 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 Dashboard getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetDashboardResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(Dashboard body);
@Override
GetDashboardResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetDashboardResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private Dashboard body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetDashboardResponse 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(Dashboard body) {
this.body = body;
return this;
}
@Override
public GetDashboardResponse build() {
return new GetDashboardResponse(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/GetDownloadJobRequest.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 GetDownloadJobRequest} extends {@link RequestModel}
*
* <p>GetDownloadJobRequest</p>
*/
public class GetDownloadJobRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("downloadJobName")
@com.aliyun.core.annotation.Validation(required = true)
private String downloadJobName;
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("project")
private String project;
private GetDownloadJobRequest(Builder builder) {
super(builder);
this.downloadJobName = builder.downloadJobName;
this.project = builder.project;
}
public static Builder builder() {
return new Builder();
}
public static GetDownloadJobRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return downloadJobName
*/
public String getDownloadJobName() {
return this.downloadJobName;
}
/**
* @return project
*/
public String getProject() {
return this.project;
}
public static final class Builder extends Request.Builder<GetDownloadJobRequest, Builder> {
private String downloadJobName;
private String project;
private Builder() {
super();
}
private Builder(GetDownloadJobRequest request) {
super(request);
this.downloadJobName = request.downloadJobName;
this.project = request.project;
}
/**
* <p>代表资源名称的资源属性字段</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>download-123</p>
*/
public Builder downloadJobName(String downloadJobName) {
this.putPathParameter("downloadJobName", downloadJobName);
this.downloadJobName = downloadJobName;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ali-test-project</p>
*/
public Builder project(String project) {
this.putHostParameter("project", project);
this.project = project;
return this;
}
@Override
public GetDownloadJobRequest build() {
return new GetDownloadJobRequest(this);
}
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.