com.aliyun.sdk.service.dataphin_public20230630.models.GetAdHocTaskResultRequest 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 GetAdHocTaskResultRequest} extends {@link RequestModel}
*
* GetAdHocTaskResultRequest
*/
public class GetAdHocTaskResultRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OpTenantId")
@com.aliyun.core.annotation.Validation(required = true)
private Long opTenantId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ProjectId")
@com.aliyun.core.annotation.Validation(required = true)
private Long projectId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("SubTaskId")
@com.aliyun.core.annotation.Validation(required = true)
private Integer subTaskId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("TaskId")
@com.aliyun.core.annotation.Validation(required = true)
private String taskId;
private GetAdHocTaskResultRequest(Builder builder) {
super(builder);
this.regionId = builder.regionId;
this.opTenantId = builder.opTenantId;
this.projectId = builder.projectId;
this.subTaskId = builder.subTaskId;
this.taskId = builder.taskId;
}
public static Builder builder() {
return new Builder();
}
public static GetAdHocTaskResultRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return opTenantId
*/
public Long getOpTenantId() {
return this.opTenantId;
}
/**
* @return projectId
*/
public Long getProjectId() {
return this.projectId;
}
/**
* @return subTaskId
*/
public Integer getSubTaskId() {
return this.subTaskId;
}
/**
* @return taskId
*/
public String getTaskId() {
return this.taskId;
}
public static final class Builder extends Request.Builder {
private String regionId;
private Long opTenantId;
private Long projectId;
private Integer subTaskId;
private String taskId;
private Builder() {
super();
}
private Builder(GetAdHocTaskResultRequest request) {
super(request);
this.regionId = request.regionId;
this.opTenantId = request.opTenantId;
this.projectId = request.projectId;
this.subTaskId = request.subTaskId;
this.taskId = request.taskId;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.putHostParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* This parameter is required.
*
* example:
* 30001011
*/
public Builder opTenantId(Long opTenantId) {
this.putQueryParameter("OpTenantId", opTenantId);
this.opTenantId = opTenantId;
return this;
}
/**
* This parameter is required.
*
* example:
* 131211211
*/
public Builder projectId(Long projectId) {
this.putQueryParameter("ProjectId", projectId);
this.projectId = projectId;
return this;
}
/**
* This parameter is required.
*
* example:
* 0
*/
public Builder subTaskId(Integer subTaskId) {
this.putQueryParameter("SubTaskId", subTaskId);
this.subTaskId = subTaskId;
return this;
}
/**
* This parameter is required.
*
* example:
* MaxCompute_SQL_300000843_1611548758327
*/
public Builder taskId(String taskId) {
this.putQueryParameter("TaskId", taskId);
this.taskId = taskId;
return this;
}
@Override
public GetAdHocTaskResultRequest build() {
return new GetAdHocTaskResultRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy