![JAR search and dependency download from the Maven repository](/logo.png)
com.tencentcloudapi.tcaplusdb.v20190823.models.TableGroupInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Tencent Cloud API SDK for Java
/*
* 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.tcaplusdb.v20190823.models;
import com.tencentcloudapi.common.AbstractModel;
import com.tencentcloudapi.common.SSEResponseModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class TableGroupInfo extends AbstractModel {
/**
* Table group ID
*/
@SerializedName("TableGroupId")
@Expose
private String TableGroupId;
/**
* Table group name
*/
@SerializedName("TableGroupName")
@Expose
private String TableGroupName;
/**
* Table group creation time
*/
@SerializedName("CreatedTime")
@Expose
private String CreatedTime;
/**
* Number of tables in table group
*/
@SerializedName("TableCount")
@Expose
private Long TableCount;
/**
* Total table storage capacity in MB in table group
*/
@SerializedName("TotalSize")
@Expose
private Long TotalSize;
/**
* The number of days before the backup files of the Txh tables expire and are deleted.
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("TxhBackupExpireDay")
@Expose
private Long TxhBackupExpireDay;
/**
* Whether MySQL load rebalancing is enabled. Valid values: `0` (Disabled), `1` (Enabling), `2` (Enabled).
*/
@SerializedName("EnableMysql")
@Expose
private Long EnableMysql;
/**
* MySQL load rebalancing vip
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("MysqlConnIp")
@Expose
private String MysqlConnIp;
/**
* MySQL load rebalancing vport
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("MysqlConnPort")
@Expose
private Long MysqlConnPort;
/**
* Get Table group ID
* @return TableGroupId Table group ID
*/
public String getTableGroupId() {
return this.TableGroupId;
}
/**
* Set Table group ID
* @param TableGroupId Table group ID
*/
public void setTableGroupId(String TableGroupId) {
this.TableGroupId = TableGroupId;
}
/**
* Get Table group name
* @return TableGroupName Table group name
*/
public String getTableGroupName() {
return this.TableGroupName;
}
/**
* Set Table group name
* @param TableGroupName Table group name
*/
public void setTableGroupName(String TableGroupName) {
this.TableGroupName = TableGroupName;
}
/**
* Get Table group creation time
* @return CreatedTime Table group creation time
*/
public String getCreatedTime() {
return this.CreatedTime;
}
/**
* Set Table group creation time
* @param CreatedTime Table group creation time
*/
public void setCreatedTime(String CreatedTime) {
this.CreatedTime = CreatedTime;
}
/**
* Get Number of tables in table group
* @return TableCount Number of tables in table group
*/
public Long getTableCount() {
return this.TableCount;
}
/**
* Set Number of tables in table group
* @param TableCount Number of tables in table group
*/
public void setTableCount(Long TableCount) {
this.TableCount = TableCount;
}
/**
* Get Total table storage capacity in MB in table group
* @return TotalSize Total table storage capacity in MB in table group
*/
public Long getTotalSize() {
return this.TotalSize;
}
/**
* Set Total table storage capacity in MB in table group
* @param TotalSize Total table storage capacity in MB in table group
*/
public void setTotalSize(Long TotalSize) {
this.TotalSize = TotalSize;
}
/**
* Get The number of days before the backup files of the Txh tables expire and are deleted.
Note: This field may return null, indicating that no valid values can be obtained.
* @return TxhBackupExpireDay The number of days before the backup files of the Txh tables expire and are deleted.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public Long getTxhBackupExpireDay() {
return this.TxhBackupExpireDay;
}
/**
* Set The number of days before the backup files of the Txh tables expire and are deleted.
Note: This field may return null, indicating that no valid values can be obtained.
* @param TxhBackupExpireDay The number of days before the backup files of the Txh tables expire and are deleted.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setTxhBackupExpireDay(Long TxhBackupExpireDay) {
this.TxhBackupExpireDay = TxhBackupExpireDay;
}
/**
* Get Whether MySQL load rebalancing is enabled. Valid values: `0` (Disabled), `1` (Enabling), `2` (Enabled).
* @return EnableMysql Whether MySQL load rebalancing is enabled. Valid values: `0` (Disabled), `1` (Enabling), `2` (Enabled).
*/
public Long getEnableMysql() {
return this.EnableMysql;
}
/**
* Set Whether MySQL load rebalancing is enabled. Valid values: `0` (Disabled), `1` (Enabling), `2` (Enabled).
* @param EnableMysql Whether MySQL load rebalancing is enabled. Valid values: `0` (Disabled), `1` (Enabling), `2` (Enabled).
*/
public void setEnableMysql(Long EnableMysql) {
this.EnableMysql = EnableMysql;
}
/**
* Get MySQL load rebalancing vip
Note: This field may return null, indicating that no valid values can be obtained.
* @return MysqlConnIp MySQL load rebalancing vip
Note: This field may return null, indicating that no valid values can be obtained.
*/
public String getMysqlConnIp() {
return this.MysqlConnIp;
}
/**
* Set MySQL load rebalancing vip
Note: This field may return null, indicating that no valid values can be obtained.
* @param MysqlConnIp MySQL load rebalancing vip
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setMysqlConnIp(String MysqlConnIp) {
this.MysqlConnIp = MysqlConnIp;
}
/**
* Get MySQL load rebalancing vport
Note: This field may return null, indicating that no valid values can be obtained.
* @return MysqlConnPort MySQL load rebalancing vport
Note: This field may return null, indicating that no valid values can be obtained.
*/
public Long getMysqlConnPort() {
return this.MysqlConnPort;
}
/**
* Set MySQL load rebalancing vport
Note: This field may return null, indicating that no valid values can be obtained.
* @param MysqlConnPort MySQL load rebalancing vport
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setMysqlConnPort(Long MysqlConnPort) {
this.MysqlConnPort = MysqlConnPort;
}
public TableGroupInfo() {
}
/**
* 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 TableGroupInfo(TableGroupInfo source) {
if (source.TableGroupId != null) {
this.TableGroupId = new String(source.TableGroupId);
}
if (source.TableGroupName != null) {
this.TableGroupName = new String(source.TableGroupName);
}
if (source.CreatedTime != null) {
this.CreatedTime = new String(source.CreatedTime);
}
if (source.TableCount != null) {
this.TableCount = new Long(source.TableCount);
}
if (source.TotalSize != null) {
this.TotalSize = new Long(source.TotalSize);
}
if (source.TxhBackupExpireDay != null) {
this.TxhBackupExpireDay = new Long(source.TxhBackupExpireDay);
}
if (source.EnableMysql != null) {
this.EnableMysql = new Long(source.EnableMysql);
}
if (source.MysqlConnIp != null) {
this.MysqlConnIp = new String(source.MysqlConnIp);
}
if (source.MysqlConnPort != null) {
this.MysqlConnPort = new Long(source.MysqlConnPort);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "TableGroupId", this.TableGroupId);
this.setParamSimple(map, prefix + "TableGroupName", this.TableGroupName);
this.setParamSimple(map, prefix + "CreatedTime", this.CreatedTime);
this.setParamSimple(map, prefix + "TableCount", this.TableCount);
this.setParamSimple(map, prefix + "TotalSize", this.TotalSize);
this.setParamSimple(map, prefix + "TxhBackupExpireDay", this.TxhBackupExpireDay);
this.setParamSimple(map, prefix + "EnableMysql", this.EnableMysql);
this.setParamSimple(map, prefix + "MysqlConnIp", this.MysqlConnIp);
this.setParamSimple(map, prefix + "MysqlConnPort", this.MysqlConnPort);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy