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