com.aliyun.sdk.service.ecs20140526.models.DescribeTasksResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-ecs20140526 Show documentation
Show all versions of alibabacloud-ecs20140526 Show documentation
Alibaba Cloud Ecs (20140526) Async SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ecs20140526.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeTasksResponseBody} extends {@link TeaModel}
*
* DescribeTasksResponseBody
*/
public class DescribeTasksResponseBody extends TeaModel {
@NameInMap("PageNumber")
private Integer pageNumber;
@NameInMap("PageSize")
private Integer pageSize;
@NameInMap("RegionId")
private String regionId;
@NameInMap("RequestId")
private String requestId;
@NameInMap("TaskSet")
private TaskSet taskSet;
@NameInMap("TotalCount")
private Integer totalCount;
private DescribeTasksResponseBody(Builder builder) {
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.regionId = builder.regionId;
this.requestId = builder.requestId;
this.taskSet = builder.taskSet;
this.totalCount = builder.totalCount;
}
public static Builder builder() {
return new Builder();
}
public static DescribeTasksResponseBody create() {
return builder().build();
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return taskSet
*/
public TaskSet getTaskSet() {
return this.taskSet;
}
/**
* @return totalCount
*/
public Integer getTotalCount() {
return this.totalCount;
}
public static final class Builder {
private Integer pageNumber;
private Integer pageSize;
private String regionId;
private String requestId;
private TaskSet taskSet;
private Integer totalCount;
/**
* The page number of the returned page.
*/
public Builder pageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* The number of entries returned per page.
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* The region ID of the task.
*/
public Builder regionId(String regionId) {
this.regionId = regionId;
return this;
}
/**
* The ID of the request.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Details about the tasks.
*/
public Builder taskSet(TaskSet taskSet) {
this.taskSet = taskSet;
return this;
}
/**
* The total number of entries returned.
*/
public Builder totalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public DescribeTasksResponseBody build() {
return new DescribeTasksResponseBody(this);
}
}
public static class Task extends TeaModel {
@NameInMap("CreationTime")
private String creationTime;
@NameInMap("FinishedTime")
private String finishedTime;
@NameInMap("ResourceId")
private String resourceId;
@NameInMap("SupportCancel")
private String supportCancel;
@NameInMap("TaskAction")
private String taskAction;
@NameInMap("TaskId")
private String taskId;
@NameInMap("TaskStatus")
private String taskStatus;
private Task(Builder builder) {
this.creationTime = builder.creationTime;
this.finishedTime = builder.finishedTime;
this.resourceId = builder.resourceId;
this.supportCancel = builder.supportCancel;
this.taskAction = builder.taskAction;
this.taskId = builder.taskId;
this.taskStatus = builder.taskStatus;
}
public static Builder builder() {
return new Builder();
}
public static Task create() {
return builder().build();
}
/**
* @return creationTime
*/
public String getCreationTime() {
return this.creationTime;
}
/**
* @return finishedTime
*/
public String getFinishedTime() {
return this.finishedTime;
}
/**
* @return resourceId
*/
public String getResourceId() {
return this.resourceId;
}
/**
* @return supportCancel
*/
public String getSupportCancel() {
return this.supportCancel;
}
/**
* @return taskAction
*/
public String getTaskAction() {
return this.taskAction;
}
/**
* @return taskId
*/
public String getTaskId() {
return this.taskId;
}
/**
* @return taskStatus
*/
public String getTaskStatus() {
return this.taskStatus;
}
public static final class Builder {
private String creationTime;
private String finishedTime;
private String resourceId;
private String supportCancel;
private String taskAction;
private String taskId;
private String taskStatus;
/**
* The time when the task was created.
*/
public Builder creationTime(String creationTime) {
this.creationTime = creationTime;
return this;
}
/**
* The time when the task was completed.
*/
public Builder finishedTime(String finishedTime) {
this.finishedTime = finishedTime;
return this;
}
/**
* The ID of the resource.
*/
public Builder resourceId(String resourceId) {
this.resourceId = resourceId;
return this;
}
/**
* Indicates whether the task can be canceled.
*/
public Builder supportCancel(String supportCancel) {
this.supportCancel = supportCancel;
return this;
}
/**
* The name of the task.
*/
public Builder taskAction(String taskAction) {
this.taskAction = taskAction;
return this;
}
/**
* The ID of the task.
*/
public Builder taskId(String taskId) {
this.taskId = taskId;
return this;
}
/**
* The state of the task.
*/
public Builder taskStatus(String taskStatus) {
this.taskStatus = taskStatus;
return this;
}
public Task build() {
return new Task(this);
}
}
}
public static class TaskSet extends TeaModel {
@NameInMap("Task")
private java.util.List < Task> task;
private TaskSet(Builder builder) {
this.task = builder.task;
}
public static Builder builder() {
return new Builder();
}
public static TaskSet create() {
return builder().build();
}
/**
* @return task
*/
public java.util.List < Task> getTask() {
return this.task;
}
public static final class Builder {
private java.util.List < Task> task;
/**
* Task.
*/
public Builder task(java.util.List < Task> task) {
this.task = task;
return this;
}
public TaskSet build() {
return new TaskSet(this);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy