![JAR search and dependency download from the Maven repository](/logo.png)
com.aliyun.polardb20170801.models.DescribeScheduleTasksResponseBody Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.polardb20170801.models;
import com.aliyun.tea.*;
public class DescribeScheduleTasksResponseBody extends TeaModel {
/**
* The result data that is returned.
*/
@NameInMap("Data")
public DescribeScheduleTasksResponseBodyData data;
/**
* The message that is returned for the request.
*
* If the request is successful, Successful is returned. If the request fails, an error message such as an error code is returned.
*
*
* example:
* Successful
*/
@NameInMap("Message")
public String message;
/**
* The request ID.
*
* example:
* 936C7025-27A5-4CB1-BB31-540E1F0CCA12
*/
@NameInMap("RequestId")
public String requestId;
/**
* Indicates whether the request is successful.
*
* example:
* true
*/
@NameInMap("Success")
public Boolean success;
public static DescribeScheduleTasksResponseBody build(java.util.Map map) throws Exception {
DescribeScheduleTasksResponseBody self = new DescribeScheduleTasksResponseBody();
return TeaModel.build(map, self);
}
public DescribeScheduleTasksResponseBody setData(DescribeScheduleTasksResponseBodyData data) {
this.data = data;
return this;
}
public DescribeScheduleTasksResponseBodyData getData() {
return this.data;
}
public DescribeScheduleTasksResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public DescribeScheduleTasksResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public DescribeScheduleTasksResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public static class DescribeScheduleTasksResponseBodyDataTimerInfos extends TeaModel {
/**
* The type of the scheduled tasks.
*
* example:
* CreateDBNodes
*/
@NameInMap("Action")
public String action;
/**
* The cluster ID.
*
* example:
* pc-**************
*/
@NameInMap("DBClusterId")
public String DBClusterId;
/**
* The description of the cluster.
*
* example:
* test_cluster
*/
@NameInMap("DbClusterDescription")
public String dbClusterDescription;
/**
* The state of the cluster.
*
* example:
* Running
*/
@NameInMap("DbClusterStatus")
public String dbClusterStatus;
/**
* The ID of the order.
*
* This parameter is returned only when you set the Action
parameter to CreateDBNodes or ModifyDBNodeClass.
*
*
* example:
* 208161753******
*/
@NameInMap("OrderId")
public String orderId;
/**
* The latest start time of the task that you specified when you created the scheduled task. The time is displayed in UTC.
*
* example:
* 2021-01-28T12:30Z
*/
@NameInMap("PlannedEndTime")
public String plannedEndTime;
@NameInMap("PlannedFlashingOffTime")
public String plannedFlashingOffTime;
/**
* The earliest start time of the task that you specified when you created the scheduled task. The time is displayed in UTC.
*
* example:
* 2021-01-28T12:00Z
*/
@NameInMap("PlannedStartTime")
public String plannedStartTime;
/**
* The expected start time of the task. The time is displayed in UTC.
*
* example:
* 2021-01-28T12:16Z
*/
@NameInMap("PlannedTime")
public String plannedTime;
/**
* The ID of the region in which the scheduled task runs.
*
* example:
* cn-hangzhou
*/
@NameInMap("Region")
public String region;
/**
* The state of the scheduled task.
*
* example:
* finish
*/
@NameInMap("Status")
public String status;
/**
* Indicates whether the scheduled task can be canceled. Valid values:
*
* - true
* - false
*
*
* example:
* true
*/
@NameInMap("TaskCancel")
public Boolean taskCancel;
/**
* The ID of the task.
*
* example:
* 53879cdb-9a00-428e-acaf-ff4cff******
*/
@NameInMap("TaskId")
public String taskId;
public static DescribeScheduleTasksResponseBodyDataTimerInfos build(java.util.Map map) throws Exception {
DescribeScheduleTasksResponseBodyDataTimerInfos self = new DescribeScheduleTasksResponseBodyDataTimerInfos();
return TeaModel.build(map, self);
}
public DescribeScheduleTasksResponseBodyDataTimerInfos setAction(String action) {
this.action = action;
return this;
}
public String getAction() {
return this.action;
}
public DescribeScheduleTasksResponseBodyDataTimerInfos setDBClusterId(String DBClusterId) {
this.DBClusterId = DBClusterId;
return this;
}
public String getDBClusterId() {
return this.DBClusterId;
}
public DescribeScheduleTasksResponseBodyDataTimerInfos setDbClusterDescription(String dbClusterDescription) {
this.dbClusterDescription = dbClusterDescription;
return this;
}
public String getDbClusterDescription() {
return this.dbClusterDescription;
}
public DescribeScheduleTasksResponseBodyDataTimerInfos setDbClusterStatus(String dbClusterStatus) {
this.dbClusterStatus = dbClusterStatus;
return this;
}
public String getDbClusterStatus() {
return this.dbClusterStatus;
}
public DescribeScheduleTasksResponseBodyDataTimerInfos setOrderId(String orderId) {
this.orderId = orderId;
return this;
}
public String getOrderId() {
return this.orderId;
}
public DescribeScheduleTasksResponseBodyDataTimerInfos setPlannedEndTime(String plannedEndTime) {
this.plannedEndTime = plannedEndTime;
return this;
}
public String getPlannedEndTime() {
return this.plannedEndTime;
}
public DescribeScheduleTasksResponseBodyDataTimerInfos setPlannedFlashingOffTime(String plannedFlashingOffTime) {
this.plannedFlashingOffTime = plannedFlashingOffTime;
return this;
}
public String getPlannedFlashingOffTime() {
return this.plannedFlashingOffTime;
}
public DescribeScheduleTasksResponseBodyDataTimerInfos setPlannedStartTime(String plannedStartTime) {
this.plannedStartTime = plannedStartTime;
return this;
}
public String getPlannedStartTime() {
return this.plannedStartTime;
}
public DescribeScheduleTasksResponseBodyDataTimerInfos setPlannedTime(String plannedTime) {
this.plannedTime = plannedTime;
return this;
}
public String getPlannedTime() {
return this.plannedTime;
}
public DescribeScheduleTasksResponseBodyDataTimerInfos setRegion(String region) {
this.region = region;
return this;
}
public String getRegion() {
return this.region;
}
public DescribeScheduleTasksResponseBodyDataTimerInfos setStatus(String status) {
this.status = status;
return this;
}
public String getStatus() {
return this.status;
}
public DescribeScheduleTasksResponseBodyDataTimerInfos setTaskCancel(Boolean taskCancel) {
this.taskCancel = taskCancel;
return this;
}
public Boolean getTaskCancel() {
return this.taskCancel;
}
public DescribeScheduleTasksResponseBodyDataTimerInfos setTaskId(String taskId) {
this.taskId = taskId;
return this;
}
public String getTaskId() {
return this.taskId;
}
}
public static class DescribeScheduleTasksResponseBodyData extends TeaModel {
/**
* The page number of the page returned.
*
* example:
* 1
*/
@NameInMap("PageNumber")
public Integer pageNumber;
/**
* The number of entries returned per page.
*
* example:
* 30
*/
@NameInMap("PageSize")
public Integer pageSize;
/**
* The details of the scheduled task.
*/
@NameInMap("TimerInfos")
public java.util.List timerInfos;
/**
* The total number of entries returned.
*
* example:
* 1
*/
@NameInMap("TotalRecordCount")
public Integer totalRecordCount;
public static DescribeScheduleTasksResponseBodyData build(java.util.Map map) throws Exception {
DescribeScheduleTasksResponseBodyData self = new DescribeScheduleTasksResponseBodyData();
return TeaModel.build(map, self);
}
public DescribeScheduleTasksResponseBodyData setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
public Integer getPageNumber() {
return this.pageNumber;
}
public DescribeScheduleTasksResponseBodyData setPageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
public Integer getPageSize() {
return this.pageSize;
}
public DescribeScheduleTasksResponseBodyData setTimerInfos(java.util.List timerInfos) {
this.timerInfos = timerInfos;
return this;
}
public java.util.List getTimerInfos() {
return this.timerInfos;
}
public DescribeScheduleTasksResponseBodyData setTotalRecordCount(Integer totalRecordCount) {
this.totalRecordCount = totalRecordCount;
return this;
}
public Integer getTotalRecordCount() {
return this.totalRecordCount;
}
}
}