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

com.aliyun.sdk.service.polardb20170801.models.DescribeDBClusterAvailableResourcesResponseBody 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 DescribeDBClusterAvailableResourcesResponseBody} extends {@link TeaModel}
 *
 * 

DescribeDBClusterAvailableResourcesResponseBody

*/ public class DescribeDBClusterAvailableResourcesResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("AvailableZones") private java.util.List availableZones; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeDBClusterAvailableResourcesResponseBody(Builder builder) { this.availableZones = builder.availableZones; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeDBClusterAvailableResourcesResponseBody create() { return builder().build(); } /** * @return availableZones */ public java.util.List getAvailableZones() { return this.availableZones; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List availableZones; private String requestId; /** *

The available zones of the cluster.

*/ public Builder availableZones(java.util.List availableZones) { this.availableZones = availableZones; return this; } /** *

The ID of the request.

* * example: *

2B19F698-8FFC-4918-B9E2-58D878******

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

DescribeDBClusterAvailableResourcesResponseBody

*/ public static class AvailableResources extends TeaModel { @com.aliyun.core.annotation.NameInMap("Category") private String category; @com.aliyun.core.annotation.NameInMap("DBNodeClass") private String DBNodeClass; private AvailableResources(Builder builder) { this.category = builder.category; this.DBNodeClass = builder.DBNodeClass; } public static Builder builder() { return new Builder(); } public static AvailableResources create() { return builder().build(); } /** * @return category */ public String getCategory() { return this.category; } /** * @return DBNodeClass */ public String getDBNodeClass() { return this.DBNodeClass; } public static final class Builder { private String category; private String DBNodeClass; /** *

The edition of the cluster. Valid values:

*
    *
  • Normal: Cluster Edition.
  • *
  • Basic: Single Node Edition.
  • *
  • ArchiveNormal: X-Engine.
  • *
  • NormalMultimaster: Multi-master Cluster (Database/Table) Edition.
  • *
  • SENormal: Standard Edition.
  • *
*
*
    *
  • Only PolarDB for MySQL supports Single Node Edition.
  • *
  • Only PolarDB for MySQL 8.0 supports X-Engine Edition and Multi-master Cluster (Database/Table) Edition.
  • *
*
* * example: *

Normal

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

The specifications of the node.

* * example: *

polar.mysql.x4.large

*/ public Builder DBNodeClass(String DBNodeClass) { this.DBNodeClass = DBNodeClass; return this; } public AvailableResources build() { return new AvailableResources(this); } } } /** * * {@link DescribeDBClusterAvailableResourcesResponseBody} extends {@link TeaModel} * *

DescribeDBClusterAvailableResourcesResponseBody

*/ public static class SupportedEngines extends TeaModel { @com.aliyun.core.annotation.NameInMap("AvailableResources") private java.util.List availableResources; @com.aliyun.core.annotation.NameInMap("Engine") private String engine; private SupportedEngines(Builder builder) { this.availableResources = builder.availableResources; this.engine = builder.engine; } public static Builder builder() { return new Builder(); } public static SupportedEngines create() { return builder().build(); } /** * @return availableResources */ public java.util.List getAvailableResources() { return this.availableResources; } /** * @return engine */ public String getEngine() { return this.engine; } public static final class Builder { private java.util.List availableResources; private String engine; /** *

The available resources.

*/ public Builder availableResources(java.util.List availableResources) { this.availableResources = availableResources; return this; } /** *

The version of the database engine.

* * example: *

mysql57

*/ public Builder engine(String engine) { this.engine = engine; return this; } public SupportedEngines build() { return new SupportedEngines(this); } } } /** * * {@link DescribeDBClusterAvailableResourcesResponseBody} extends {@link TeaModel} * *

DescribeDBClusterAvailableResourcesResponseBody

*/ public static class AvailableZones extends TeaModel { @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("SupportedEngines") private java.util.List supportedEngines; @com.aliyun.core.annotation.NameInMap("ZoneId") private String zoneId; private AvailableZones(Builder builder) { this.regionId = builder.regionId; this.supportedEngines = builder.supportedEngines; this.zoneId = builder.zoneId; } public static Builder builder() { return new Builder(); } public static AvailableZones create() { return builder().build(); } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return supportedEngines */ public java.util.List getSupportedEngines() { return this.supportedEngines; } /** * @return zoneId */ public String getZoneId() { return this.zoneId; } public static final class Builder { private String regionId; private java.util.List supportedEngines; private String zoneId; /** *

The region ID of the cluster.

* * example: *

cn-hangzhou

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

The database engines that the available resources support.

*/ public Builder supportedEngines(java.util.List supportedEngines) { this.supportedEngines = supportedEngines; return this; } /** *

The zone ID of the cluster.

* * example: *

cn-hangzhou-i

*/ public Builder zoneId(String zoneId) { this.zoneId = zoneId; return this; } public AvailableZones build() { return new AvailableZones(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy