com.aliyun.sdk.service.cs20151215.models.ResumeTaskRequest 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 ResumeTaskRequest} extends {@link RequestModel}
*
* ResumeTaskRequest
*/
public class ResumeTaskRequest 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 ResumeTaskRequest(Builder builder) {
super(builder);
this.taskId = builder.taskId;
}
public static Builder builder() {
return new Builder();
}
public static ResumeTaskRequest 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(ResumeTaskRequest 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 ResumeTaskRequest build() {
return new ResumeTaskRequest(this);
}
}
}