com.tencentcloudapi.cynosdb.v20190107.models.CynosdbInstanceDetail 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.cynosdb.v20190107.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 CynosdbInstanceDetail extends AbstractModel {
/**
* User `Uin`
*/
@SerializedName("Uin")
@Expose
private String Uin;
/**
* User `AppId`
*/
@SerializedName("AppId")
@Expose
private Long AppId;
/**
* Cluster ID
*/
@SerializedName("ClusterId")
@Expose
private String ClusterId;
/**
* Cluster name
*/
@SerializedName("ClusterName")
@Expose
private String ClusterName;
/**
* Instance ID
*/
@SerializedName("InstanceId")
@Expose
private String InstanceId;
/**
* Instance name
*/
@SerializedName("InstanceName")
@Expose
private String InstanceName;
/**
* Project ID
*/
@SerializedName("ProjectId")
@Expose
private Long ProjectId;
/**
* Region
*/
@SerializedName("Region")
@Expose
private String Region;
/**
* AZ
*/
@SerializedName("Zone")
@Expose
private String Zone;
/**
* Instance status
*/
@SerializedName("Status")
@Expose
private String Status;
/**
* Instance status description
*/
@SerializedName("StatusDesc")
@Expose
private String StatusDesc;
/**
* Database type
*/
@SerializedName("DbType")
@Expose
private String DbType;
/**
* Database version
*/
@SerializedName("DbVersion")
@Expose
private String DbVersion;
/**
* Number of CPU cores
*/
@SerializedName("Cpu")
@Expose
private Long Cpu;
/**
* Memory in GB
*/
@SerializedName("Memory")
@Expose
private Long Memory;
/**
* Storage capacity in GB
*/
@SerializedName("Storage")
@Expose
private Long Storage;
/**
* Instance type
*/
@SerializedName("InstanceType")
@Expose
private String InstanceType;
/**
* Current instance role
*/
@SerializedName("InstanceRole")
@Expose
private String InstanceRole;
/**
* Update time
*/
@SerializedName("UpdateTime")
@Expose
private String UpdateTime;
/**
* Creation time
*/
@SerializedName("CreateTime")
@Expose
private String CreateTime;
/**
* Billing mode
*/
@SerializedName("PayMode")
@Expose
private Long PayMode;
/**
* Instance expiration time
*/
@SerializedName("PeriodEndTime")
@Expose
private String PeriodEndTime;
/**
* Network type
*/
@SerializedName("NetType")
@Expose
private Long NetType;
/**
* VPC ID
*/
@SerializedName("VpcId")
@Expose
private String VpcId;
/**
* Subnet ID
*/
@SerializedName("SubnetId")
@Expose
private String SubnetId;
/**
* Private IP of instance
*/
@SerializedName("Vip")
@Expose
private String Vip;
/**
* Private port of instance
*/
@SerializedName("Vport")
@Expose
private Long Vport;
/**
* Public domain name of instance
*/
@SerializedName("WanDomain")
@Expose
private String WanDomain;
/**
* Character set
*/
@SerializedName("Charset")
@Expose
private String Charset;
/**
* TDSQL-C kernel version
*/
@SerializedName("CynosVersion")
@Expose
private String CynosVersion;
/**
* Renewal flag
*/
@SerializedName("RenewFlag")
@Expose
private Long RenewFlag;
/**
* The minimum number of CPU cores for a serverless instance
*/
@SerializedName("MinCpu")
@Expose
private Float MinCpu;
/**
* The maximum number of CPU cores for a serverless instance
*/
@SerializedName("MaxCpu")
@Expose
private Float MaxCpu;
/**
* Serverless instance status. Valid values:
resume
pause
*/
@SerializedName("ServerlessStatus")
@Expose
private String ServerlessStatus;
/**
* Get User `Uin`
* @return Uin User `Uin`
*/
public String getUin() {
return this.Uin;
}
/**
* Set User `Uin`
* @param Uin User `Uin`
*/
public void setUin(String Uin) {
this.Uin = Uin;
}
/**
* Get User `AppId`
* @return AppId User `AppId`
*/
public Long getAppId() {
return this.AppId;
}
/**
* Set User `AppId`
* @param AppId User `AppId`
*/
public void setAppId(Long AppId) {
this.AppId = AppId;
}
/**
* Get Cluster ID
* @return ClusterId Cluster ID
*/
public String getClusterId() {
return this.ClusterId;
}
/**
* Set Cluster ID
* @param ClusterId Cluster ID
*/
public void setClusterId(String ClusterId) {
this.ClusterId = ClusterId;
}
/**
* Get Cluster name
* @return ClusterName Cluster name
*/
public String getClusterName() {
return this.ClusterName;
}
/**
* Set Cluster name
* @param ClusterName Cluster name
*/
public void setClusterName(String ClusterName) {
this.ClusterName = ClusterName;
}
/**
* Get Instance ID
* @return InstanceId Instance ID
*/
public String getInstanceId() {
return this.InstanceId;
}
/**
* Set Instance ID
* @param InstanceId Instance ID
*/
public void setInstanceId(String InstanceId) {
this.InstanceId = InstanceId;
}
/**
* Get Instance name
* @return InstanceName Instance name
*/
public String getInstanceName() {
return this.InstanceName;
}
/**
* Set Instance name
* @param InstanceName Instance name
*/
public void setInstanceName(String InstanceName) {
this.InstanceName = InstanceName;
}
/**
* Get Project ID
* @return ProjectId Project ID
*/
public Long getProjectId() {
return this.ProjectId;
}
/**
* Set Project ID
* @param ProjectId Project ID
*/
public void setProjectId(Long ProjectId) {
this.ProjectId = ProjectId;
}
/**
* Get Region
* @return Region Region
*/
public String getRegion() {
return this.Region;
}
/**
* Set Region
* @param Region Region
*/
public void setRegion(String Region) {
this.Region = Region;
}
/**
* Get AZ
* @return Zone AZ
*/
public String getZone() {
return this.Zone;
}
/**
* Set AZ
* @param Zone AZ
*/
public void setZone(String Zone) {
this.Zone = Zone;
}
/**
* Get Instance status
* @return Status Instance status
*/
public String getStatus() {
return this.Status;
}
/**
* Set Instance status
* @param Status Instance status
*/
public void setStatus(String Status) {
this.Status = Status;
}
/**
* Get Instance status description
* @return StatusDesc Instance status description
*/
public String getStatusDesc() {
return this.StatusDesc;
}
/**
* Set Instance status description
* @param StatusDesc Instance status description
*/
public void setStatusDesc(String StatusDesc) {
this.StatusDesc = StatusDesc;
}
/**
* Get Database type
* @return DbType Database type
*/
public String getDbType() {
return this.DbType;
}
/**
* Set Database type
* @param DbType Database type
*/
public void setDbType(String DbType) {
this.DbType = DbType;
}
/**
* Get Database version
* @return DbVersion Database version
*/
public String getDbVersion() {
return this.DbVersion;
}
/**
* Set Database version
* @param DbVersion Database version
*/
public void setDbVersion(String DbVersion) {
this.DbVersion = DbVersion;
}
/**
* Get Number of CPU cores
* @return Cpu Number of CPU cores
*/
public Long getCpu() {
return this.Cpu;
}
/**
* Set Number of CPU cores
* @param Cpu Number of CPU cores
*/
public void setCpu(Long Cpu) {
this.Cpu = Cpu;
}
/**
* Get Memory in GB
* @return Memory Memory in GB
*/
public Long getMemory() {
return this.Memory;
}
/**
* Set Memory in GB
* @param Memory Memory in GB
*/
public void setMemory(Long Memory) {
this.Memory = Memory;
}
/**
* Get Storage capacity in GB
* @return Storage Storage capacity in GB
*/
public Long getStorage() {
return this.Storage;
}
/**
* Set Storage capacity in GB
* @param Storage Storage capacity in GB
*/
public void setStorage(Long Storage) {
this.Storage = Storage;
}
/**
* Get Instance type
* @return InstanceType Instance type
*/
public String getInstanceType() {
return this.InstanceType;
}
/**
* Set Instance type
* @param InstanceType Instance type
*/
public void setInstanceType(String InstanceType) {
this.InstanceType = InstanceType;
}
/**
* Get Current instance role
* @return InstanceRole Current instance role
*/
public String getInstanceRole() {
return this.InstanceRole;
}
/**
* Set Current instance role
* @param InstanceRole Current instance role
*/
public void setInstanceRole(String InstanceRole) {
this.InstanceRole = InstanceRole;
}
/**
* Get Update time
* @return UpdateTime Update time
*/
public String getUpdateTime() {
return this.UpdateTime;
}
/**
* Set Update time
* @param UpdateTime Update time
*/
public void setUpdateTime(String UpdateTime) {
this.UpdateTime = UpdateTime;
}
/**
* Get Creation time
* @return CreateTime Creation time
*/
public String getCreateTime() {
return this.CreateTime;
}
/**
* Set Creation time
* @param CreateTime Creation time
*/
public void setCreateTime(String CreateTime) {
this.CreateTime = CreateTime;
}
/**
* Get Billing mode
* @return PayMode Billing mode
*/
public Long getPayMode() {
return this.PayMode;
}
/**
* Set Billing mode
* @param PayMode Billing mode
*/
public void setPayMode(Long PayMode) {
this.PayMode = PayMode;
}
/**
* Get Instance expiration time
* @return PeriodEndTime Instance expiration time
*/
public String getPeriodEndTime() {
return this.PeriodEndTime;
}
/**
* Set Instance expiration time
* @param PeriodEndTime Instance expiration time
*/
public void setPeriodEndTime(String PeriodEndTime) {
this.PeriodEndTime = PeriodEndTime;
}
/**
* Get Network type
* @return NetType Network type
*/
public Long getNetType() {
return this.NetType;
}
/**
* Set Network type
* @param NetType Network type
*/
public void setNetType(Long NetType) {
this.NetType = NetType;
}
/**
* Get VPC ID
* @return VpcId VPC ID
*/
public String getVpcId() {
return this.VpcId;
}
/**
* Set VPC ID
* @param VpcId VPC ID
*/
public void setVpcId(String VpcId) {
this.VpcId = VpcId;
}
/**
* Get Subnet ID
* @return SubnetId Subnet ID
*/
public String getSubnetId() {
return this.SubnetId;
}
/**
* Set Subnet ID
* @param SubnetId Subnet ID
*/
public void setSubnetId(String SubnetId) {
this.SubnetId = SubnetId;
}
/**
* Get Private IP of instance
* @return Vip Private IP of instance
*/
public String getVip() {
return this.Vip;
}
/**
* Set Private IP of instance
* @param Vip Private IP of instance
*/
public void setVip(String Vip) {
this.Vip = Vip;
}
/**
* Get Private port of instance
* @return Vport Private port of instance
*/
public Long getVport() {
return this.Vport;
}
/**
* Set Private port of instance
* @param Vport Private port of instance
*/
public void setVport(Long Vport) {
this.Vport = Vport;
}
/**
* Get Public domain name of instance
* @return WanDomain Public domain name of instance
*/
public String getWanDomain() {
return this.WanDomain;
}
/**
* Set Public domain name of instance
* @param WanDomain Public domain name of instance
*/
public void setWanDomain(String WanDomain) {
this.WanDomain = WanDomain;
}
/**
* Get Character set
* @return Charset Character set
*/
public String getCharset() {
return this.Charset;
}
/**
* Set Character set
* @param Charset Character set
*/
public void setCharset(String Charset) {
this.Charset = Charset;
}
/**
* Get TDSQL-C kernel version
* @return CynosVersion TDSQL-C kernel version
*/
public String getCynosVersion() {
return this.CynosVersion;
}
/**
* Set TDSQL-C kernel version
* @param CynosVersion TDSQL-C kernel version
*/
public void setCynosVersion(String CynosVersion) {
this.CynosVersion = CynosVersion;
}
/**
* Get Renewal flag
* @return RenewFlag Renewal flag
*/
public Long getRenewFlag() {
return this.RenewFlag;
}
/**
* Set Renewal flag
* @param RenewFlag Renewal flag
*/
public void setRenewFlag(Long RenewFlag) {
this.RenewFlag = RenewFlag;
}
/**
* Get The minimum number of CPU cores for a serverless instance
* @return MinCpu The minimum number of CPU cores for a serverless instance
*/
public Float getMinCpu() {
return this.MinCpu;
}
/**
* Set The minimum number of CPU cores for a serverless instance
* @param MinCpu The minimum number of CPU cores for a serverless instance
*/
public void setMinCpu(Float MinCpu) {
this.MinCpu = MinCpu;
}
/**
* Get The maximum number of CPU cores for a serverless instance
* @return MaxCpu The maximum number of CPU cores for a serverless instance
*/
public Float getMaxCpu() {
return this.MaxCpu;
}
/**
* Set The maximum number of CPU cores for a serverless instance
* @param MaxCpu The maximum number of CPU cores for a serverless instance
*/
public void setMaxCpu(Float MaxCpu) {
this.MaxCpu = MaxCpu;
}
/**
* Get Serverless instance status. Valid values:
resume
pause
* @return ServerlessStatus Serverless instance status. Valid values:
resume
pause
*/
public String getServerlessStatus() {
return this.ServerlessStatus;
}
/**
* Set Serverless instance status. Valid values:
resume
pause
* @param ServerlessStatus Serverless instance status. Valid values:
resume
pause
*/
public void setServerlessStatus(String ServerlessStatus) {
this.ServerlessStatus = ServerlessStatus;
}
public CynosdbInstanceDetail() {
}
/**
* 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 CynosdbInstanceDetail(CynosdbInstanceDetail source) {
if (source.Uin != null) {
this.Uin = new String(source.Uin);
}
if (source.AppId != null) {
this.AppId = new Long(source.AppId);
}
if (source.ClusterId != null) {
this.ClusterId = new String(source.ClusterId);
}
if (source.ClusterName != null) {
this.ClusterName = new String(source.ClusterName);
}
if (source.InstanceId != null) {
this.InstanceId = new String(source.InstanceId);
}
if (source.InstanceName != null) {
this.InstanceName = new String(source.InstanceName);
}
if (source.ProjectId != null) {
this.ProjectId = new Long(source.ProjectId);
}
if (source.Region != null) {
this.Region = new String(source.Region);
}
if (source.Zone != null) {
this.Zone = new String(source.Zone);
}
if (source.Status != null) {
this.Status = new String(source.Status);
}
if (source.StatusDesc != null) {
this.StatusDesc = new String(source.StatusDesc);
}
if (source.DbType != null) {
this.DbType = new String(source.DbType);
}
if (source.DbVersion != null) {
this.DbVersion = new String(source.DbVersion);
}
if (source.Cpu != null) {
this.Cpu = new Long(source.Cpu);
}
if (source.Memory != null) {
this.Memory = new Long(source.Memory);
}
if (source.Storage != null) {
this.Storage = new Long(source.Storage);
}
if (source.InstanceType != null) {
this.InstanceType = new String(source.InstanceType);
}
if (source.InstanceRole != null) {
this.InstanceRole = new String(source.InstanceRole);
}
if (source.UpdateTime != null) {
this.UpdateTime = new String(source.UpdateTime);
}
if (source.CreateTime != null) {
this.CreateTime = new String(source.CreateTime);
}
if (source.PayMode != null) {
this.PayMode = new Long(source.PayMode);
}
if (source.PeriodEndTime != null) {
this.PeriodEndTime = new String(source.PeriodEndTime);
}
if (source.NetType != null) {
this.NetType = new Long(source.NetType);
}
if (source.VpcId != null) {
this.VpcId = new String(source.VpcId);
}
if (source.SubnetId != null) {
this.SubnetId = new String(source.SubnetId);
}
if (source.Vip != null) {
this.Vip = new String(source.Vip);
}
if (source.Vport != null) {
this.Vport = new Long(source.Vport);
}
if (source.WanDomain != null) {
this.WanDomain = new String(source.WanDomain);
}
if (source.Charset != null) {
this.Charset = new String(source.Charset);
}
if (source.CynosVersion != null) {
this.CynosVersion = new String(source.CynosVersion);
}
if (source.RenewFlag != null) {
this.RenewFlag = new Long(source.RenewFlag);
}
if (source.MinCpu != null) {
this.MinCpu = new Float(source.MinCpu);
}
if (source.MaxCpu != null) {
this.MaxCpu = new Float(source.MaxCpu);
}
if (source.ServerlessStatus != null) {
this.ServerlessStatus = new String(source.ServerlessStatus);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "Uin", this.Uin);
this.setParamSimple(map, prefix + "AppId", this.AppId);
this.setParamSimple(map, prefix + "ClusterId", this.ClusterId);
this.setParamSimple(map, prefix + "ClusterName", this.ClusterName);
this.setParamSimple(map, prefix + "InstanceId", this.InstanceId);
this.setParamSimple(map, prefix + "InstanceName", this.InstanceName);
this.setParamSimple(map, prefix + "ProjectId", this.ProjectId);
this.setParamSimple(map, prefix + "Region", this.Region);
this.setParamSimple(map, prefix + "Zone", this.Zone);
this.setParamSimple(map, prefix + "Status", this.Status);
this.setParamSimple(map, prefix + "StatusDesc", this.StatusDesc);
this.setParamSimple(map, prefix + "DbType", this.DbType);
this.setParamSimple(map, prefix + "DbVersion", this.DbVersion);
this.setParamSimple(map, prefix + "Cpu", this.Cpu);
this.setParamSimple(map, prefix + "Memory", this.Memory);
this.setParamSimple(map, prefix + "Storage", this.Storage);
this.setParamSimple(map, prefix + "InstanceType", this.InstanceType);
this.setParamSimple(map, prefix + "InstanceRole", this.InstanceRole);
this.setParamSimple(map, prefix + "UpdateTime", this.UpdateTime);
this.setParamSimple(map, prefix + "CreateTime", this.CreateTime);
this.setParamSimple(map, prefix + "PayMode", this.PayMode);
this.setParamSimple(map, prefix + "PeriodEndTime", this.PeriodEndTime);
this.setParamSimple(map, prefix + "NetType", this.NetType);
this.setParamSimple(map, prefix + "VpcId", this.VpcId);
this.setParamSimple(map, prefix + "SubnetId", this.SubnetId);
this.setParamSimple(map, prefix + "Vip", this.Vip);
this.setParamSimple(map, prefix + "Vport", this.Vport);
this.setParamSimple(map, prefix + "WanDomain", this.WanDomain);
this.setParamSimple(map, prefix + "Charset", this.Charset);
this.setParamSimple(map, prefix + "CynosVersion", this.CynosVersion);
this.setParamSimple(map, prefix + "RenewFlag", this.RenewFlag);
this.setParamSimple(map, prefix + "MinCpu", this.MinCpu);
this.setParamSimple(map, prefix + "MaxCpu", this.MaxCpu);
this.setParamSimple(map, prefix + "ServerlessStatus", this.ServerlessStatus);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy