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

com.aliyun.dds20151201.models.DescribeAvailableResourceResponseBody Maven / Gradle / Ivy

// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dds20151201.models;

import com.aliyun.tea.*;

public class DescribeAvailableResourceResponseBody extends TeaModel {
    /**
     * 

The ID of the request.

* * example: *

344EE51D-8850-4935-B68B-58A8F4DCE3BD

*/ @NameInMap("RequestId") public String requestId; /** *

The supported database types.

*/ @NameInMap("SupportedDBTypes") public DescribeAvailableResourceResponseBodySupportedDBTypes supportedDBTypes; public static DescribeAvailableResourceResponseBody build(java.util.Map map) throws Exception { DescribeAvailableResourceResponseBody self = new DescribeAvailableResourceResponseBody(); return TeaModel.build(map, self); } public DescribeAvailableResourceResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public DescribeAvailableResourceResponseBody setSupportedDBTypes(DescribeAvailableResourceResponseBodySupportedDBTypes supportedDBTypes) { this.supportedDBTypes = supportedDBTypes; return this; } public DescribeAvailableResourceResponseBodySupportedDBTypes getSupportedDBTypes() { return this.supportedDBTypes; } public static class DBInstanceStorageRange extends TeaModel { /** *

The maximum storage capacity. Unit: GB.

* * example: *

16000

*/ @NameInMap("Max") public Integer max; /** *

The minimum storage capacity. Unit: GB.

* * example: *

20

*/ @NameInMap("Min") public Integer min; /** *

The step size for adjusting the storage capacity. Unit: GB.

* * example: *

10

*/ @NameInMap("Step") public Integer step; public static DBInstanceStorageRange build(java.util.Map map) throws Exception { DBInstanceStorageRange self = new DBInstanceStorageRange(); return TeaModel.build(map, self); } public DBInstanceStorageRange setMax(Integer max) { this.max = max; return this; } public Integer getMax() { return this.max; } public DBInstanceStorageRange setMin(Integer min) { this.min = min; return this; } public Integer getMin() { return this.min; } public DBInstanceStorageRange setStep(Integer step) { this.step = step; return this; } public Integer getStep() { return this.step; } } public static class AvailableResource extends TeaModel { /** *

The storage capacity range of the instance.

*/ @NameInMap("DBInstanceStorageRange") public DBInstanceStorageRange DBInstanceStorageRange; /** *

The instance family.

* * example: *

mdb.shard.2x.xlarge.d

*/ @NameInMap("InstanceClass") public String instanceClass; /** *

The type of the instance.

* * example: *

4 cores, 8 GB (Dedicated) (Current instance type: mdb.shard.2x.xlarge.d (4 cores, 8 GB (Dedicated cloud-disk), maximum connections: 3000, maximum IOPS: min{1800 + 50 × Storage capacity, 21000}))

*/ @NameInMap("InstanceClassRemark") public String instanceClassRemark; public static AvailableResource build(java.util.Map map) throws Exception { AvailableResource self = new AvailableResource(); return TeaModel.build(map, self); } public AvailableResource setDBInstanceStorageRange(DBInstanceStorageRange DBInstanceStorageRange) { this.DBInstanceStorageRange = DBInstanceStorageRange; return this; } public DBInstanceStorageRange getDBInstanceStorageRange() { return this.DBInstanceStorageRange; } public AvailableResource setInstanceClass(String instanceClass) { this.instanceClass = instanceClass; return this; } public String getInstanceClass() { return this.instanceClass; } public AvailableResource setInstanceClassRemark(String instanceClassRemark) { this.instanceClassRemark = instanceClassRemark; return this; } public String getInstanceClassRemark() { return this.instanceClassRemark; } } public static class AvailableResources extends TeaModel { @NameInMap("AvailableResource") public java.util.List availableResource; public static AvailableResources build(java.util.Map map) throws Exception { AvailableResources self = new AvailableResources(); return TeaModel.build(map, self); } public AvailableResources setAvailableResource(java.util.List availableResource) { this.availableResource = availableResource; return this; } public java.util.List getAvailableResource() { return this.availableResource; } } public static class DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypesSupportedNodeType extends TeaModel { /** *

The details of the available resources.

*/ @NameInMap("AvailableResources") public AvailableResources availableResources; /** *

The network type of the instance.

* * example: *

VPC

*/ @NameInMap("NetworkTypes") public String networkTypes; /** *

The number of nodes in the instance.

* * example: *

3

*/ @NameInMap("NodeType") public String nodeType; public static DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypesSupportedNodeType build(java.util.Map map) throws Exception { DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypesSupportedNodeType self = new DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypesSupportedNodeType(); return TeaModel.build(map, self); } public DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypesSupportedNodeType setAvailableResources(AvailableResources availableResources) { this.availableResources = availableResources; return this; } public AvailableResources getAvailableResources() { return this.availableResources; } public DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypesSupportedNodeType setNetworkTypes(String networkTypes) { this.networkTypes = networkTypes; return this; } public String getNetworkTypes() { return this.networkTypes; } public DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypesSupportedNodeType setNodeType(String nodeType) { this.nodeType = nodeType; return this; } public String getNodeType() { return this.nodeType; } } public static class DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypes extends TeaModel { @NameInMap("SupportedNodeType") public java.util.List supportedNodeType; public static DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypes build(java.util.Map map) throws Exception { DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypes self = new DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypes(); return TeaModel.build(map, self); } public DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypes setSupportedNodeType(java.util.List supportedNodeType) { this.supportedNodeType = supportedNodeType; return this; } public java.util.List getSupportedNodeType() { return this.supportedNodeType; } } public static class DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngine extends TeaModel { /** *

The storage engine of the instance.

* * example: *

WiredTiger

*/ @NameInMap("Engine") public String engine; /** *

The supported instance types.

*/ @NameInMap("SupportedNodeTypes") public DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypes supportedNodeTypes; public static DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngine build(java.util.Map map) throws Exception { DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngine self = new DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngine(); return TeaModel.build(map, self); } public DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngine setEngine(String engine) { this.engine = engine; return this; } public String getEngine() { return this.engine; } public DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngine setSupportedNodeTypes(DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypes supportedNodeTypes) { this.supportedNodeTypes = supportedNodeTypes; return this; } public DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypes getSupportedNodeTypes() { return this.supportedNodeTypes; } } public static class DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEngines extends TeaModel { @NameInMap("SupportedEngine") public java.util.List supportedEngine; public static DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEngines build(java.util.Map map) throws Exception { DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEngines self = new DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEngines(); return TeaModel.build(map, self); } public DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEngines setSupportedEngine(java.util.List supportedEngine) { this.supportedEngine = supportedEngine; return this; } public java.util.List getSupportedEngine() { return this.supportedEngine; } } public static class DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersion extends TeaModel { /** *

The supported storage engines.

*/ @NameInMap("SupportedEngines") public DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEngines supportedEngines; /** *

The database engine version of the instance.

* * example: *

4.0

*/ @NameInMap("Version") public String version; public static DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersion build(java.util.Map map) throws Exception { DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersion self = new DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersion(); return TeaModel.build(map, self); } public DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersion setSupportedEngines(DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEngines supportedEngines) { this.supportedEngines = supportedEngines; return this; } public DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEngines getSupportedEngines() { return this.supportedEngines; } public DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersion setVersion(String version) { this.version = version; return this; } public String getVersion() { return this.version; } } public static class DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersions extends TeaModel { @NameInMap("SupportedEngineVersion") public java.util.List supportedEngineVersion; public static DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersions build(java.util.Map map) throws Exception { DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersions self = new DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersions(); return TeaModel.build(map, self); } public DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersions setSupportedEngineVersion(java.util.List supportedEngineVersion) { this.supportedEngineVersion = supportedEngineVersion; return this; } public java.util.List getSupportedEngineVersion() { return this.supportedEngineVersion; } } public static class DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZone extends TeaModel { /** *

The ID of the region.

* * example: *

cn-hangzhou

*/ @NameInMap("RegionId") public String regionId; /** *

The supported storage engine versions.

*/ @NameInMap("SupportedEngineVersions") public DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersions supportedEngineVersions; /** *

The ID of the zone.

* * example: *

cn-hangzhou-h

*/ @NameInMap("ZoneId") public String zoneId; public static DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZone build(java.util.Map map) throws Exception { DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZone self = new DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZone(); return TeaModel.build(map, self); } public DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZone setRegionId(String regionId) { this.regionId = regionId; return this; } public String getRegionId() { return this.regionId; } public DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZone setSupportedEngineVersions(DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersions supportedEngineVersions) { this.supportedEngineVersions = supportedEngineVersions; return this; } public DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersions getSupportedEngineVersions() { return this.supportedEngineVersions; } public DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZone setZoneId(String zoneId) { this.zoneId = zoneId; return this; } public String getZoneId() { return this.zoneId; } } public static class DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZones extends TeaModel { @NameInMap("AvailableZone") public java.util.List availableZone; public static DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZones build(java.util.Map map) throws Exception { DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZones self = new DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZones(); return TeaModel.build(map, self); } public DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZones setAvailableZone(java.util.List availableZone) { this.availableZone = availableZone; return this; } public java.util.List getAvailableZone() { return this.availableZone; } } public static class DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBType extends TeaModel { /** *

The available zones.

*/ @NameInMap("AvailableZones") public DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZones availableZones; /** *

The architecture of the instance. Valid values:

*
    *
  • normal: replica set instance
  • *
  • sharding: sharded cluster instance
  • *
* * example: *

sharding

*/ @NameInMap("DbType") public String dbType; public static DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBType build(java.util.Map map) throws Exception { DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBType self = new DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBType(); return TeaModel.build(map, self); } public DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBType setAvailableZones(DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZones availableZones) { this.availableZones = availableZones; return this; } public DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZones getAvailableZones() { return this.availableZones; } public DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBType setDbType(String dbType) { this.dbType = dbType; return this; } public String getDbType() { return this.dbType; } } public static class DescribeAvailableResourceResponseBodySupportedDBTypes extends TeaModel { @NameInMap("SupportedDBType") public java.util.List supportedDBType; public static DescribeAvailableResourceResponseBodySupportedDBTypes build(java.util.Map map) throws Exception { DescribeAvailableResourceResponseBodySupportedDBTypes self = new DescribeAvailableResourceResponseBodySupportedDBTypes(); return TeaModel.build(map, self); } public DescribeAvailableResourceResponseBodySupportedDBTypes setSupportedDBType(java.util.List supportedDBType) { this.supportedDBType = supportedDBType; return this; } public java.util.List getSupportedDBType() { return this.supportedDBType; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy