com.aliyun.sdk.service.dataphin_public20230630.models.DeleteBatchTaskRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-dataphin_public20230630 Show documentation
Show all versions of alibabacloud-dataphin_public20230630 Show documentation
Alibaba Cloud dataphin-public (20230630) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.dataphin_public20230630.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DeleteBatchTaskRequest} extends {@link RequestModel}
*
* DeleteBatchTaskRequest
*/
public class DeleteBatchTaskRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("DeleteCommand")
@com.aliyun.core.annotation.Validation(required = true)
private DeleteCommand deleteCommand;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OpTenantId")
@com.aliyun.core.annotation.Validation(required = true)
private Long opTenantId;
private DeleteBatchTaskRequest(Builder builder) {
super(builder);
this.regionId = builder.regionId;
this.deleteCommand = builder.deleteCommand;
this.opTenantId = builder.opTenantId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteBatchTaskRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return deleteCommand
*/
public DeleteCommand getDeleteCommand() {
return this.deleteCommand;
}
/**
* @return opTenantId
*/
public Long getOpTenantId() {
return this.opTenantId;
}
public static final class Builder extends Request.Builder {
private String regionId;
private DeleteCommand deleteCommand;
private Long opTenantId;
private Builder() {
super();
}
private Builder(DeleteBatchTaskRequest request) {
super(request);
this.regionId = request.regionId;
this.deleteCommand = request.deleteCommand;
this.opTenantId = request.opTenantId;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.putHostParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* This parameter is required.
*/
public Builder deleteCommand(DeleteCommand deleteCommand) {
String deleteCommandShrink = shrink(deleteCommand, "DeleteCommand", "json");
this.putBodyParameter("DeleteCommand", deleteCommandShrink);
this.deleteCommand = deleteCommand;
return this;
}
/**
* This parameter is required.
*
* example:
* 30001011
*/
public Builder opTenantId(Long opTenantId) {
this.putQueryParameter("OpTenantId", opTenantId);
this.opTenantId = opTenantId;
return this;
}
@Override
public DeleteBatchTaskRequest build() {
return new DeleteBatchTaskRequest(this);
}
}
/**
*
* {@link DeleteBatchTaskRequest} extends {@link TeaModel}
*
* DeleteBatchTaskRequest
*/
public static class DeleteCommand extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Comment")
@com.aliyun.core.annotation.Validation(required = true)
private String comment;
@com.aliyun.core.annotation.NameInMap("FileId")
@com.aliyun.core.annotation.Validation(required = true)
private Long fileId;
@com.aliyun.core.annotation.NameInMap("ProjectId")
@com.aliyun.core.annotation.Validation(required = true)
private Long projectId;
private DeleteCommand(Builder builder) {
this.comment = builder.comment;
this.fileId = builder.fileId;
this.projectId = builder.projectId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteCommand create() {
return builder().build();
}
/**
* @return comment
*/
public String getComment() {
return this.comment;
}
/**
* @return fileId
*/
public Long getFileId() {
return this.fileId;
}
/**
* @return projectId
*/
public Long getProjectId() {
return this.projectId;
}
public static final class Builder {
private String comment;
private Long fileId;
private Long projectId;
/**
* This parameter is required.
*
* example:
* test task
*/
public Builder comment(String comment) {
this.comment = comment;
return this;
}
/**
* This parameter is required.
*
* example:
* 12113111
*/
public Builder fileId(Long fileId) {
this.fileId = fileId;
return this;
}
/**
* This parameter is required.
*
* example:
* 131211211
*/
public Builder projectId(Long projectId) {
this.projectId = projectId;
return this;
}
public DeleteCommand build() {
return new DeleteCommand(this);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy