com.aliyun.sdk.service.cs20151215.models.DescribeTaskInfoRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-cs20151215 Show documentation
Show all versions of alibabacloud-cs20151215 Show documentation
Alibaba Cloud CS (20151215) Async SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cs20151215.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeTaskInfoRequest} extends {@link RequestModel}
*
* DescribeTaskInfoRequest
*/
public class DescribeTaskInfoRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("task_id")
@com.aliyun.core.annotation.Validation(required = true)
private String taskId;
private DescribeTaskInfoRequest(Builder builder) {
super(builder);
this.taskId = builder.taskId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeTaskInfoRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return taskId
*/
public String getTaskId() {
return this.taskId;
}
public static final class Builder extends Request.Builder {
private String taskId;
private Builder() {
super();
}
private Builder(DescribeTaskInfoRequest request) {
super(request);
this.taskId = request.taskId;
}
/**
* The task ID.
*/
public Builder taskId(String taskId) {
this.putPathParameter("task_id", taskId);
this.taskId = taskId;
return this;
}
@Override
public DescribeTaskInfoRequest build() {
return new DescribeTaskInfoRequest(this);
}
}
}