com.aliyun.polardb20170801.models.DescribePendingMaintenanceActionsResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of polardb20170801 Show documentation
Show all versions of polardb20170801 Show documentation
Alibaba Cloud ApsaraDB for POLARDB (20170801) SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.polardb20170801.models;
import com.aliyun.tea.*;
public class DescribePendingMaintenanceActionsResponseBody extends TeaModel {
/**
* The request ID.
*
* example:
* 314127C2-B6C1-4F58-B1F6-E6B645******
*/
@NameInMap("RequestId")
public String requestId;
/**
* The details of pending events.
*/
@NameInMap("TypeList")
public java.util.List typeList;
public static DescribePendingMaintenanceActionsResponseBody build(java.util.Map map) throws Exception {
DescribePendingMaintenanceActionsResponseBody self = new DescribePendingMaintenanceActionsResponseBody();
return TeaModel.build(map, self);
}
public DescribePendingMaintenanceActionsResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public DescribePendingMaintenanceActionsResponseBody setTypeList(java.util.List typeList) {
this.typeList = typeList;
return this;
}
public java.util.List getTypeList() {
return this.typeList;
}
public static class DescribePendingMaintenanceActionsResponseBodyTypeList extends TeaModel {
/**
* The number of pending events.
*
* example:
* 1
*/
@NameInMap("Count")
public Integer count;
/**
* The task type of pending events. Valid values:
*
* - DatabaseSoftwareUpgrading: database software upgrades
* - DatabaseHardwareMaintenance: hardware maintenance and upgrades
* - DatabaseStorageUpgrading: database storage upgrades
* - DatabaseProxyUpgrading: minor version upgrades of the proxy
*
*
* example:
* DatabaseSoftwareUpgrading
*/
@NameInMap("TaskType")
public String taskType;
public static DescribePendingMaintenanceActionsResponseBodyTypeList build(java.util.Map map) throws Exception {
DescribePendingMaintenanceActionsResponseBodyTypeList self = new DescribePendingMaintenanceActionsResponseBodyTypeList();
return TeaModel.build(map, self);
}
public DescribePendingMaintenanceActionsResponseBodyTypeList setCount(Integer count) {
this.count = count;
return this;
}
public Integer getCount() {
return this.count;
}
public DescribePendingMaintenanceActionsResponseBodyTypeList setTaskType(String taskType) {
this.taskType = taskType;
return this;
}
public String getTaskType() {
return this.taskType;
}
}
}