All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.sdk.service.ecs20140526.models.DescribeTasksResponseBody Maven / Gradle / Ivy

There is a newer version: 5.0.29
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ecs20140526.models;

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 { @com.aliyun.core.annotation.NameInMap("PageNumber") private Integer pageNumber; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TaskSet") private TaskSet taskSet; @com.aliyun.core.annotation.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 { @com.aliyun.core.annotation.NameInMap("CreationTime") private String creationTime; @com.aliyun.core.annotation.NameInMap("FinishedTime") private String finishedTime; @com.aliyun.core.annotation.NameInMap("ResourceId") private String resourceId; @com.aliyun.core.annotation.NameInMap("SupportCancel") private String supportCancel; @com.aliyun.core.annotation.NameInMap("TaskAction") private String taskAction; @com.aliyun.core.annotation.NameInMap("TaskId") private String taskId; @com.aliyun.core.annotation.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 { @com.aliyun.core.annotation.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