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

com.aliyun.polardb20170801.models.DescribeTasksResponseBody Maven / Gradle / Ivy

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

import com.aliyun.tea.*;

public class DescribeTasksResponseBody extends TeaModel {
    /**
     * 

The ID of the cluster for which the task was created.

* * example: *

pc-***************

*/ @NameInMap("DBClusterId") public String DBClusterId; /** *

The end time of the query.

* * example: *

2020-12-02T03:00Z

*/ @NameInMap("EndTime") public String endTime; /** *

The page number of the page returned.

* * example: *

1

*/ @NameInMap("PageNumber") public Integer pageNumber; /** *

The number of entries returned per page.

* * example: *

30

*/ @NameInMap("PageRecordCount") public Integer pageRecordCount; /** *

The request ID.

* * example: *

4352AD99-9FF5-41A6-A319-068089******

*/ @NameInMap("RequestId") public String requestId; /** *

The start time of the query.

* * example: *

2020-11-30T00:00Z

*/ @NameInMap("StartTime") public String startTime; /** *

The details of the task.

*/ @NameInMap("Tasks") public DescribeTasksResponseBodyTasks tasks; /** *

The total number of entries returned.

* * example: *

1

*/ @NameInMap("TotalRecordCount") public Integer totalRecordCount; public static DescribeTasksResponseBody build(java.util.Map map) throws Exception { DescribeTasksResponseBody self = new DescribeTasksResponseBody(); return TeaModel.build(map, self); } public DescribeTasksResponseBody setDBClusterId(String DBClusterId) { this.DBClusterId = DBClusterId; return this; } public String getDBClusterId() { return this.DBClusterId; } public DescribeTasksResponseBody setEndTime(String endTime) { this.endTime = endTime; return this; } public String getEndTime() { return this.endTime; } public DescribeTasksResponseBody setPageNumber(Integer pageNumber) { this.pageNumber = pageNumber; return this; } public Integer getPageNumber() { return this.pageNumber; } public DescribeTasksResponseBody setPageRecordCount(Integer pageRecordCount) { this.pageRecordCount = pageRecordCount; return this; } public Integer getPageRecordCount() { return this.pageRecordCount; } public DescribeTasksResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public DescribeTasksResponseBody setStartTime(String startTime) { this.startTime = startTime; return this; } public String getStartTime() { return this.startTime; } public DescribeTasksResponseBody setTasks(DescribeTasksResponseBodyTasks tasks) { this.tasks = tasks; return this; } public DescribeTasksResponseBodyTasks getTasks() { return this.tasks; } public DescribeTasksResponseBody setTotalRecordCount(Integer totalRecordCount) { this.totalRecordCount = totalRecordCount; return this; } public Integer getTotalRecordCount() { return this.totalRecordCount; } public static class DescribeTasksResponseBodyTasksTask extends TeaModel { /** *

The time when the task was started. The time follows the ISO 8601 standard in the YYYY-MM-DDThh:mm:ssZ format. The time is displayed in UTC.

* * example: *

2020-12-02T02:39:15Z

*/ @NameInMap("BeginTime") public String beginTime; /** *

The name of the current step.

* * example: *

create_instance

*/ @NameInMap("CurrentStepName") public String currentStepName; /** *

The database name.

*
*

This parameter is returned for only the tasks that involve database operations.

*
* * example: *

test

*/ @NameInMap("DBName") public String DBName; /** *

The estimated end time of the task. In most cases, this parameter is empty.

* * example: *

null

*/ @NameInMap("ExpectedFinishTime") public String expectedFinishTime; /** *

The time when the task was completed. The time follows the ISO 8601 standard in the YYYY-MM-DDThh:mm:ssZ format. The time is displayed in UTC.

* * example: *

2020-12-02T02:40:15Z

*/ @NameInMap("FinishTime") public String finishTime; /** *

The progress of the task in percentage.

* * example: *

100

*/ @NameInMap("Progress") public Integer progress; /** *

The description of the task progress. If no progress description is provided for the task, this parameter is empty.

* * example: *

null

*/ @NameInMap("ProgressInfo") public String progressInfo; /** *

The estimated remaining duration of the task. Unit: seconds.

* * example: *

1767

*/ @NameInMap("Remain") public Integer remain; /** *

The progress of the subtasks. For example, the value 1/4 indicates that the task consists of four subtasks and the first subtask is in progress.

* * example: *

1/4

*/ @NameInMap("StepProgressInfo") public String stepProgressInfo; /** *

The details of the subtasks.

* * example: *

[{\"remain\":0,\"name\":\"init_task\",\"progress\":100},{\"remain\":1764,\"name\":\"create_instance\",\"progress\":0},{\"remain\":1,\"name\":\"init_cluster\",\"progress\":0},{\"remain\":2,\"name\":\"create_backup\",\"progress\":0}]

*/ @NameInMap("StepsInfo") public String stepsInfo; /** *

The API operation that is used by the task. Example: CreateDBInstance.

* * example: *

CreateDBInstance

*/ @NameInMap("TaskAction") public String taskAction; /** *

The error code that is returned when an error occurs.

*
*

This parameter is returned only when the task is in the Stop state.

*
* * example: *

null

*/ @NameInMap("TaskErrorCode") public String taskErrorCode; /** *

The error message that is returned when an error occurs.

*
*

This parameter is returned only when the task is in the Stop state.

*
* * example: *

null

*/ @NameInMap("TaskErrorMessage") public String taskErrorMessage; /** *

The ID of the task.

* * example: *

111111111

*/ @NameInMap("TaskId") public String taskId; public static DescribeTasksResponseBodyTasksTask build(java.util.Map map) throws Exception { DescribeTasksResponseBodyTasksTask self = new DescribeTasksResponseBodyTasksTask(); return TeaModel.build(map, self); } public DescribeTasksResponseBodyTasksTask setBeginTime(String beginTime) { this.beginTime = beginTime; return this; } public String getBeginTime() { return this.beginTime; } public DescribeTasksResponseBodyTasksTask setCurrentStepName(String currentStepName) { this.currentStepName = currentStepName; return this; } public String getCurrentStepName() { return this.currentStepName; } public DescribeTasksResponseBodyTasksTask setDBName(String DBName) { this.DBName = DBName; return this; } public String getDBName() { return this.DBName; } public DescribeTasksResponseBodyTasksTask setExpectedFinishTime(String expectedFinishTime) { this.expectedFinishTime = expectedFinishTime; return this; } public String getExpectedFinishTime() { return this.expectedFinishTime; } public DescribeTasksResponseBodyTasksTask setFinishTime(String finishTime) { this.finishTime = finishTime; return this; } public String getFinishTime() { return this.finishTime; } public DescribeTasksResponseBodyTasksTask setProgress(Integer progress) { this.progress = progress; return this; } public Integer getProgress() { return this.progress; } public DescribeTasksResponseBodyTasksTask setProgressInfo(String progressInfo) { this.progressInfo = progressInfo; return this; } public String getProgressInfo() { return this.progressInfo; } public DescribeTasksResponseBodyTasksTask setRemain(Integer remain) { this.remain = remain; return this; } public Integer getRemain() { return this.remain; } public DescribeTasksResponseBodyTasksTask setStepProgressInfo(String stepProgressInfo) { this.stepProgressInfo = stepProgressInfo; return this; } public String getStepProgressInfo() { return this.stepProgressInfo; } public DescribeTasksResponseBodyTasksTask setStepsInfo(String stepsInfo) { this.stepsInfo = stepsInfo; return this; } public String getStepsInfo() { return this.stepsInfo; } public DescribeTasksResponseBodyTasksTask setTaskAction(String taskAction) { this.taskAction = taskAction; return this; } public String getTaskAction() { return this.taskAction; } public DescribeTasksResponseBodyTasksTask setTaskErrorCode(String taskErrorCode) { this.taskErrorCode = taskErrorCode; return this; } public String getTaskErrorCode() { return this.taskErrorCode; } public DescribeTasksResponseBodyTasksTask setTaskErrorMessage(String taskErrorMessage) { this.taskErrorMessage = taskErrorMessage; return this; } public String getTaskErrorMessage() { return this.taskErrorMessage; } public DescribeTasksResponseBodyTasksTask setTaskId(String taskId) { this.taskId = taskId; return this; } public String getTaskId() { return this.taskId; } } public static class DescribeTasksResponseBodyTasks extends TeaModel { @NameInMap("Task") public java.util.List task; public static DescribeTasksResponseBodyTasks build(java.util.Map map) throws Exception { DescribeTasksResponseBodyTasks self = new DescribeTasksResponseBodyTasks(); return TeaModel.build(map, self); } public DescribeTasksResponseBodyTasks setTask(java.util.List task) { this.task = task; return this; } public java.util.List getTask() { return this.task; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy