com.tencentcloudapi.cynosdb.v20190107.models.CynosdbInstanceGrp 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 CynosdbInstanceGrp extends AbstractModel {
/**
* User `appId`
*/
@SerializedName("AppId")
@Expose
private Long AppId;
/**
* Cluster ID
*/
@SerializedName("ClusterId")
@Expose
private String ClusterId;
/**
* Creation time
*/
@SerializedName("CreatedTime")
@Expose
private String CreatedTime;
/**
* Deletion time
*/
@SerializedName("DeletedTime")
@Expose
private String DeletedTime;
/**
* Instance group ID
*/
@SerializedName("InstanceGrpId")
@Expose
private String InstanceGrpId;
/**
* Status
*/
@SerializedName("Status")
@Expose
private String Status;
/**
* Instance group type. ha: HA group; ro: RO group
*/
@SerializedName("Type")
@Expose
private String Type;
/**
* Update time
*/
@SerializedName("UpdatedTime")
@Expose
private String UpdatedTime;
/**
* Private IP
*/
@SerializedName("Vip")
@Expose
private String Vip;
/**
* Private port
*/
@SerializedName("Vport")
@Expose
private Long Vport;
/**
* Public domain name
*/
@SerializedName("WanDomain")
@Expose
private String WanDomain;
/**
* Public IP
*/
@SerializedName("WanIP")
@Expose
private String WanIP;
/**
* Public port
*/
@SerializedName("WanPort")
@Expose
private Long WanPort;
/**
* Public network status
*/
@SerializedName("WanStatus")
@Expose
private String WanStatus;
/**
* Information of instances contained in instance group
*/
@SerializedName("InstanceSet")
@Expose
private CynosdbInstance [] InstanceSet;
/**
* VPC ID
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("UniqVpcId")
@Expose
private String UniqVpcId;
/**
* Subnet ID
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("UniqSubnetId")
@Expose
private String UniqSubnetId;
/**
* Information of the old IP
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("OldAddrInfo")
@Expose
private OldAddrInfo OldAddrInfo;
/**
* Task in progress
*/
@SerializedName("ProcessingTasks")
@Expose
private String [] ProcessingTasks;
/**
* Task list
*/
@SerializedName("Tasks")
@Expose
private ObjectTask [] Tasks;
/**
* biz_net_service table ID
*/
@SerializedName("NetServiceId")
@Expose
private Long NetServiceId;
/**
* 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 Creation time
* @return CreatedTime Creation time
*/
public String getCreatedTime() {
return this.CreatedTime;
}
/**
* Set Creation time
* @param CreatedTime Creation time
*/
public void setCreatedTime(String CreatedTime) {
this.CreatedTime = CreatedTime;
}
/**
* Get Deletion time
* @return DeletedTime Deletion time
*/
public String getDeletedTime() {
return this.DeletedTime;
}
/**
* Set Deletion time
* @param DeletedTime Deletion time
*/
public void setDeletedTime(String DeletedTime) {
this.DeletedTime = DeletedTime;
}
/**
* Get Instance group ID
* @return InstanceGrpId Instance group ID
*/
public String getInstanceGrpId() {
return this.InstanceGrpId;
}
/**
* Set Instance group ID
* @param InstanceGrpId Instance group ID
*/
public void setInstanceGrpId(String InstanceGrpId) {
this.InstanceGrpId = InstanceGrpId;
}
/**
* Get Status
* @return Status Status
*/
public String getStatus() {
return this.Status;
}
/**
* Set Status
* @param Status Status
*/
public void setStatus(String Status) {
this.Status = Status;
}
/**
* Get Instance group type. ha: HA group; ro: RO group
* @return Type Instance group type. ha: HA group; ro: RO group
*/
public String getType() {
return this.Type;
}
/**
* Set Instance group type. ha: HA group; ro: RO group
* @param Type Instance group type. ha: HA group; ro: RO group
*/
public void setType(String Type) {
this.Type = Type;
}
/**
* Get Update time
* @return UpdatedTime Update time
*/
public String getUpdatedTime() {
return this.UpdatedTime;
}
/**
* Set Update time
* @param UpdatedTime Update time
*/
public void setUpdatedTime(String UpdatedTime) {
this.UpdatedTime = UpdatedTime;
}
/**
* Get Private IP
* @return Vip Private IP
*/
public String getVip() {
return this.Vip;
}
/**
* Set Private IP
* @param Vip Private IP
*/
public void setVip(String Vip) {
this.Vip = Vip;
}
/**
* Get Private port
* @return Vport Private port
*/
public Long getVport() {
return this.Vport;
}
/**
* Set Private port
* @param Vport Private port
*/
public void setVport(Long Vport) {
this.Vport = Vport;
}
/**
* Get Public domain name
* @return WanDomain Public domain name
*/
public String getWanDomain() {
return this.WanDomain;
}
/**
* Set Public domain name
* @param WanDomain Public domain name
*/
public void setWanDomain(String WanDomain) {
this.WanDomain = WanDomain;
}
/**
* Get Public IP
* @return WanIP Public IP
*/
public String getWanIP() {
return this.WanIP;
}
/**
* Set Public IP
* @param WanIP Public IP
*/
public void setWanIP(String WanIP) {
this.WanIP = WanIP;
}
/**
* Get Public port
* @return WanPort Public port
*/
public Long getWanPort() {
return this.WanPort;
}
/**
* Set Public port
* @param WanPort Public port
*/
public void setWanPort(Long WanPort) {
this.WanPort = WanPort;
}
/**
* Get Public network status
* @return WanStatus Public network status
*/
public String getWanStatus() {
return this.WanStatus;
}
/**
* Set Public network status
* @param WanStatus Public network status
*/
public void setWanStatus(String WanStatus) {
this.WanStatus = WanStatus;
}
/**
* Get Information of instances contained in instance group
* @return InstanceSet Information of instances contained in instance group
*/
public CynosdbInstance [] getInstanceSet() {
return this.InstanceSet;
}
/**
* Set Information of instances contained in instance group
* @param InstanceSet Information of instances contained in instance group
*/
public void setInstanceSet(CynosdbInstance [] InstanceSet) {
this.InstanceSet = InstanceSet;
}
/**
* Get VPC ID
Note: This field may return null, indicating that no valid values can be obtained.
* @return UniqVpcId VPC ID
Note: This field may return null, indicating that no valid values can be obtained.
*/
public String getUniqVpcId() {
return this.UniqVpcId;
}
/**
* Set VPC ID
Note: This field may return null, indicating that no valid values can be obtained.
* @param UniqVpcId VPC ID
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setUniqVpcId(String UniqVpcId) {
this.UniqVpcId = UniqVpcId;
}
/**
* Get Subnet ID
Note: This field may return null, indicating that no valid values can be obtained.
* @return UniqSubnetId Subnet ID
Note: This field may return null, indicating that no valid values can be obtained.
*/
public String getUniqSubnetId() {
return this.UniqSubnetId;
}
/**
* Set Subnet ID
Note: This field may return null, indicating that no valid values can be obtained.
* @param UniqSubnetId Subnet ID
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setUniqSubnetId(String UniqSubnetId) {
this.UniqSubnetId = UniqSubnetId;
}
/**
* Get Information of the old IP
Note: This field may return null, indicating that no valid values can be obtained.
* @return OldAddrInfo Information of the old IP
Note: This field may return null, indicating that no valid values can be obtained.
*/
public OldAddrInfo getOldAddrInfo() {
return this.OldAddrInfo;
}
/**
* Set Information of the old IP
Note: This field may return null, indicating that no valid values can be obtained.
* @param OldAddrInfo Information of the old IP
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setOldAddrInfo(OldAddrInfo OldAddrInfo) {
this.OldAddrInfo = OldAddrInfo;
}
/**
* Get Task in progress
* @return ProcessingTasks Task in progress
*/
public String [] getProcessingTasks() {
return this.ProcessingTasks;
}
/**
* Set Task in progress
* @param ProcessingTasks Task in progress
*/
public void setProcessingTasks(String [] ProcessingTasks) {
this.ProcessingTasks = ProcessingTasks;
}
/**
* Get Task list
* @return Tasks Task list
*/
public ObjectTask [] getTasks() {
return this.Tasks;
}
/**
* Set Task list
* @param Tasks Task list
*/
public void setTasks(ObjectTask [] Tasks) {
this.Tasks = Tasks;
}
/**
* Get biz_net_service table ID
* @return NetServiceId biz_net_service table ID
*/
public Long getNetServiceId() {
return this.NetServiceId;
}
/**
* Set biz_net_service table ID
* @param NetServiceId biz_net_service table ID
*/
public void setNetServiceId(Long NetServiceId) {
this.NetServiceId = NetServiceId;
}
public CynosdbInstanceGrp() {
}
/**
* 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 CynosdbInstanceGrp(CynosdbInstanceGrp source) {
if (source.AppId != null) {
this.AppId = new Long(source.AppId);
}
if (source.ClusterId != null) {
this.ClusterId = new String(source.ClusterId);
}
if (source.CreatedTime != null) {
this.CreatedTime = new String(source.CreatedTime);
}
if (source.DeletedTime != null) {
this.DeletedTime = new String(source.DeletedTime);
}
if (source.InstanceGrpId != null) {
this.InstanceGrpId = new String(source.InstanceGrpId);
}
if (source.Status != null) {
this.Status = new String(source.Status);
}
if (source.Type != null) {
this.Type = new String(source.Type);
}
if (source.UpdatedTime != null) {
this.UpdatedTime = new String(source.UpdatedTime);
}
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.WanIP != null) {
this.WanIP = new String(source.WanIP);
}
if (source.WanPort != null) {
this.WanPort = new Long(source.WanPort);
}
if (source.WanStatus != null) {
this.WanStatus = new String(source.WanStatus);
}
if (source.InstanceSet != null) {
this.InstanceSet = new CynosdbInstance[source.InstanceSet.length];
for (int i = 0; i < source.InstanceSet.length; i++) {
this.InstanceSet[i] = new CynosdbInstance(source.InstanceSet[i]);
}
}
if (source.UniqVpcId != null) {
this.UniqVpcId = new String(source.UniqVpcId);
}
if (source.UniqSubnetId != null) {
this.UniqSubnetId = new String(source.UniqSubnetId);
}
if (source.OldAddrInfo != null) {
this.OldAddrInfo = new OldAddrInfo(source.OldAddrInfo);
}
if (source.ProcessingTasks != null) {
this.ProcessingTasks = new String[source.ProcessingTasks.length];
for (int i = 0; i < source.ProcessingTasks.length; i++) {
this.ProcessingTasks[i] = new String(source.ProcessingTasks[i]);
}
}
if (source.Tasks != null) {
this.Tasks = new ObjectTask[source.Tasks.length];
for (int i = 0; i < source.Tasks.length; i++) {
this.Tasks[i] = new ObjectTask(source.Tasks[i]);
}
}
if (source.NetServiceId != null) {
this.NetServiceId = new Long(source.NetServiceId);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "AppId", this.AppId);
this.setParamSimple(map, prefix + "ClusterId", this.ClusterId);
this.setParamSimple(map, prefix + "CreatedTime", this.CreatedTime);
this.setParamSimple(map, prefix + "DeletedTime", this.DeletedTime);
this.setParamSimple(map, prefix + "InstanceGrpId", this.InstanceGrpId);
this.setParamSimple(map, prefix + "Status", this.Status);
this.setParamSimple(map, prefix + "Type", this.Type);
this.setParamSimple(map, prefix + "UpdatedTime", this.UpdatedTime);
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 + "WanIP", this.WanIP);
this.setParamSimple(map, prefix + "WanPort", this.WanPort);
this.setParamSimple(map, prefix + "WanStatus", this.WanStatus);
this.setParamArrayObj(map, prefix + "InstanceSet.", this.InstanceSet);
this.setParamSimple(map, prefix + "UniqVpcId", this.UniqVpcId);
this.setParamSimple(map, prefix + "UniqSubnetId", this.UniqSubnetId);
this.setParamObj(map, prefix + "OldAddrInfo.", this.OldAddrInfo);
this.setParamArraySimple(map, prefix + "ProcessingTasks.", this.ProcessingTasks);
this.setParamArrayObj(map, prefix + "Tasks.", this.Tasks);
this.setParamSimple(map, prefix + "NetServiceId", this.NetServiceId);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy