![JAR search and dependency download from the Maven repository](/logo.png)
com.tencentcloudapi.cynosdb.v20190107.models.InstanceNetInfo 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 InstanceNetInfo extends AbstractModel {
/**
* Network type
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("InstanceGroupType")
@Expose
private String InstanceGroupType;
/**
* Instance group ID
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("InstanceGroupId")
@Expose
private String InstanceGroupId;
/**
* VPC ID
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("VpcId")
@Expose
private String VpcId;
/**
* Subnet ID
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("SubnetId")
@Expose
private String SubnetId;
/**
* Network type
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("NetType")
@Expose
private Long NetType;
/**
* VPC IP
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("Vip")
@Expose
private String Vip;
/**
* VPC port
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("Vport")
@Expose
private Long Vport;
/**
* Public network domain name
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("WanDomain")
@Expose
private String WanDomain;
/**
*
*/
@SerializedName("WanIP")
@Expose
private String WanIP;
/**
* Public network port
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("WanPort")
@Expose
private Long WanPort;
/**
* Public network status
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("WanStatus")
@Expose
private String WanStatus;
/**
* Get Network type
Note: This field may return null, indicating that no valid values can be obtained.
* @return InstanceGroupType Network type
Note: This field may return null, indicating that no valid values can be obtained.
*/
public String getInstanceGroupType() {
return this.InstanceGroupType;
}
/**
* Set Network type
Note: This field may return null, indicating that no valid values can be obtained.
* @param InstanceGroupType Network type
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setInstanceGroupType(String InstanceGroupType) {
this.InstanceGroupType = InstanceGroupType;
}
/**
* Get Instance group ID
Note: This field may return null, indicating that no valid values can be obtained.
* @return InstanceGroupId Instance group ID
Note: This field may return null, indicating that no valid values can be obtained.
*/
public String getInstanceGroupId() {
return this.InstanceGroupId;
}
/**
* Set Instance group ID
Note: This field may return null, indicating that no valid values can be obtained.
* @param InstanceGroupId Instance group ID
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setInstanceGroupId(String InstanceGroupId) {
this.InstanceGroupId = InstanceGroupId;
}
/**
* Get VPC ID
Note: This field may return null, indicating that no valid values can be obtained.
* @return VpcId VPC ID
Note: This field may return null, indicating that no valid values can be obtained.
*/
public String getVpcId() {
return this.VpcId;
}
/**
* Set VPC ID
Note: This field may return null, indicating that no valid values can be obtained.
* @param VpcId VPC ID
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setVpcId(String VpcId) {
this.VpcId = VpcId;
}
/**
* Get Subnet ID
Note: This field may return null, indicating that no valid values can be obtained.
* @return SubnetId Subnet ID
Note: This field may return null, indicating that no valid values can be obtained.
*/
public String getSubnetId() {
return this.SubnetId;
}
/**
* Set Subnet ID
Note: This field may return null, indicating that no valid values can be obtained.
* @param SubnetId Subnet ID
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setSubnetId(String SubnetId) {
this.SubnetId = SubnetId;
}
/**
* Get Network type
Note: This field may return null, indicating that no valid values can be obtained.
* @return NetType Network type
Note: This field may return null, indicating that no valid values can be obtained.
*/
public Long getNetType() {
return this.NetType;
}
/**
* Set Network type
Note: This field may return null, indicating that no valid values can be obtained.
* @param NetType Network type
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setNetType(Long NetType) {
this.NetType = NetType;
}
/**
* Get VPC IP
Note: This field may return null, indicating that no valid values can be obtained.
* @return Vip VPC IP
Note: This field may return null, indicating that no valid values can be obtained.
*/
public String getVip() {
return this.Vip;
}
/**
* Set VPC IP
Note: This field may return null, indicating that no valid values can be obtained.
* @param Vip VPC IP
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setVip(String Vip) {
this.Vip = Vip;
}
/**
* Get VPC port
Note: This field may return null, indicating that no valid values can be obtained.
* @return Vport VPC port
Note: This field may return null, indicating that no valid values can be obtained.
*/
public Long getVport() {
return this.Vport;
}
/**
* Set VPC port
Note: This field may return null, indicating that no valid values can be obtained.
* @param Vport VPC port
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setVport(Long Vport) {
this.Vport = Vport;
}
/**
* Get Public network domain name
Note: This field may return null, indicating that no valid values can be obtained.
* @return WanDomain Public network domain name
Note: This field may return null, indicating that no valid values can be obtained.
*/
public String getWanDomain() {
return this.WanDomain;
}
/**
* Set Public network domain name
Note: This field may return null, indicating that no valid values can be obtained.
* @param WanDomain Public network domain name
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setWanDomain(String WanDomain) {
this.WanDomain = WanDomain;
}
/**
* Get
* @return WanIP
*/
public String getWanIP() {
return this.WanIP;
}
/**
* Set
* @param WanIP
*/
public void setWanIP(String WanIP) {
this.WanIP = WanIP;
}
/**
* Get Public network port
Note: This field may return null, indicating that no valid values can be obtained.
* @return WanPort Public network port
Note: This field may return null, indicating that no valid values can be obtained.
*/
public Long getWanPort() {
return this.WanPort;
}
/**
* Set Public network port
Note: This field may return null, indicating that no valid values can be obtained.
* @param WanPort Public network port
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setWanPort(Long WanPort) {
this.WanPort = WanPort;
}
/**
* Get Public network status
Note: This field may return null, indicating that no valid values can be obtained.
* @return WanStatus Public network status
Note: This field may return null, indicating that no valid values can be obtained.
*/
public String getWanStatus() {
return this.WanStatus;
}
/**
* Set Public network status
Note: This field may return null, indicating that no valid values can be obtained.
* @param WanStatus Public network status
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setWanStatus(String WanStatus) {
this.WanStatus = WanStatus;
}
public InstanceNetInfo() {
}
/**
* 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 InstanceNetInfo(InstanceNetInfo source) {
if (source.InstanceGroupType != null) {
this.InstanceGroupType = new String(source.InstanceGroupType);
}
if (source.InstanceGroupId != null) {
this.InstanceGroupId = new String(source.InstanceGroupId);
}
if (source.VpcId != null) {
this.VpcId = new String(source.VpcId);
}
if (source.SubnetId != null) {
this.SubnetId = new String(source.SubnetId);
}
if (source.NetType != null) {
this.NetType = new Long(source.NetType);
}
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);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "InstanceGroupType", this.InstanceGroupType);
this.setParamSimple(map, prefix + "InstanceGroupId", this.InstanceGroupId);
this.setParamSimple(map, prefix + "VpcId", this.VpcId);
this.setParamSimple(map, prefix + "SubnetId", this.SubnetId);
this.setParamSimple(map, prefix + "NetType", this.NetType);
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);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy