com.aliyun.sdk.service.polardb20170801.models.DescribePendingMaintenanceActionsResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-polardb20170801 Show documentation
Show all versions of alibabacloud-polardb20170801 Show documentation
Alibaba Cloud polardb (20170801) Async SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.polardb20170801.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribePendingMaintenanceActionsResponseBody} extends {@link TeaModel}
*
* DescribePendingMaintenanceActionsResponseBody
*/
public class DescribePendingMaintenanceActionsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("TypeList")
private java.util.List typeList;
private DescribePendingMaintenanceActionsResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.typeList = builder.typeList;
}
public static Builder builder() {
return new Builder();
}
public static DescribePendingMaintenanceActionsResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return typeList
*/
public java.util.List getTypeList() {
return this.typeList;
}
public static final class Builder {
private String requestId;
private java.util.List typeList;
/**
* The request ID.
*
* example:
* 314127C2-B6C1-4F58-B1F6-E6B645******
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* The details of pending events.
*/
public Builder typeList(java.util.List typeList) {
this.typeList = typeList;
return this;
}
public DescribePendingMaintenanceActionsResponseBody build() {
return new DescribePendingMaintenanceActionsResponseBody(this);
}
}
/**
*
* {@link DescribePendingMaintenanceActionsResponseBody} extends {@link TeaModel}
*
* DescribePendingMaintenanceActionsResponseBody
*/
public static class TypeList extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Count")
private Integer count;
@com.aliyun.core.annotation.NameInMap("TaskType")
private String taskType;
private TypeList(Builder builder) {
this.count = builder.count;
this.taskType = builder.taskType;
}
public static Builder builder() {
return new Builder();
}
public static TypeList create() {
return builder().build();
}
/**
* @return count
*/
public Integer getCount() {
return this.count;
}
/**
* @return taskType
*/
public String getTaskType() {
return this.taskType;
}
public static final class Builder {
private Integer count;
private String taskType;
/**
* The number of pending events.
*
* example:
* 1
*/
public Builder count(Integer count) {
this.count = count;
return this;
}
/**
* 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
*/
public Builder taskType(String taskType) {
this.taskType = taskType;
return this;
}
public TypeList build() {
return new TypeList(this);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy