
com.tencentcloudapi.postgres.v20170312.models.DBInstance Maven / Gradle / Ivy
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.tencentcloudapi.postgres.v20170312.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class DBInstance extends AbstractModel{
/**
* 实例所属地域,如: ap-guangzhou,对应RegionSet的Region字段。
*/
@SerializedName("Region")
@Expose
private String Region;
/**
* 实例所属可用区, 如:ap-guangzhou-3,对应ZoneSet的Zone字段。
*/
@SerializedName("Zone")
@Expose
private String Zone;
/**
* 私有网络ID,形如vpc-xxxxxxxx。有效的VpcId可通过登录控制台查询;也可以调用接口 [DescribeVpcEx](https://cloud.tencent.com/document/api/215/1372) ,从接口返回中的unVpcId字段获取。
*/
@SerializedName("VpcId")
@Expose
private String VpcId;
/**
* 私有网络子网ID,形如subnet-xxxxxxxx。有效的私有网络子网ID可通过登录控制台查询;也可以调用接口 [DescribeSubnets ](https://cloud.tencent.com/document/api/215/15784),从接口返回中的unSubnetId字段获取。
*/
@SerializedName("SubnetId")
@Expose
private String SubnetId;
/**
* 实例ID。
*/
@SerializedName("DBInstanceId")
@Expose
private String DBInstanceId;
/**
* 实例名称。
*/
@SerializedName("DBInstanceName")
@Expose
private String DBInstanceName;
/**
* 实例状态,分别为:applying(申请中)、init(待初始化)、initing(初始化中)、running(运行中)、limited run(受限运行)、isolating(隔离中)、isolated(已隔离)、recycling(回收中)、recycled(已回收)、job running(任务执行中)、offline(下线)、migrating(迁移中)、expanding(扩容中)、waitSwitch(等待切换)、switching(切换中)、readonly(只读)、restarting(重启中)、network changing(网络变更中)、upgrading(内核版本升级中)、audit-switching(审计状态变更中)、primary-switching(主备切换中)
*/
@SerializedName("DBInstanceStatus")
@Expose
private String DBInstanceStatus;
/**
* 实例分配的内存大小,单位:GB
*/
@SerializedName("DBInstanceMemory")
@Expose
private Long DBInstanceMemory;
/**
* 实例分配的存储空间大小,单位:GB
*/
@SerializedName("DBInstanceStorage")
@Expose
private Long DBInstanceStorage;
/**
* 实例分配的CPU数量,单位:个
*/
@SerializedName("DBInstanceCpu")
@Expose
private Long DBInstanceCpu;
/**
* 售卖规格ID
*/
@SerializedName("DBInstanceClass")
@Expose
private String DBInstanceClass;
/**
* PostgreSQL大版本号,版本信息可从[DescribeDBVersions](https://cloud.tencent.com/document/api/409/89018)获取,目前支持10,11,12,13,14,15这几个大版本。
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("DBMajorVersion")
@Expose
private String DBMajorVersion;
/**
* PostgreSQL社区大版本+小版本号,如12.4,版本信息可从[DescribeDBVersions](https://cloud.tencent.com/document/api/409/89018)获取。
*/
@SerializedName("DBVersion")
@Expose
private String DBVersion;
/**
* PostgreSQL内核版本号,如v12.7_r1.8,版本信息可从[DescribeDBVersions](https://cloud.tencent.com/document/api/409/89018)获取。
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("DBKernelVersion")
@Expose
private String DBKernelVersion;
/**
* 实例类型,类型有:
primary:主实例
readonly:只读实例
guard:灾备实例
temp:临时实例
*/
@SerializedName("DBInstanceType")
@Expose
private String DBInstanceType;
/**
* 实例版本,目前只支持standard(双机高可用版, 一主一从)。
*/
@SerializedName("DBInstanceVersion")
@Expose
private String DBInstanceVersion;
/**
* 实例字符集,目前只支持:
UTF8
LATIN1
*/
@SerializedName("DBCharset")
@Expose
private String DBCharset;
/**
* 实例创建时间。
*/
@SerializedName("CreateTime")
@Expose
private String CreateTime;
/**
* 实例执行最后一次更新的时间。
*/
@SerializedName("UpdateTime")
@Expose
private String UpdateTime;
/**
* 实例到期时间。
*/
@SerializedName("ExpireTime")
@Expose
private String ExpireTime;
/**
* 实例隔离时间。
*/
@SerializedName("IsolatedTime")
@Expose
private String IsolatedTime;
/**
* 计费模式:
prepaid:包年包月,预付费
postpaid:按量计费,后付费
*/
@SerializedName("PayType")
@Expose
private String PayType;
/**
* 是否自动续费:
0:手动续费
1:自动续费
默认值:0
*/
@SerializedName("AutoRenew")
@Expose
private Long AutoRenew;
/**
* 实例网络连接信息。
*/
@SerializedName("DBInstanceNetInfo")
@Expose
private DBInstanceNetInfo [] DBInstanceNetInfo;
/**
* 机器类型。
*/
@SerializedName("Type")
@Expose
private String Type;
/**
* 用户的AppId。
*/
@SerializedName("AppId")
@Expose
private Long AppId;
/**
* 实例的Uid。
*/
@SerializedName("Uid")
@Expose
private Long Uid;
/**
* 项目ID。
*/
@SerializedName("ProjectId")
@Expose
private Long ProjectId;
/**
* 实例绑定的标签信息。
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("TagList")
@Expose
private Tag [] TagList;
/**
* 主实例信息,仅在实例为只读实例时返回。
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("MasterDBInstanceId")
@Expose
private String MasterDBInstanceId;
/**
* 只读实例数量。
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("ReadOnlyInstanceNum")
@Expose
private Long ReadOnlyInstanceNum;
/**
* 只读实例在只读组中的状态。
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("StatusInReadonlyGroup")
@Expose
private String StatusInReadonlyGroup;
/**
* 下线时间。
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("OfflineTime")
@Expose
private String OfflineTime;
/**
* 实例的节点信息。
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("DBNodeSet")
@Expose
private DBNode [] DBNodeSet;
/**
* 实例是否支持TDE数据加密:
0:不支持
1:支持
默认值:0
TDE数据加密可参考[数据透明加密概述](https://cloud.tencent.com/document/product/409/71748)
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("IsSupportTDE")
@Expose
private Long IsSupportTDE;
/**
* 数据库引擎,支持:
postgresql:云数据库PostgreSQL
mssql_compatible:MSSQL兼容-云数据库PostgreSQL
默认值:postgresql
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("DBEngine")
@Expose
private String DBEngine;
/**
* 数据库引擎的配置信息,配置格式如下:
{"$key1":"$value1", "$key2":"$value2"}
各引擎支持如下:
mssql_compatible引擎:
migrationMode:数据库模式,可选参数,可取值:single-db(单数据库模式),multi-db(多数据库模式)。默认为single-db。
defaultLocale:排序区域规则,可选参数,在初始化后不可修改,默认为en_US,可选值如下:
"af_ZA", "sq_AL", "ar_DZ", "ar_BH", "ar_EG", "ar_IQ", "ar_JO", "ar_KW", "ar_LB", "ar_LY", "ar_MA", "ar_OM", "ar_QA", "ar_SA", "ar_SY", "ar_TN", "ar_AE", "ar_YE", "hy_AM", "az_Cyrl_AZ", "az_Latn_AZ", "eu_ES", "be_BY", "bg_BG", "ca_ES", "zh_HK", "zh_MO", "zh_CN", "zh_SG", "zh_TW", "hr_HR", "cs_CZ", "da_DK", "nl_BE", "nl_NL", "en_AU", "en_BZ", "en_CA", "en_IE", "en_JM", "en_NZ", "en_PH", "en_ZA", "en_TT", "en_GB", "en_US", "en_ZW", "et_EE", "fo_FO", "fa_IR", "fi_FI", "fr_BE", "fr_CA", "fr_FR", "fr_LU", "fr_MC", "fr_CH", "mk_MK", "ka_GE", "de_AT", "de_DE", "de_LI", "de_LU", "de_CH", "el_GR", "gu_IN", "he_IL", "hi_IN", "hu_HU", "is_IS", "id_ID", "it_IT", "it_CH", "ja_JP", "kn_IN", "kok_IN", "ko_KR", "ky_KG", "lv_LV", "lt_LT", "ms_BN", "ms_MY", "mr_IN", "mn_MN", "nb_NO", "nn_NO", "pl_PL", "pt_BR", "pt_PT", "pa_IN", "ro_RO", "ru_RU", "sa_IN", "sr_Cyrl_RS", "sr_Latn_RS", "sk_SK", "sl_SI", "es_AR", "es_BO", "es_CL", "es_CO", "es_CR", "es_DO", "es_EC", "es_SV", "es_GT", "es_HN", "es_MX", "es_NI", "es_PA", "es_PY","es_PE", "es_PR", "es_ES", "es_TRADITIONAL", "es_UY", "es_VE", "sw_KE", "sv_FI", "sv_SE", "tt_RU", "te_IN", "th_TH", "tr_TR", "uk_UA", "ur_IN", "ur_PK", "uz_Cyrl_UZ", "uz_Latn_UZ", "vi_VN"。
serverCollationName:排序规则名称,可选参数,在初始化后不可修改,默认为sql_latin1_general_cp1_ci_as,可选值如下:"bbf_unicode_general_ci_as", "bbf_unicode_cp1_ci_as", "bbf_unicode_CP1250_ci_as", "bbf_unicode_CP1251_ci_as", "bbf_unicode_cp1253_ci_as", "bbf_unicode_cp1254_ci_as", "bbf_unicode_cp1255_ci_as", "bbf_unicode_cp1256_ci_as", "bbf_unicode_cp1257_ci_as", "bbf_unicode_cp1258_ci_as", "bbf_unicode_cp874_ci_as", "sql_latin1_general_cp1250_ci_as", "sql_latin1_general_cp1251_ci_as", "sql_latin1_general_cp1_ci_as", "sql_latin1_general_cp1253_ci_as", "sql_latin1_general_cp1254_ci_as", "sql_latin1_general_cp1255_ci_as","sql_latin1_general_cp1256_ci_as", "sql_latin1_general_cp1257_ci_as", "sql_latin1_general_cp1258_ci_as", "chinese_prc_ci_as", "cyrillic_general_ci_as", "finnish_swedish_ci_as", "french_ci_as", "japanese_ci_as", "korean_wansung_ci_as", "latin1_general_ci_as", "modern_spanish_ci_as", "polish_ci_as", "thai_ci_as", "traditional_spanish_ci_as", "turkish_ci_as", "ukrainian_ci_as", "vietnamese_ci_as"。
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("DBEngineConfig")
@Expose
private String DBEngineConfig;
/**
* 实例网络信息列表(此字段已废弃)
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("NetworkAccessList")
@Expose
private NetworkAccess [] NetworkAccessList;
/**
* 实例是否支持Ipv6:
0:否
1:是
默认值:0
*/
@SerializedName("SupportIpv6")
@Expose
private Long SupportIpv6;
/**
* Get 实例所属地域,如: ap-guangzhou,对应RegionSet的Region字段。
* @return Region 实例所属地域,如: ap-guangzhou,对应RegionSet的Region字段。
*/
public String getRegion() {
return this.Region;
}
/**
* Set 实例所属地域,如: ap-guangzhou,对应RegionSet的Region字段。
* @param Region 实例所属地域,如: ap-guangzhou,对应RegionSet的Region字段。
*/
public void setRegion(String Region) {
this.Region = Region;
}
/**
* Get 实例所属可用区, 如:ap-guangzhou-3,对应ZoneSet的Zone字段。
* @return Zone 实例所属可用区, 如:ap-guangzhou-3,对应ZoneSet的Zone字段。
*/
public String getZone() {
return this.Zone;
}
/**
* Set 实例所属可用区, 如:ap-guangzhou-3,对应ZoneSet的Zone字段。
* @param Zone 实例所属可用区, 如:ap-guangzhou-3,对应ZoneSet的Zone字段。
*/
public void setZone(String Zone) {
this.Zone = Zone;
}
/**
* Get 私有网络ID,形如vpc-xxxxxxxx。有效的VpcId可通过登录控制台查询;也可以调用接口 [DescribeVpcEx](https://cloud.tencent.com/document/api/215/1372) ,从接口返回中的unVpcId字段获取。
* @return VpcId 私有网络ID,形如vpc-xxxxxxxx。有效的VpcId可通过登录控制台查询;也可以调用接口 [DescribeVpcEx](https://cloud.tencent.com/document/api/215/1372) ,从接口返回中的unVpcId字段获取。
*/
public String getVpcId() {
return this.VpcId;
}
/**
* Set 私有网络ID,形如vpc-xxxxxxxx。有效的VpcId可通过登录控制台查询;也可以调用接口 [DescribeVpcEx](https://cloud.tencent.com/document/api/215/1372) ,从接口返回中的unVpcId字段获取。
* @param VpcId 私有网络ID,形如vpc-xxxxxxxx。有效的VpcId可通过登录控制台查询;也可以调用接口 [DescribeVpcEx](https://cloud.tencent.com/document/api/215/1372) ,从接口返回中的unVpcId字段获取。
*/
public void setVpcId(String VpcId) {
this.VpcId = VpcId;
}
/**
* Get 私有网络子网ID,形如subnet-xxxxxxxx。有效的私有网络子网ID可通过登录控制台查询;也可以调用接口 [DescribeSubnets ](https://cloud.tencent.com/document/api/215/15784),从接口返回中的unSubnetId字段获取。
* @return SubnetId 私有网络子网ID,形如subnet-xxxxxxxx。有效的私有网络子网ID可通过登录控制台查询;也可以调用接口 [DescribeSubnets ](https://cloud.tencent.com/document/api/215/15784),从接口返回中的unSubnetId字段获取。
*/
public String getSubnetId() {
return this.SubnetId;
}
/**
* Set 私有网络子网ID,形如subnet-xxxxxxxx。有效的私有网络子网ID可通过登录控制台查询;也可以调用接口 [DescribeSubnets ](https://cloud.tencent.com/document/api/215/15784),从接口返回中的unSubnetId字段获取。
* @param SubnetId 私有网络子网ID,形如subnet-xxxxxxxx。有效的私有网络子网ID可通过登录控制台查询;也可以调用接口 [DescribeSubnets ](https://cloud.tencent.com/document/api/215/15784),从接口返回中的unSubnetId字段获取。
*/
public void setSubnetId(String SubnetId) {
this.SubnetId = SubnetId;
}
/**
* Get 实例ID。
* @return DBInstanceId 实例ID。
*/
public String getDBInstanceId() {
return this.DBInstanceId;
}
/**
* Set 实例ID。
* @param DBInstanceId 实例ID。
*/
public void setDBInstanceId(String DBInstanceId) {
this.DBInstanceId = DBInstanceId;
}
/**
* Get 实例名称。
* @return DBInstanceName 实例名称。
*/
public String getDBInstanceName() {
return this.DBInstanceName;
}
/**
* Set 实例名称。
* @param DBInstanceName 实例名称。
*/
public void setDBInstanceName(String DBInstanceName) {
this.DBInstanceName = DBInstanceName;
}
/**
* Get 实例状态,分别为:applying(申请中)、init(待初始化)、initing(初始化中)、running(运行中)、limited run(受限运行)、isolating(隔离中)、isolated(已隔离)、recycling(回收中)、recycled(已回收)、job running(任务执行中)、offline(下线)、migrating(迁移中)、expanding(扩容中)、waitSwitch(等待切换)、switching(切换中)、readonly(只读)、restarting(重启中)、network changing(网络变更中)、upgrading(内核版本升级中)、audit-switching(审计状态变更中)、primary-switching(主备切换中)
* @return DBInstanceStatus 实例状态,分别为:applying(申请中)、init(待初始化)、initing(初始化中)、running(运行中)、limited run(受限运行)、isolating(隔离中)、isolated(已隔离)、recycling(回收中)、recycled(已回收)、job running(任务执行中)、offline(下线)、migrating(迁移中)、expanding(扩容中)、waitSwitch(等待切换)、switching(切换中)、readonly(只读)、restarting(重启中)、network changing(网络变更中)、upgrading(内核版本升级中)、audit-switching(审计状态变更中)、primary-switching(主备切换中)
*/
public String getDBInstanceStatus() {
return this.DBInstanceStatus;
}
/**
* Set 实例状态,分别为:applying(申请中)、init(待初始化)、initing(初始化中)、running(运行中)、limited run(受限运行)、isolating(隔离中)、isolated(已隔离)、recycling(回收中)、recycled(已回收)、job running(任务执行中)、offline(下线)、migrating(迁移中)、expanding(扩容中)、waitSwitch(等待切换)、switching(切换中)、readonly(只读)、restarting(重启中)、network changing(网络变更中)、upgrading(内核版本升级中)、audit-switching(审计状态变更中)、primary-switching(主备切换中)
* @param DBInstanceStatus 实例状态,分别为:applying(申请中)、init(待初始化)、initing(初始化中)、running(运行中)、limited run(受限运行)、isolating(隔离中)、isolated(已隔离)、recycling(回收中)、recycled(已回收)、job running(任务执行中)、offline(下线)、migrating(迁移中)、expanding(扩容中)、waitSwitch(等待切换)、switching(切换中)、readonly(只读)、restarting(重启中)、network changing(网络变更中)、upgrading(内核版本升级中)、audit-switching(审计状态变更中)、primary-switching(主备切换中)
*/
public void setDBInstanceStatus(String DBInstanceStatus) {
this.DBInstanceStatus = DBInstanceStatus;
}
/**
* Get 实例分配的内存大小,单位:GB
* @return DBInstanceMemory 实例分配的内存大小,单位:GB
*/
public Long getDBInstanceMemory() {
return this.DBInstanceMemory;
}
/**
* Set 实例分配的内存大小,单位:GB
* @param DBInstanceMemory 实例分配的内存大小,单位:GB
*/
public void setDBInstanceMemory(Long DBInstanceMemory) {
this.DBInstanceMemory = DBInstanceMemory;
}
/**
* Get 实例分配的存储空间大小,单位:GB
* @return DBInstanceStorage 实例分配的存储空间大小,单位:GB
*/
public Long getDBInstanceStorage() {
return this.DBInstanceStorage;
}
/**
* Set 实例分配的存储空间大小,单位:GB
* @param DBInstanceStorage 实例分配的存储空间大小,单位:GB
*/
public void setDBInstanceStorage(Long DBInstanceStorage) {
this.DBInstanceStorage = DBInstanceStorage;
}
/**
* Get 实例分配的CPU数量,单位:个
* @return DBInstanceCpu 实例分配的CPU数量,单位:个
*/
public Long getDBInstanceCpu() {
return this.DBInstanceCpu;
}
/**
* Set 实例分配的CPU数量,单位:个
* @param DBInstanceCpu 实例分配的CPU数量,单位:个
*/
public void setDBInstanceCpu(Long DBInstanceCpu) {
this.DBInstanceCpu = DBInstanceCpu;
}
/**
* Get 售卖规格ID
* @return DBInstanceClass 售卖规格ID
*/
public String getDBInstanceClass() {
return this.DBInstanceClass;
}
/**
* Set 售卖规格ID
* @param DBInstanceClass 售卖规格ID
*/
public void setDBInstanceClass(String DBInstanceClass) {
this.DBInstanceClass = DBInstanceClass;
}
/**
* Get PostgreSQL大版本号,版本信息可从[DescribeDBVersions](https://cloud.tencent.com/document/api/409/89018)获取,目前支持10,11,12,13,14,15这几个大版本。
注意:此字段可能返回 null,表示取不到有效值。
* @return DBMajorVersion PostgreSQL大版本号,版本信息可从[DescribeDBVersions](https://cloud.tencent.com/document/api/409/89018)获取,目前支持10,11,12,13,14,15这几个大版本。
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getDBMajorVersion() {
return this.DBMajorVersion;
}
/**
* Set PostgreSQL大版本号,版本信息可从[DescribeDBVersions](https://cloud.tencent.com/document/api/409/89018)获取,目前支持10,11,12,13,14,15这几个大版本。
注意:此字段可能返回 null,表示取不到有效值。
* @param DBMajorVersion PostgreSQL大版本号,版本信息可从[DescribeDBVersions](https://cloud.tencent.com/document/api/409/89018)获取,目前支持10,11,12,13,14,15这几个大版本。
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setDBMajorVersion(String DBMajorVersion) {
this.DBMajorVersion = DBMajorVersion;
}
/**
* Get PostgreSQL社区大版本+小版本号,如12.4,版本信息可从[DescribeDBVersions](https://cloud.tencent.com/document/api/409/89018)获取。
* @return DBVersion PostgreSQL社区大版本+小版本号,如12.4,版本信息可从[DescribeDBVersions](https://cloud.tencent.com/document/api/409/89018)获取。
*/
public String getDBVersion() {
return this.DBVersion;
}
/**
* Set PostgreSQL社区大版本+小版本号,如12.4,版本信息可从[DescribeDBVersions](https://cloud.tencent.com/document/api/409/89018)获取。
* @param DBVersion PostgreSQL社区大版本+小版本号,如12.4,版本信息可从[DescribeDBVersions](https://cloud.tencent.com/document/api/409/89018)获取。
*/
public void setDBVersion(String DBVersion) {
this.DBVersion = DBVersion;
}
/**
* Get PostgreSQL内核版本号,如v12.7_r1.8,版本信息可从[DescribeDBVersions](https://cloud.tencent.com/document/api/409/89018)获取。
注意:此字段可能返回 null,表示取不到有效值。
* @return DBKernelVersion PostgreSQL内核版本号,如v12.7_r1.8,版本信息可从[DescribeDBVersions](https://cloud.tencent.com/document/api/409/89018)获取。
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getDBKernelVersion() {
return this.DBKernelVersion;
}
/**
* Set PostgreSQL内核版本号,如v12.7_r1.8,版本信息可从[DescribeDBVersions](https://cloud.tencent.com/document/api/409/89018)获取。
注意:此字段可能返回 null,表示取不到有效值。
* @param DBKernelVersion PostgreSQL内核版本号,如v12.7_r1.8,版本信息可从[DescribeDBVersions](https://cloud.tencent.com/document/api/409/89018)获取。
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setDBKernelVersion(String DBKernelVersion) {
this.DBKernelVersion = DBKernelVersion;
}
/**
* Get 实例类型,类型有:
primary:主实例
readonly:只读实例
guard:灾备实例
temp:临时实例
* @return DBInstanceType 实例类型,类型有:
primary:主实例
readonly:只读实例
guard:灾备实例
temp:临时实例
*/
public String getDBInstanceType() {
return this.DBInstanceType;
}
/**
* Set 实例类型,类型有:
primary:主实例
readonly:只读实例
guard:灾备实例
temp:临时实例
* @param DBInstanceType 实例类型,类型有:
primary:主实例
readonly:只读实例
guard:灾备实例
temp:临时实例
*/
public void setDBInstanceType(String DBInstanceType) {
this.DBInstanceType = DBInstanceType;
}
/**
* Get 实例版本,目前只支持standard(双机高可用版, 一主一从)。
* @return DBInstanceVersion 实例版本,目前只支持standard(双机高可用版, 一主一从)。
*/
public String getDBInstanceVersion() {
return this.DBInstanceVersion;
}
/**
* Set 实例版本,目前只支持standard(双机高可用版, 一主一从)。
* @param DBInstanceVersion 实例版本,目前只支持standard(双机高可用版, 一主一从)。
*/
public void setDBInstanceVersion(String DBInstanceVersion) {
this.DBInstanceVersion = DBInstanceVersion;
}
/**
* Get 实例字符集,目前只支持:
UTF8
LATIN1
* @return DBCharset 实例字符集,目前只支持:
UTF8
LATIN1
*/
public String getDBCharset() {
return this.DBCharset;
}
/**
* Set 实例字符集,目前只支持:
UTF8
LATIN1
* @param DBCharset 实例字符集,目前只支持:
UTF8
LATIN1
*/
public void setDBCharset(String DBCharset) {
this.DBCharset = DBCharset;
}
/**
* Get 实例创建时间。
* @return CreateTime 实例创建时间。
*/
public String getCreateTime() {
return this.CreateTime;
}
/**
* Set 实例创建时间。
* @param CreateTime 实例创建时间。
*/
public void setCreateTime(String CreateTime) {
this.CreateTime = CreateTime;
}
/**
* Get 实例执行最后一次更新的时间。
* @return UpdateTime 实例执行最后一次更新的时间。
*/
public String getUpdateTime() {
return this.UpdateTime;
}
/**
* Set 实例执行最后一次更新的时间。
* @param UpdateTime 实例执行最后一次更新的时间。
*/
public void setUpdateTime(String UpdateTime) {
this.UpdateTime = UpdateTime;
}
/**
* Get 实例到期时间。
* @return ExpireTime 实例到期时间。
*/
public String getExpireTime() {
return this.ExpireTime;
}
/**
* Set 实例到期时间。
* @param ExpireTime 实例到期时间。
*/
public void setExpireTime(String ExpireTime) {
this.ExpireTime = ExpireTime;
}
/**
* Get 实例隔离时间。
* @return IsolatedTime 实例隔离时间。
*/
public String getIsolatedTime() {
return this.IsolatedTime;
}
/**
* Set 实例隔离时间。
* @param IsolatedTime 实例隔离时间。
*/
public void setIsolatedTime(String IsolatedTime) {
this.IsolatedTime = IsolatedTime;
}
/**
* Get 计费模式:
prepaid:包年包月,预付费
postpaid:按量计费,后付费
* @return PayType 计费模式:
prepaid:包年包月,预付费
postpaid:按量计费,后付费
*/
public String getPayType() {
return this.PayType;
}
/**
* Set 计费模式:
prepaid:包年包月,预付费
postpaid:按量计费,后付费
* @param PayType 计费模式:
prepaid:包年包月,预付费
postpaid:按量计费,后付费
*/
public void setPayType(String PayType) {
this.PayType = PayType;
}
/**
* Get 是否自动续费:
0:手动续费
1:自动续费
默认值:0
* @return AutoRenew 是否自动续费:
0:手动续费
1:自动续费
默认值:0
*/
public Long getAutoRenew() {
return this.AutoRenew;
}
/**
* Set 是否自动续费:
0:手动续费
1:自动续费
默认值:0
* @param AutoRenew 是否自动续费:
0:手动续费
1:自动续费
默认值:0
*/
public void setAutoRenew(Long AutoRenew) {
this.AutoRenew = AutoRenew;
}
/**
* Get 实例网络连接信息。
* @return DBInstanceNetInfo 实例网络连接信息。
*/
public DBInstanceNetInfo [] getDBInstanceNetInfo() {
return this.DBInstanceNetInfo;
}
/**
* Set 实例网络连接信息。
* @param DBInstanceNetInfo 实例网络连接信息。
*/
public void setDBInstanceNetInfo(DBInstanceNetInfo [] DBInstanceNetInfo) {
this.DBInstanceNetInfo = DBInstanceNetInfo;
}
/**
* Get 机器类型。
* @return Type 机器类型。
*/
public String getType() {
return this.Type;
}
/**
* Set 机器类型。
* @param Type 机器类型。
*/
public void setType(String Type) {
this.Type = Type;
}
/**
* Get 用户的AppId。
* @return AppId 用户的AppId。
*/
public Long getAppId() {
return this.AppId;
}
/**
* Set 用户的AppId。
* @param AppId 用户的AppId。
*/
public void setAppId(Long AppId) {
this.AppId = AppId;
}
/**
* Get 实例的Uid。
* @return Uid 实例的Uid。
*/
public Long getUid() {
return this.Uid;
}
/**
* Set 实例的Uid。
* @param Uid 实例的Uid。
*/
public void setUid(Long Uid) {
this.Uid = Uid;
}
/**
* Get 项目ID。
* @return ProjectId 项目ID。
*/
public Long getProjectId() {
return this.ProjectId;
}
/**
* Set 项目ID。
* @param ProjectId 项目ID。
*/
public void setProjectId(Long ProjectId) {
this.ProjectId = ProjectId;
}
/**
* Get 实例绑定的标签信息。
注意:此字段可能返回 null,表示取不到有效值。
* @return TagList 实例绑定的标签信息。
注意:此字段可能返回 null,表示取不到有效值。
*/
public Tag [] getTagList() {
return this.TagList;
}
/**
* Set 实例绑定的标签信息。
注意:此字段可能返回 null,表示取不到有效值。
* @param TagList 实例绑定的标签信息。
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setTagList(Tag [] TagList) {
this.TagList = TagList;
}
/**
* Get 主实例信息,仅在实例为只读实例时返回。
注意:此字段可能返回 null,表示取不到有效值。
* @return MasterDBInstanceId 主实例信息,仅在实例为只读实例时返回。
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getMasterDBInstanceId() {
return this.MasterDBInstanceId;
}
/**
* Set 主实例信息,仅在实例为只读实例时返回。
注意:此字段可能返回 null,表示取不到有效值。
* @param MasterDBInstanceId 主实例信息,仅在实例为只读实例时返回。
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setMasterDBInstanceId(String MasterDBInstanceId) {
this.MasterDBInstanceId = MasterDBInstanceId;
}
/**
* Get 只读实例数量。
注意:此字段可能返回 null,表示取不到有效值。
* @return ReadOnlyInstanceNum 只读实例数量。
注意:此字段可能返回 null,表示取不到有效值。
*/
public Long getReadOnlyInstanceNum() {
return this.ReadOnlyInstanceNum;
}
/**
* Set 只读实例数量。
注意:此字段可能返回 null,表示取不到有效值。
* @param ReadOnlyInstanceNum 只读实例数量。
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setReadOnlyInstanceNum(Long ReadOnlyInstanceNum) {
this.ReadOnlyInstanceNum = ReadOnlyInstanceNum;
}
/**
* Get 只读实例在只读组中的状态。
注意:此字段可能返回 null,表示取不到有效值。
* @return StatusInReadonlyGroup 只读实例在只读组中的状态。
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getStatusInReadonlyGroup() {
return this.StatusInReadonlyGroup;
}
/**
* Set 只读实例在只读组中的状态。
注意:此字段可能返回 null,表示取不到有效值。
* @param StatusInReadonlyGroup 只读实例在只读组中的状态。
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setStatusInReadonlyGroup(String StatusInReadonlyGroup) {
this.StatusInReadonlyGroup = StatusInReadonlyGroup;
}
/**
* Get 下线时间。
注意:此字段可能返回 null,表示取不到有效值。
* @return OfflineTime 下线时间。
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getOfflineTime() {
return this.OfflineTime;
}
/**
* Set 下线时间。
注意:此字段可能返回 null,表示取不到有效值。
* @param OfflineTime 下线时间。
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setOfflineTime(String OfflineTime) {
this.OfflineTime = OfflineTime;
}
/**
* Get 实例的节点信息。
注意:此字段可能返回 null,表示取不到有效值。
* @return DBNodeSet 实例的节点信息。
注意:此字段可能返回 null,表示取不到有效值。
*/
public DBNode [] getDBNodeSet() {
return this.DBNodeSet;
}
/**
* Set 实例的节点信息。
注意:此字段可能返回 null,表示取不到有效值。
* @param DBNodeSet 实例的节点信息。
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setDBNodeSet(DBNode [] DBNodeSet) {
this.DBNodeSet = DBNodeSet;
}
/**
* Get 实例是否支持TDE数据加密:
0:不支持
1:支持
默认值:0
TDE数据加密可参考[数据透明加密概述](https://cloud.tencent.com/document/product/409/71748)
注意:此字段可能返回 null,表示取不到有效值。
* @return IsSupportTDE 实例是否支持TDE数据加密:
0:不支持
1:支持
默认值:0
TDE数据加密可参考[数据透明加密概述](https://cloud.tencent.com/document/product/409/71748)
注意:此字段可能返回 null,表示取不到有效值。
*/
public Long getIsSupportTDE() {
return this.IsSupportTDE;
}
/**
* Set 实例是否支持TDE数据加密:
0:不支持
1:支持
默认值:0
TDE数据加密可参考[数据透明加密概述](https://cloud.tencent.com/document/product/409/71748)
注意:此字段可能返回 null,表示取不到有效值。
* @param IsSupportTDE 实例是否支持TDE数据加密:
0:不支持
1:支持
默认值:0
TDE数据加密可参考[数据透明加密概述](https://cloud.tencent.com/document/product/409/71748)
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setIsSupportTDE(Long IsSupportTDE) {
this.IsSupportTDE = IsSupportTDE;
}
/**
* Get 数据库引擎,支持:
postgresql:云数据库PostgreSQL
mssql_compatible:MSSQL兼容-云数据库PostgreSQL
默认值:postgresql
注意:此字段可能返回 null,表示取不到有效值。
* @return DBEngine 数据库引擎,支持:
postgresql:云数据库PostgreSQL
mssql_compatible:MSSQL兼容-云数据库PostgreSQL
默认值:postgresql
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getDBEngine() {
return this.DBEngine;
}
/**
* Set 数据库引擎,支持:
postgresql:云数据库PostgreSQL
mssql_compatible:MSSQL兼容-云数据库PostgreSQL
默认值:postgresql
注意:此字段可能返回 null,表示取不到有效值。
* @param DBEngine 数据库引擎,支持:
postgresql:云数据库PostgreSQL
mssql_compatible:MSSQL兼容-云数据库PostgreSQL
默认值:postgresql
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setDBEngine(String DBEngine) {
this.DBEngine = DBEngine;
}
/**
* Get 数据库引擎的配置信息,配置格式如下:
{"$key1":"$value1", "$key2":"$value2"}
各引擎支持如下:
mssql_compatible引擎:
migrationMode:数据库模式,可选参数,可取值:single-db(单数据库模式),multi-db(多数据库模式)。默认为single-db。
defaultLocale:排序区域规则,可选参数,在初始化后不可修改,默认为en_US,可选值如下:
"af_ZA", "sq_AL", "ar_DZ", "ar_BH", "ar_EG", "ar_IQ", "ar_JO", "ar_KW", "ar_LB", "ar_LY", "ar_MA", "ar_OM", "ar_QA", "ar_SA", "ar_SY", "ar_TN", "ar_AE", "ar_YE", "hy_AM", "az_Cyrl_AZ", "az_Latn_AZ", "eu_ES", "be_BY", "bg_BG", "ca_ES", "zh_HK", "zh_MO", "zh_CN", "zh_SG", "zh_TW", "hr_HR", "cs_CZ", "da_DK", "nl_BE", "nl_NL", "en_AU", "en_BZ", "en_CA", "en_IE", "en_JM", "en_NZ", "en_PH", "en_ZA", "en_TT", "en_GB", "en_US", "en_ZW", "et_EE", "fo_FO", "fa_IR", "fi_FI", "fr_BE", "fr_CA", "fr_FR", "fr_LU", "fr_MC", "fr_CH", "mk_MK", "ka_GE", "de_AT", "de_DE", "de_LI", "de_LU", "de_CH", "el_GR", "gu_IN", "he_IL", "hi_IN", "hu_HU", "is_IS", "id_ID", "it_IT", "it_CH", "ja_JP", "kn_IN", "kok_IN", "ko_KR", "ky_KG", "lv_LV", "lt_LT", "ms_BN", "ms_MY", "mr_IN", "mn_MN", "nb_NO", "nn_NO", "pl_PL", "pt_BR", "pt_PT", "pa_IN", "ro_RO", "ru_RU", "sa_IN", "sr_Cyrl_RS", "sr_Latn_RS", "sk_SK", "sl_SI", "es_AR", "es_BO", "es_CL", "es_CO", "es_CR", "es_DO", "es_EC", "es_SV", "es_GT", "es_HN", "es_MX", "es_NI", "es_PA", "es_PY","es_PE", "es_PR", "es_ES", "es_TRADITIONAL", "es_UY", "es_VE", "sw_KE", "sv_FI", "sv_SE", "tt_RU", "te_IN", "th_TH", "tr_TR", "uk_UA", "ur_IN", "ur_PK", "uz_Cyrl_UZ", "uz_Latn_UZ", "vi_VN"。
serverCollationName:排序规则名称,可选参数,在初始化后不可修改,默认为sql_latin1_general_cp1_ci_as,可选值如下:"bbf_unicode_general_ci_as", "bbf_unicode_cp1_ci_as", "bbf_unicode_CP1250_ci_as", "bbf_unicode_CP1251_ci_as", "bbf_unicode_cp1253_ci_as", "bbf_unicode_cp1254_ci_as", "bbf_unicode_cp1255_ci_as", "bbf_unicode_cp1256_ci_as", "bbf_unicode_cp1257_ci_as", "bbf_unicode_cp1258_ci_as", "bbf_unicode_cp874_ci_as", "sql_latin1_general_cp1250_ci_as", "sql_latin1_general_cp1251_ci_as", "sql_latin1_general_cp1_ci_as", "sql_latin1_general_cp1253_ci_as", "sql_latin1_general_cp1254_ci_as", "sql_latin1_general_cp1255_ci_as","sql_latin1_general_cp1256_ci_as", "sql_latin1_general_cp1257_ci_as", "sql_latin1_general_cp1258_ci_as", "chinese_prc_ci_as", "cyrillic_general_ci_as", "finnish_swedish_ci_as", "french_ci_as", "japanese_ci_as", "korean_wansung_ci_as", "latin1_general_ci_as", "modern_spanish_ci_as", "polish_ci_as", "thai_ci_as", "traditional_spanish_ci_as", "turkish_ci_as", "ukrainian_ci_as", "vietnamese_ci_as"。
注意:此字段可能返回 null,表示取不到有效值。
* @return DBEngineConfig 数据库引擎的配置信息,配置格式如下:
{"$key1":"$value1", "$key2":"$value2"}
各引擎支持如下:
mssql_compatible引擎:
migrationMode:数据库模式,可选参数,可取值:single-db(单数据库模式),multi-db(多数据库模式)。默认为single-db。
defaultLocale:排序区域规则,可选参数,在初始化后不可修改,默认为en_US,可选值如下:
"af_ZA", "sq_AL", "ar_DZ", "ar_BH", "ar_EG", "ar_IQ", "ar_JO", "ar_KW", "ar_LB", "ar_LY", "ar_MA", "ar_OM", "ar_QA", "ar_SA", "ar_SY", "ar_TN", "ar_AE", "ar_YE", "hy_AM", "az_Cyrl_AZ", "az_Latn_AZ", "eu_ES", "be_BY", "bg_BG", "ca_ES", "zh_HK", "zh_MO", "zh_CN", "zh_SG", "zh_TW", "hr_HR", "cs_CZ", "da_DK", "nl_BE", "nl_NL", "en_AU", "en_BZ", "en_CA", "en_IE", "en_JM", "en_NZ", "en_PH", "en_ZA", "en_TT", "en_GB", "en_US", "en_ZW", "et_EE", "fo_FO", "fa_IR", "fi_FI", "fr_BE", "fr_CA", "fr_FR", "fr_LU", "fr_MC", "fr_CH", "mk_MK", "ka_GE", "de_AT", "de_DE", "de_LI", "de_LU", "de_CH", "el_GR", "gu_IN", "he_IL", "hi_IN", "hu_HU", "is_IS", "id_ID", "it_IT", "it_CH", "ja_JP", "kn_IN", "kok_IN", "ko_KR", "ky_KG", "lv_LV", "lt_LT", "ms_BN", "ms_MY", "mr_IN", "mn_MN", "nb_NO", "nn_NO", "pl_PL", "pt_BR", "pt_PT", "pa_IN", "ro_RO", "ru_RU", "sa_IN", "sr_Cyrl_RS", "sr_Latn_RS", "sk_SK", "sl_SI", "es_AR", "es_BO", "es_CL", "es_CO", "es_CR", "es_DO", "es_EC", "es_SV", "es_GT", "es_HN", "es_MX", "es_NI", "es_PA", "es_PY","es_PE", "es_PR", "es_ES", "es_TRADITIONAL", "es_UY", "es_VE", "sw_KE", "sv_FI", "sv_SE", "tt_RU", "te_IN", "th_TH", "tr_TR", "uk_UA", "ur_IN", "ur_PK", "uz_Cyrl_UZ", "uz_Latn_UZ", "vi_VN"。
serverCollationName:排序规则名称,可选参数,在初始化后不可修改,默认为sql_latin1_general_cp1_ci_as,可选值如下:"bbf_unicode_general_ci_as", "bbf_unicode_cp1_ci_as", "bbf_unicode_CP1250_ci_as", "bbf_unicode_CP1251_ci_as", "bbf_unicode_cp1253_ci_as", "bbf_unicode_cp1254_ci_as", "bbf_unicode_cp1255_ci_as", "bbf_unicode_cp1256_ci_as", "bbf_unicode_cp1257_ci_as", "bbf_unicode_cp1258_ci_as", "bbf_unicode_cp874_ci_as", "sql_latin1_general_cp1250_ci_as", "sql_latin1_general_cp1251_ci_as", "sql_latin1_general_cp1_ci_as", "sql_latin1_general_cp1253_ci_as", "sql_latin1_general_cp1254_ci_as", "sql_latin1_general_cp1255_ci_as","sql_latin1_general_cp1256_ci_as", "sql_latin1_general_cp1257_ci_as", "sql_latin1_general_cp1258_ci_as", "chinese_prc_ci_as", "cyrillic_general_ci_as", "finnish_swedish_ci_as", "french_ci_as", "japanese_ci_as", "korean_wansung_ci_as", "latin1_general_ci_as", "modern_spanish_ci_as", "polish_ci_as", "thai_ci_as", "traditional_spanish_ci_as", "turkish_ci_as", "ukrainian_ci_as", "vietnamese_ci_as"。
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getDBEngineConfig() {
return this.DBEngineConfig;
}
/**
* Set 数据库引擎的配置信息,配置格式如下:
{"$key1":"$value1", "$key2":"$value2"}
各引擎支持如下:
mssql_compatible引擎:
migrationMode:数据库模式,可选参数,可取值:single-db(单数据库模式),multi-db(多数据库模式)。默认为single-db。
defaultLocale:排序区域规则,可选参数,在初始化后不可修改,默认为en_US,可选值如下:
"af_ZA", "sq_AL", "ar_DZ", "ar_BH", "ar_EG", "ar_IQ", "ar_JO", "ar_KW", "ar_LB", "ar_LY", "ar_MA", "ar_OM", "ar_QA", "ar_SA", "ar_SY", "ar_TN", "ar_AE", "ar_YE", "hy_AM", "az_Cyrl_AZ", "az_Latn_AZ", "eu_ES", "be_BY", "bg_BG", "ca_ES", "zh_HK", "zh_MO", "zh_CN", "zh_SG", "zh_TW", "hr_HR", "cs_CZ", "da_DK", "nl_BE", "nl_NL", "en_AU", "en_BZ", "en_CA", "en_IE", "en_JM", "en_NZ", "en_PH", "en_ZA", "en_TT", "en_GB", "en_US", "en_ZW", "et_EE", "fo_FO", "fa_IR", "fi_FI", "fr_BE", "fr_CA", "fr_FR", "fr_LU", "fr_MC", "fr_CH", "mk_MK", "ka_GE", "de_AT", "de_DE", "de_LI", "de_LU", "de_CH", "el_GR", "gu_IN", "he_IL", "hi_IN", "hu_HU", "is_IS", "id_ID", "it_IT", "it_CH", "ja_JP", "kn_IN", "kok_IN", "ko_KR", "ky_KG", "lv_LV", "lt_LT", "ms_BN", "ms_MY", "mr_IN", "mn_MN", "nb_NO", "nn_NO", "pl_PL", "pt_BR", "pt_PT", "pa_IN", "ro_RO", "ru_RU", "sa_IN", "sr_Cyrl_RS", "sr_Latn_RS", "sk_SK", "sl_SI", "es_AR", "es_BO", "es_CL", "es_CO", "es_CR", "es_DO", "es_EC", "es_SV", "es_GT", "es_HN", "es_MX", "es_NI", "es_PA", "es_PY","es_PE", "es_PR", "es_ES", "es_TRADITIONAL", "es_UY", "es_VE", "sw_KE", "sv_FI", "sv_SE", "tt_RU", "te_IN", "th_TH", "tr_TR", "uk_UA", "ur_IN", "ur_PK", "uz_Cyrl_UZ", "uz_Latn_UZ", "vi_VN"。
serverCollationName:排序规则名称,可选参数,在初始化后不可修改,默认为sql_latin1_general_cp1_ci_as,可选值如下:"bbf_unicode_general_ci_as", "bbf_unicode_cp1_ci_as", "bbf_unicode_CP1250_ci_as", "bbf_unicode_CP1251_ci_as", "bbf_unicode_cp1253_ci_as", "bbf_unicode_cp1254_ci_as", "bbf_unicode_cp1255_ci_as", "bbf_unicode_cp1256_ci_as", "bbf_unicode_cp1257_ci_as", "bbf_unicode_cp1258_ci_as", "bbf_unicode_cp874_ci_as", "sql_latin1_general_cp1250_ci_as", "sql_latin1_general_cp1251_ci_as", "sql_latin1_general_cp1_ci_as", "sql_latin1_general_cp1253_ci_as", "sql_latin1_general_cp1254_ci_as", "sql_latin1_general_cp1255_ci_as","sql_latin1_general_cp1256_ci_as", "sql_latin1_general_cp1257_ci_as", "sql_latin1_general_cp1258_ci_as", "chinese_prc_ci_as", "cyrillic_general_ci_as", "finnish_swedish_ci_as", "french_ci_as", "japanese_ci_as", "korean_wansung_ci_as", "latin1_general_ci_as", "modern_spanish_ci_as", "polish_ci_as", "thai_ci_as", "traditional_spanish_ci_as", "turkish_ci_as", "ukrainian_ci_as", "vietnamese_ci_as"。
注意:此字段可能返回 null,表示取不到有效值。
* @param DBEngineConfig 数据库引擎的配置信息,配置格式如下:
{"$key1":"$value1", "$key2":"$value2"}
各引擎支持如下:
mssql_compatible引擎:
migrationMode:数据库模式,可选参数,可取值:single-db(单数据库模式),multi-db(多数据库模式)。默认为single-db。
defaultLocale:排序区域规则,可选参数,在初始化后不可修改,默认为en_US,可选值如下:
"af_ZA", "sq_AL", "ar_DZ", "ar_BH", "ar_EG", "ar_IQ", "ar_JO", "ar_KW", "ar_LB", "ar_LY", "ar_MA", "ar_OM", "ar_QA", "ar_SA", "ar_SY", "ar_TN", "ar_AE", "ar_YE", "hy_AM", "az_Cyrl_AZ", "az_Latn_AZ", "eu_ES", "be_BY", "bg_BG", "ca_ES", "zh_HK", "zh_MO", "zh_CN", "zh_SG", "zh_TW", "hr_HR", "cs_CZ", "da_DK", "nl_BE", "nl_NL", "en_AU", "en_BZ", "en_CA", "en_IE", "en_JM", "en_NZ", "en_PH", "en_ZA", "en_TT", "en_GB", "en_US", "en_ZW", "et_EE", "fo_FO", "fa_IR", "fi_FI", "fr_BE", "fr_CA", "fr_FR", "fr_LU", "fr_MC", "fr_CH", "mk_MK", "ka_GE", "de_AT", "de_DE", "de_LI", "de_LU", "de_CH", "el_GR", "gu_IN", "he_IL", "hi_IN", "hu_HU", "is_IS", "id_ID", "it_IT", "it_CH", "ja_JP", "kn_IN", "kok_IN", "ko_KR", "ky_KG", "lv_LV", "lt_LT", "ms_BN", "ms_MY", "mr_IN", "mn_MN", "nb_NO", "nn_NO", "pl_PL", "pt_BR", "pt_PT", "pa_IN", "ro_RO", "ru_RU", "sa_IN", "sr_Cyrl_RS", "sr_Latn_RS", "sk_SK", "sl_SI", "es_AR", "es_BO", "es_CL", "es_CO", "es_CR", "es_DO", "es_EC", "es_SV", "es_GT", "es_HN", "es_MX", "es_NI", "es_PA", "es_PY","es_PE", "es_PR", "es_ES", "es_TRADITIONAL", "es_UY", "es_VE", "sw_KE", "sv_FI", "sv_SE", "tt_RU", "te_IN", "th_TH", "tr_TR", "uk_UA", "ur_IN", "ur_PK", "uz_Cyrl_UZ", "uz_Latn_UZ", "vi_VN"。
serverCollationName:排序规则名称,可选参数,在初始化后不可修改,默认为sql_latin1_general_cp1_ci_as,可选值如下:"bbf_unicode_general_ci_as", "bbf_unicode_cp1_ci_as", "bbf_unicode_CP1250_ci_as", "bbf_unicode_CP1251_ci_as", "bbf_unicode_cp1253_ci_as", "bbf_unicode_cp1254_ci_as", "bbf_unicode_cp1255_ci_as", "bbf_unicode_cp1256_ci_as", "bbf_unicode_cp1257_ci_as", "bbf_unicode_cp1258_ci_as", "bbf_unicode_cp874_ci_as", "sql_latin1_general_cp1250_ci_as", "sql_latin1_general_cp1251_ci_as", "sql_latin1_general_cp1_ci_as", "sql_latin1_general_cp1253_ci_as", "sql_latin1_general_cp1254_ci_as", "sql_latin1_general_cp1255_ci_as","sql_latin1_general_cp1256_ci_as", "sql_latin1_general_cp1257_ci_as", "sql_latin1_general_cp1258_ci_as", "chinese_prc_ci_as", "cyrillic_general_ci_as", "finnish_swedish_ci_as", "french_ci_as", "japanese_ci_as", "korean_wansung_ci_as", "latin1_general_ci_as", "modern_spanish_ci_as", "polish_ci_as", "thai_ci_as", "traditional_spanish_ci_as", "turkish_ci_as", "ukrainian_ci_as", "vietnamese_ci_as"。
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setDBEngineConfig(String DBEngineConfig) {
this.DBEngineConfig = DBEngineConfig;
}
/**
* Get 实例网络信息列表(此字段已废弃)
注意:此字段可能返回 null,表示取不到有效值。
* @return NetworkAccessList 实例网络信息列表(此字段已废弃)
注意:此字段可能返回 null,表示取不到有效值。
*/
public NetworkAccess [] getNetworkAccessList() {
return this.NetworkAccessList;
}
/**
* Set 实例网络信息列表(此字段已废弃)
注意:此字段可能返回 null,表示取不到有效值。
* @param NetworkAccessList 实例网络信息列表(此字段已废弃)
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setNetworkAccessList(NetworkAccess [] NetworkAccessList) {
this.NetworkAccessList = NetworkAccessList;
}
/**
* Get 实例是否支持Ipv6:
0:否
1:是
默认值:0
* @return SupportIpv6 实例是否支持Ipv6:
0:否
1:是
默认值:0
*/
public Long getSupportIpv6() {
return this.SupportIpv6;
}
/**
* Set 实例是否支持Ipv6:
0:否
1:是
默认值:0
* @param SupportIpv6 实例是否支持Ipv6:
0:否
1:是
默认值:0
*/
public void setSupportIpv6(Long SupportIpv6) {
this.SupportIpv6 = SupportIpv6;
}
public DBInstance() {
}
/**
* NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
* and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
*/
public DBInstance(DBInstance source) {
if (source.Region != null) {
this.Region = new String(source.Region);
}
if (source.Zone != null) {
this.Zone = new String(source.Zone);
}
if (source.VpcId != null) {
this.VpcId = new String(source.VpcId);
}
if (source.SubnetId != null) {
this.SubnetId = new String(source.SubnetId);
}
if (source.DBInstanceId != null) {
this.DBInstanceId = new String(source.DBInstanceId);
}
if (source.DBInstanceName != null) {
this.DBInstanceName = new String(source.DBInstanceName);
}
if (source.DBInstanceStatus != null) {
this.DBInstanceStatus = new String(source.DBInstanceStatus);
}
if (source.DBInstanceMemory != null) {
this.DBInstanceMemory = new Long(source.DBInstanceMemory);
}
if (source.DBInstanceStorage != null) {
this.DBInstanceStorage = new Long(source.DBInstanceStorage);
}
if (source.DBInstanceCpu != null) {
this.DBInstanceCpu = new Long(source.DBInstanceCpu);
}
if (source.DBInstanceClass != null) {
this.DBInstanceClass = new String(source.DBInstanceClass);
}
if (source.DBMajorVersion != null) {
this.DBMajorVersion = new String(source.DBMajorVersion);
}
if (source.DBVersion != null) {
this.DBVersion = new String(source.DBVersion);
}
if (source.DBKernelVersion != null) {
this.DBKernelVersion = new String(source.DBKernelVersion);
}
if (source.DBInstanceType != null) {
this.DBInstanceType = new String(source.DBInstanceType);
}
if (source.DBInstanceVersion != null) {
this.DBInstanceVersion = new String(source.DBInstanceVersion);
}
if (source.DBCharset != null) {
this.DBCharset = new String(source.DBCharset);
}
if (source.CreateTime != null) {
this.CreateTime = new String(source.CreateTime);
}
if (source.UpdateTime != null) {
this.UpdateTime = new String(source.UpdateTime);
}
if (source.ExpireTime != null) {
this.ExpireTime = new String(source.ExpireTime);
}
if (source.IsolatedTime != null) {
this.IsolatedTime = new String(source.IsolatedTime);
}
if (source.PayType != null) {
this.PayType = new String(source.PayType);
}
if (source.AutoRenew != null) {
this.AutoRenew = new Long(source.AutoRenew);
}
if (source.DBInstanceNetInfo != null) {
this.DBInstanceNetInfo = new DBInstanceNetInfo[source.DBInstanceNetInfo.length];
for (int i = 0; i < source.DBInstanceNetInfo.length; i++) {
this.DBInstanceNetInfo[i] = new DBInstanceNetInfo(source.DBInstanceNetInfo[i]);
}
}
if (source.Type != null) {
this.Type = new String(source.Type);
}
if (source.AppId != null) {
this.AppId = new Long(source.AppId);
}
if (source.Uid != null) {
this.Uid = new Long(source.Uid);
}
if (source.ProjectId != null) {
this.ProjectId = new Long(source.ProjectId);
}
if (source.TagList != null) {
this.TagList = new Tag[source.TagList.length];
for (int i = 0; i < source.TagList.length; i++) {
this.TagList[i] = new Tag(source.TagList[i]);
}
}
if (source.MasterDBInstanceId != null) {
this.MasterDBInstanceId = new String(source.MasterDBInstanceId);
}
if (source.ReadOnlyInstanceNum != null) {
this.ReadOnlyInstanceNum = new Long(source.ReadOnlyInstanceNum);
}
if (source.StatusInReadonlyGroup != null) {
this.StatusInReadonlyGroup = new String(source.StatusInReadonlyGroup);
}
if (source.OfflineTime != null) {
this.OfflineTime = new String(source.OfflineTime);
}
if (source.DBNodeSet != null) {
this.DBNodeSet = new DBNode[source.DBNodeSet.length];
for (int i = 0; i < source.DBNodeSet.length; i++) {
this.DBNodeSet[i] = new DBNode(source.DBNodeSet[i]);
}
}
if (source.IsSupportTDE != null) {
this.IsSupportTDE = new Long(source.IsSupportTDE);
}
if (source.DBEngine != null) {
this.DBEngine = new String(source.DBEngine);
}
if (source.DBEngineConfig != null) {
this.DBEngineConfig = new String(source.DBEngineConfig);
}
if (source.NetworkAccessList != null) {
this.NetworkAccessList = new NetworkAccess[source.NetworkAccessList.length];
for (int i = 0; i < source.NetworkAccessList.length; i++) {
this.NetworkAccessList[i] = new NetworkAccess(source.NetworkAccessList[i]);
}
}
if (source.SupportIpv6 != null) {
this.SupportIpv6 = new Long(source.SupportIpv6);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "Region", this.Region);
this.setParamSimple(map, prefix + "Zone", this.Zone);
this.setParamSimple(map, prefix + "VpcId", this.VpcId);
this.setParamSimple(map, prefix + "SubnetId", this.SubnetId);
this.setParamSimple(map, prefix + "DBInstanceId", this.DBInstanceId);
this.setParamSimple(map, prefix + "DBInstanceName", this.DBInstanceName);
this.setParamSimple(map, prefix + "DBInstanceStatus", this.DBInstanceStatus);
this.setParamSimple(map, prefix + "DBInstanceMemory", this.DBInstanceMemory);
this.setParamSimple(map, prefix + "DBInstanceStorage", this.DBInstanceStorage);
this.setParamSimple(map, prefix + "DBInstanceCpu", this.DBInstanceCpu);
this.setParamSimple(map, prefix + "DBInstanceClass", this.DBInstanceClass);
this.setParamSimple(map, prefix + "DBMajorVersion", this.DBMajorVersion);
this.setParamSimple(map, prefix + "DBVersion", this.DBVersion);
this.setParamSimple(map, prefix + "DBKernelVersion", this.DBKernelVersion);
this.setParamSimple(map, prefix + "DBInstanceType", this.DBInstanceType);
this.setParamSimple(map, prefix + "DBInstanceVersion", this.DBInstanceVersion);
this.setParamSimple(map, prefix + "DBCharset", this.DBCharset);
this.setParamSimple(map, prefix + "CreateTime", this.CreateTime);
this.setParamSimple(map, prefix + "UpdateTime", this.UpdateTime);
this.setParamSimple(map, prefix + "ExpireTime", this.ExpireTime);
this.setParamSimple(map, prefix + "IsolatedTime", this.IsolatedTime);
this.setParamSimple(map, prefix + "PayType", this.PayType);
this.setParamSimple(map, prefix + "AutoRenew", this.AutoRenew);
this.setParamArrayObj(map, prefix + "DBInstanceNetInfo.", this.DBInstanceNetInfo);
this.setParamSimple(map, prefix + "Type", this.Type);
this.setParamSimple(map, prefix + "AppId", this.AppId);
this.setParamSimple(map, prefix + "Uid", this.Uid);
this.setParamSimple(map, prefix + "ProjectId", this.ProjectId);
this.setParamArrayObj(map, prefix + "TagList.", this.TagList);
this.setParamSimple(map, prefix + "MasterDBInstanceId", this.MasterDBInstanceId);
this.setParamSimple(map, prefix + "ReadOnlyInstanceNum", this.ReadOnlyInstanceNum);
this.setParamSimple(map, prefix + "StatusInReadonlyGroup", this.StatusInReadonlyGroup);
this.setParamSimple(map, prefix + "OfflineTime", this.OfflineTime);
this.setParamArrayObj(map, prefix + "DBNodeSet.", this.DBNodeSet);
this.setParamSimple(map, prefix + "IsSupportTDE", this.IsSupportTDE);
this.setParamSimple(map, prefix + "DBEngine", this.DBEngine);
this.setParamSimple(map, prefix + "DBEngineConfig", this.DBEngineConfig);
this.setParamArrayObj(map, prefix + "NetworkAccessList.", this.NetworkAccessList);
this.setParamSimple(map, prefix + "SupportIpv6", this.SupportIpv6);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy