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

com.aliyun.sdk.service.polardb20170801.models.DescribeDBClustersWithBackupsResponseBody Maven / Gradle / Ivy

There is a newer version: 4.0.28
Show newest version
// 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 DescribeDBClustersWithBackupsResponseBody} extends {@link TeaModel}
 *
 * 

DescribeDBClustersWithBackupsResponseBody

*/ public class DescribeDBClustersWithBackupsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Items") private Items items; @com.aliyun.core.annotation.NameInMap("PageNumber") private Integer pageNumber; @com.aliyun.core.annotation.NameInMap("PageRecordCount") private Integer pageRecordCount; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalRecordCount") private Integer totalRecordCount; private DescribeDBClustersWithBackupsResponseBody(Builder builder) { this.items = builder.items; this.pageNumber = builder.pageNumber; this.pageRecordCount = builder.pageRecordCount; this.requestId = builder.requestId; this.totalRecordCount = builder.totalRecordCount; } public static Builder builder() { return new Builder(); } public static DescribeDBClustersWithBackupsResponseBody create() { return builder().build(); } /** * @return items */ public Items getItems() { return this.items; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageRecordCount */ public Integer getPageRecordCount() { return this.pageRecordCount; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalRecordCount */ public Integer getTotalRecordCount() { return this.totalRecordCount; } public static final class Builder { private Items items; private Integer pageNumber; private Integer pageRecordCount; private String requestId; private Integer totalRecordCount; /** *

The details about the cluster.

*/ public Builder items(Items items) { this.items = items; return this; } /** *

The total number of returned pages.

* * example: *

1

*/ public Builder pageNumber(Integer pageNumber) { this.pageNumber = pageNumber; return this; } /** *

The number of clusters returned per page.

* * example: *

1

*/ public Builder pageRecordCount(Integer pageRecordCount) { this.pageRecordCount = pageRecordCount; return this; } /** *

The ID of the request.

* * example: *

F8529AA2-522F-4B30-B80B-8F7D39******

*/ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** *

The total number of returned entries.

* * example: *

1

*/ public Builder totalRecordCount(Integer totalRecordCount) { this.totalRecordCount = totalRecordCount; return this; } public DescribeDBClustersWithBackupsResponseBody build() { return new DescribeDBClustersWithBackupsResponseBody(this); } } /** * * {@link DescribeDBClustersWithBackupsResponseBody} extends {@link TeaModel} * *

DescribeDBClustersWithBackupsResponseBody

*/ public static class DBCluster extends TeaModel { @com.aliyun.core.annotation.NameInMap("CreateTime") private String createTime; @com.aliyun.core.annotation.NameInMap("DBClusterDescription") private String DBClusterDescription; @com.aliyun.core.annotation.NameInMap("DBClusterId") private String DBClusterId; @com.aliyun.core.annotation.NameInMap("DBClusterNetworkType") private String DBClusterNetworkType; @com.aliyun.core.annotation.NameInMap("DBClusterStatus") private String DBClusterStatus; @com.aliyun.core.annotation.NameInMap("DBNodeClass") private String DBNodeClass; @com.aliyun.core.annotation.NameInMap("DBType") private String DBType; @com.aliyun.core.annotation.NameInMap("DBVersion") private String DBVersion; @com.aliyun.core.annotation.NameInMap("DeletedTime") private String deletedTime; @com.aliyun.core.annotation.NameInMap("DeletionLock") private Integer deletionLock; @com.aliyun.core.annotation.NameInMap("Engine") private String engine; @com.aliyun.core.annotation.NameInMap("ExpireTime") private String expireTime; @com.aliyun.core.annotation.NameInMap("Expired") private String expired; @com.aliyun.core.annotation.NameInMap("IsDeleted") private Integer isDeleted; @com.aliyun.core.annotation.NameInMap("LockMode") private String lockMode; @com.aliyun.core.annotation.NameInMap("PayType") private String payType; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("VpcId") private String vpcId; @com.aliyun.core.annotation.NameInMap("ZoneId") private String zoneId; private DBCluster(Builder builder) { this.createTime = builder.createTime; this.DBClusterDescription = builder.DBClusterDescription; this.DBClusterId = builder.DBClusterId; this.DBClusterNetworkType = builder.DBClusterNetworkType; this.DBClusterStatus = builder.DBClusterStatus; this.DBNodeClass = builder.DBNodeClass; this.DBType = builder.DBType; this.DBVersion = builder.DBVersion; this.deletedTime = builder.deletedTime; this.deletionLock = builder.deletionLock; this.engine = builder.engine; this.expireTime = builder.expireTime; this.expired = builder.expired; this.isDeleted = builder.isDeleted; this.lockMode = builder.lockMode; this.payType = builder.payType; this.regionId = builder.regionId; this.vpcId = builder.vpcId; this.zoneId = builder.zoneId; } public static Builder builder() { return new Builder(); } public static DBCluster create() { return builder().build(); } /** * @return createTime */ public String getCreateTime() { return this.createTime; } /** * @return DBClusterDescription */ public String getDBClusterDescription() { return this.DBClusterDescription; } /** * @return DBClusterId */ public String getDBClusterId() { return this.DBClusterId; } /** * @return DBClusterNetworkType */ public String getDBClusterNetworkType() { return this.DBClusterNetworkType; } /** * @return DBClusterStatus */ public String getDBClusterStatus() { return this.DBClusterStatus; } /** * @return DBNodeClass */ public String getDBNodeClass() { return this.DBNodeClass; } /** * @return DBType */ public String getDBType() { return this.DBType; } /** * @return DBVersion */ public String getDBVersion() { return this.DBVersion; } /** * @return deletedTime */ public String getDeletedTime() { return this.deletedTime; } /** * @return deletionLock */ public Integer getDeletionLock() { return this.deletionLock; } /** * @return engine */ public String getEngine() { return this.engine; } /** * @return expireTime */ public String getExpireTime() { return this.expireTime; } /** * @return expired */ public String getExpired() { return this.expired; } /** * @return isDeleted */ public Integer getIsDeleted() { return this.isDeleted; } /** * @return lockMode */ public String getLockMode() { return this.lockMode; } /** * @return payType */ public String getPayType() { return this.payType; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return vpcId */ public String getVpcId() { return this.vpcId; } /** * @return zoneId */ public String getZoneId() { return this.zoneId; } public static final class Builder { private String createTime; private String DBClusterDescription; private String DBClusterId; private String DBClusterNetworkType; private String DBClusterStatus; private String DBNodeClass; private String DBType; private String DBVersion; private String deletedTime; private Integer deletionLock; private String engine; private String expireTime; private String expired; private Integer isDeleted; private String lockMode; private String payType; private String regionId; private String vpcId; private String zoneId; /** *

The time when the cluster was created.

* * example: *

2022-05-09T09:33:51Z

*/ public Builder createTime(String createTime) { this.createTime = createTime; return this; } /** *

The name of the cluster.

* * example: *

test

*/ public Builder DBClusterDescription(String DBClusterDescription) { this.DBClusterDescription = DBClusterDescription; return this; } /** *

The ID of cluster.

* * example: *

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

*/ public Builder DBClusterId(String DBClusterId) { this.DBClusterId = DBClusterId; return this; } /** *

The network type of the cluster.

* * example: *

VPC

*/ public Builder DBClusterNetworkType(String DBClusterNetworkType) { this.DBClusterNetworkType = DBClusterNetworkType; return this; } /** *

The status of the cluster. Valid values:

*
    *
  • Creating: The cluster is being created.
  • *
  • Running: The cluster is running.
  • *
  • Deleting: The cluster is being released.
  • *
  • Rebooting: The cluster is restarting.
  • *
  • DBNodeCreating: The node is being added.
  • *
  • DBNodeDeleting: The node is being deleted.
  • *
  • ClassChanging: The specifications of the node are being changed.
  • *
  • NetAddressCreating: The network connection is being created.
  • *
  • NetAddressDeleting: The network connection is being deleted.
  • *
  • NetAddressModifying: The network connection is being modified.
  • *
  • Deleted: The cluster has been released.
  • *
* * example: *

Running

*/ public Builder DBClusterStatus(String DBClusterStatus) { this.DBClusterStatus = DBClusterStatus; return this; } /** *

The specifications of the node.

* * example: *

polar.mysql.x4.medium

*/ public Builder DBNodeClass(String DBNodeClass) { this.DBNodeClass = DBNodeClass; return this; } /** *

The type of the database engine.

* * example: *

MySQL

*/ public Builder DBType(String DBType) { this.DBType = DBType; return this; } /** *

The version of the database engine.

* * example: *

8.0

*/ public Builder DBVersion(String DBVersion) { this.DBVersion = DBVersion; return this; } /** *

The time when the cluster was deleted.

* * example: *

2022-05-12T03:25:37Z

*/ public Builder deletedTime(String deletedTime) { this.deletedTime = deletedTime; return this; } /** *

Indicates whether the cluster is locked and can be deleted. Valid values:

*
    *
  • 0: The cluster is not locked and can be deleted.
  • *
  • 1: The cluster is locked and cannot be deleted.
  • *
* * example: *

0

*/ public Builder deletionLock(Integer deletionLock) { this.deletionLock = deletionLock; return this; } /** *

The type of the database engine.

* * example: *

POLARDB

*/ public Builder engine(String engine) { this.engine = engine; return this; } /** *

The time when the cluster expires.

*
*

A specific value will be returned only for subscription clusters. For pay-as-you-go clusters, an empty string will be returned.

*
* * example: *

2022-09-14T16:00:00Z

*/ public Builder expireTime(String expireTime) { this.expireTime = expireTime; return this; } /** *

Indicates whether the cluster has expired.

*
*

A specific value will be returned only for subscription clusters.

*
* * example: *

false

*/ public Builder expired(String expired) { this.expired = expired; return this; } /** *

Indicates whether the cluster was released. Valid values:

*
    *
  • 1: released
  • *
  • 0: not released
  • *
* * example: *

1

*/ public Builder isDeleted(Integer isDeleted) { this.isDeleted = isDeleted; return this; } /** *

The state of the cluster lock. Valid values:

*
    *
  • Unlock: The cluster is not locked.
  • *
  • ManualLock: The cluster is manually locked.
  • *
  • LockByExpiration: The cluster is automatically locked after the cluster expires.
  • *
* * example: *

Unlock

*/ public Builder lockMode(String lockMode) { this.lockMode = lockMode; return this; } /** *

The billing method. Valid values:

*
    *
  • Postpaid: pay-as-you-go.
  • *
  • Prepaid: subscription
  • *
* * example: *

Postpaid

*/ public Builder payType(String payType) { this.payType = payType; return this; } /** *

The region ID of the cluster.

* * example: *

cn-hangzhou

*/ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** *

The VPC ID of the cluster.

* * example: *

vpc-******************

*/ public Builder vpcId(String vpcId) { this.vpcId = vpcId; return this; } /** *

The ID of the zone in which the instance is located.

* * example: *

cn-hangzhou-h

*/ public Builder zoneId(String zoneId) { this.zoneId = zoneId; return this; } public DBCluster build() { return new DBCluster(this); } } } /** * * {@link DescribeDBClustersWithBackupsResponseBody} extends {@link TeaModel} * *

DescribeDBClustersWithBackupsResponseBody

*/ public static class Items extends TeaModel { @com.aliyun.core.annotation.NameInMap("DBCluster") private java.util.List DBCluster; private Items(Builder builder) { this.DBCluster = builder.DBCluster; } public static Builder builder() { return new Builder(); } public static Items create() { return builder().build(); } /** * @return DBCluster */ public java.util.List getDBCluster() { return this.DBCluster; } public static final class Builder { private java.util.List DBCluster; /** * DBCluster. */ public Builder DBCluster(java.util.List DBCluster) { this.DBCluster = DBCluster; return this; } public Items build() { return new Items(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy