
com.tencentcloudapi.dc.v20180410.models.DirectConnectTunnelExtra 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.dc.v20180410.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class DirectConnectTunnelExtra extends AbstractModel{
/**
* 专用通道ID
*/
@SerializedName("DirectConnectTunnelId")
@Expose
private String DirectConnectTunnelId;
/**
* 物理专线ID
*/
@SerializedName("DirectConnectId")
@Expose
private String DirectConnectId;
/**
* 专用通道状态
AVAILABLE:就绪或者已连接
PENDING:申请中
ALLOCATING:配置中
ALLOCATED:配置完成
ALTERING:修改中
DELETING:删除中
DELETED:删除完成
COMFIRMING:待接受
REJECTED:拒绝
*/
@SerializedName("State")
@Expose
private String State;
/**
* 物理专线的拥有者,开发商账号 ID
*/
@SerializedName("DirectConnectOwnerAccount")
@Expose
private String DirectConnectOwnerAccount;
/**
* 专用通道的拥有者,开发商账号 ID
*/
@SerializedName("OwnerAccount")
@Expose
private String OwnerAccount;
/**
* 网络类型,分别为VPC、BMVPC、CCN
VPC:私有网络 ,BMVPC:黑石网络,CCN:云联网
*/
@SerializedName("NetworkType")
@Expose
private String NetworkType;
/**
* VPC地域对应的网络名,如ap-guangzhou
*/
@SerializedName("NetworkRegion")
@Expose
private String NetworkRegion;
/**
* 私有网络统一 ID 或者黑石网络统一 ID
*/
@SerializedName("VpcId")
@Expose
private String VpcId;
/**
* 专线网关 ID
*/
@SerializedName("DirectConnectGatewayId")
@Expose
private String DirectConnectGatewayId;
/**
* BGP :BGP路由 STATIC:静态 默认为 BGP 路由
*/
@SerializedName("RouteType")
@Expose
private String RouteType;
/**
* 用户侧BGP,Asn,AuthKey
*/
@SerializedName("BgpPeer")
@Expose
private BgpPeer BgpPeer;
/**
* 用户侧网段地址
*/
@SerializedName("RouteFilterPrefixes")
@Expose
private RouteFilterPrefix [] RouteFilterPrefixes;
/**
* 互联网通道公网网段地址
*/
@SerializedName("PublicAddresses")
@Expose
private RouteFilterPrefix [] PublicAddresses;
/**
* 专用通道的Vlan
*/
@SerializedName("Vlan")
@Expose
private Long Vlan;
/**
* 腾讯侧互联 IP
*/
@SerializedName("TencentAddress")
@Expose
private String TencentAddress;
/**
* 腾讯侧备用互联IP
*/
@SerializedName("TencentBackupAddress")
@Expose
private String TencentBackupAddress;
/**
* 用户侧互联 IP
*/
@SerializedName("CustomerAddress")
@Expose
private String CustomerAddress;
/**
* 专用通道名称
*/
@SerializedName("DirectConnectTunnelName")
@Expose
private String DirectConnectTunnelName;
/**
* 专用通道创建时间
*/
@SerializedName("CreatedTime")
@Expose
private String CreatedTime;
/**
* 专用通道带宽值
*/
@SerializedName("Bandwidth")
@Expose
private Long Bandwidth;
/**
* 关联的网络自定义探测ID
*/
@SerializedName("NetDetectId")
@Expose
private String NetDetectId;
/**
* BGP community开关
*/
@SerializedName("EnableBGPCommunity")
@Expose
private Boolean EnableBGPCommunity;
/**
* 是否为Nat通道
*/
@SerializedName("NatType")
@Expose
private Long NatType;
/**
* VPC地域简码,如gz、cd
*/
@SerializedName("VpcRegion")
@Expose
private String VpcRegion;
/**
* 是否开启BFD
*/
@SerializedName("BfdEnable")
@Expose
private Long BfdEnable;
/**
* 是否开启NQA
*/
@SerializedName("NqaEnable")
@Expose
private Long NqaEnable;
/**
* 专用通道接入点类型
*/
@SerializedName("AccessPointType")
@Expose
private String AccessPointType;
/**
* 专线网关名称
*/
@SerializedName("DirectConnectGatewayName")
@Expose
private String DirectConnectGatewayName;
/**
* VPC名称
*/
@SerializedName("VpcName")
@Expose
private String VpcName;
/**
* 专用通道关联的物理专线是否签署了用户协议
*/
@SerializedName("SignLaw")
@Expose
private Boolean SignLaw;
/**
* BFD配置信息
*/
@SerializedName("BfdInfo")
@Expose
private BFDInfo BfdInfo;
/**
* NQA配置信息
*/
@SerializedName("NqaInfo")
@Expose
private NQAInfo NqaInfo;
/**
* BGP状态
*/
@SerializedName("BgpStatus")
@Expose
private BGPStatus BgpStatus;
/**
* Get 专用通道ID
* @return DirectConnectTunnelId 专用通道ID
*/
public String getDirectConnectTunnelId() {
return this.DirectConnectTunnelId;
}
/**
* Set 专用通道ID
* @param DirectConnectTunnelId 专用通道ID
*/
public void setDirectConnectTunnelId(String DirectConnectTunnelId) {
this.DirectConnectTunnelId = DirectConnectTunnelId;
}
/**
* Get 物理专线ID
* @return DirectConnectId 物理专线ID
*/
public String getDirectConnectId() {
return this.DirectConnectId;
}
/**
* Set 物理专线ID
* @param DirectConnectId 物理专线ID
*/
public void setDirectConnectId(String DirectConnectId) {
this.DirectConnectId = DirectConnectId;
}
/**
* Get 专用通道状态
AVAILABLE:就绪或者已连接
PENDING:申请中
ALLOCATING:配置中
ALLOCATED:配置完成
ALTERING:修改中
DELETING:删除中
DELETED:删除完成
COMFIRMING:待接受
REJECTED:拒绝
* @return State 专用通道状态
AVAILABLE:就绪或者已连接
PENDING:申请中
ALLOCATING:配置中
ALLOCATED:配置完成
ALTERING:修改中
DELETING:删除中
DELETED:删除完成
COMFIRMING:待接受
REJECTED:拒绝
*/
public String getState() {
return this.State;
}
/**
* Set 专用通道状态
AVAILABLE:就绪或者已连接
PENDING:申请中
ALLOCATING:配置中
ALLOCATED:配置完成
ALTERING:修改中
DELETING:删除中
DELETED:删除完成
COMFIRMING:待接受
REJECTED:拒绝
* @param State 专用通道状态
AVAILABLE:就绪或者已连接
PENDING:申请中
ALLOCATING:配置中
ALLOCATED:配置完成
ALTERING:修改中
DELETING:删除中
DELETED:删除完成
COMFIRMING:待接受
REJECTED:拒绝
*/
public void setState(String State) {
this.State = State;
}
/**
* Get 物理专线的拥有者,开发商账号 ID
* @return DirectConnectOwnerAccount 物理专线的拥有者,开发商账号 ID
*/
public String getDirectConnectOwnerAccount() {
return this.DirectConnectOwnerAccount;
}
/**
* Set 物理专线的拥有者,开发商账号 ID
* @param DirectConnectOwnerAccount 物理专线的拥有者,开发商账号 ID
*/
public void setDirectConnectOwnerAccount(String DirectConnectOwnerAccount) {
this.DirectConnectOwnerAccount = DirectConnectOwnerAccount;
}
/**
* Get 专用通道的拥有者,开发商账号 ID
* @return OwnerAccount 专用通道的拥有者,开发商账号 ID
*/
public String getOwnerAccount() {
return this.OwnerAccount;
}
/**
* Set 专用通道的拥有者,开发商账号 ID
* @param OwnerAccount 专用通道的拥有者,开发商账号 ID
*/
public void setOwnerAccount(String OwnerAccount) {
this.OwnerAccount = OwnerAccount;
}
/**
* Get 网络类型,分别为VPC、BMVPC、CCN
VPC:私有网络 ,BMVPC:黑石网络,CCN:云联网
* @return NetworkType 网络类型,分别为VPC、BMVPC、CCN
VPC:私有网络 ,BMVPC:黑石网络,CCN:云联网
*/
public String getNetworkType() {
return this.NetworkType;
}
/**
* Set 网络类型,分别为VPC、BMVPC、CCN
VPC:私有网络 ,BMVPC:黑石网络,CCN:云联网
* @param NetworkType 网络类型,分别为VPC、BMVPC、CCN
VPC:私有网络 ,BMVPC:黑石网络,CCN:云联网
*/
public void setNetworkType(String NetworkType) {
this.NetworkType = NetworkType;
}
/**
* Get VPC地域对应的网络名,如ap-guangzhou
* @return NetworkRegion VPC地域对应的网络名,如ap-guangzhou
*/
public String getNetworkRegion() {
return this.NetworkRegion;
}
/**
* Set VPC地域对应的网络名,如ap-guangzhou
* @param NetworkRegion VPC地域对应的网络名,如ap-guangzhou
*/
public void setNetworkRegion(String NetworkRegion) {
this.NetworkRegion = NetworkRegion;
}
/**
* Get 私有网络统一 ID 或者黑石网络统一 ID
* @return VpcId 私有网络统一 ID 或者黑石网络统一 ID
*/
public String getVpcId() {
return this.VpcId;
}
/**
* Set 私有网络统一 ID 或者黑石网络统一 ID
* @param VpcId 私有网络统一 ID 或者黑石网络统一 ID
*/
public void setVpcId(String VpcId) {
this.VpcId = VpcId;
}
/**
* Get 专线网关 ID
* @return DirectConnectGatewayId 专线网关 ID
*/
public String getDirectConnectGatewayId() {
return this.DirectConnectGatewayId;
}
/**
* Set 专线网关 ID
* @param DirectConnectGatewayId 专线网关 ID
*/
public void setDirectConnectGatewayId(String DirectConnectGatewayId) {
this.DirectConnectGatewayId = DirectConnectGatewayId;
}
/**
* Get BGP :BGP路由 STATIC:静态 默认为 BGP 路由
* @return RouteType BGP :BGP路由 STATIC:静态 默认为 BGP 路由
*/
public String getRouteType() {
return this.RouteType;
}
/**
* Set BGP :BGP路由 STATIC:静态 默认为 BGP 路由
* @param RouteType BGP :BGP路由 STATIC:静态 默认为 BGP 路由
*/
public void setRouteType(String RouteType) {
this.RouteType = RouteType;
}
/**
* Get 用户侧BGP,Asn,AuthKey
* @return BgpPeer 用户侧BGP,Asn,AuthKey
*/
public BgpPeer getBgpPeer() {
return this.BgpPeer;
}
/**
* Set 用户侧BGP,Asn,AuthKey
* @param BgpPeer 用户侧BGP,Asn,AuthKey
*/
public void setBgpPeer(BgpPeer BgpPeer) {
this.BgpPeer = BgpPeer;
}
/**
* Get 用户侧网段地址
* @return RouteFilterPrefixes 用户侧网段地址
*/
public RouteFilterPrefix [] getRouteFilterPrefixes() {
return this.RouteFilterPrefixes;
}
/**
* Set 用户侧网段地址
* @param RouteFilterPrefixes 用户侧网段地址
*/
public void setRouteFilterPrefixes(RouteFilterPrefix [] RouteFilterPrefixes) {
this.RouteFilterPrefixes = RouteFilterPrefixes;
}
/**
* Get 互联网通道公网网段地址
* @return PublicAddresses 互联网通道公网网段地址
*/
public RouteFilterPrefix [] getPublicAddresses() {
return this.PublicAddresses;
}
/**
* Set 互联网通道公网网段地址
* @param PublicAddresses 互联网通道公网网段地址
*/
public void setPublicAddresses(RouteFilterPrefix [] PublicAddresses) {
this.PublicAddresses = PublicAddresses;
}
/**
* Get 专用通道的Vlan
* @return Vlan 专用通道的Vlan
*/
public Long getVlan() {
return this.Vlan;
}
/**
* Set 专用通道的Vlan
* @param Vlan 专用通道的Vlan
*/
public void setVlan(Long Vlan) {
this.Vlan = Vlan;
}
/**
* Get 腾讯侧互联 IP
* @return TencentAddress 腾讯侧互联 IP
*/
public String getTencentAddress() {
return this.TencentAddress;
}
/**
* Set 腾讯侧互联 IP
* @param TencentAddress 腾讯侧互联 IP
*/
public void setTencentAddress(String TencentAddress) {
this.TencentAddress = TencentAddress;
}
/**
* Get 腾讯侧备用互联IP
* @return TencentBackupAddress 腾讯侧备用互联IP
*/
public String getTencentBackupAddress() {
return this.TencentBackupAddress;
}
/**
* Set 腾讯侧备用互联IP
* @param TencentBackupAddress 腾讯侧备用互联IP
*/
public void setTencentBackupAddress(String TencentBackupAddress) {
this.TencentBackupAddress = TencentBackupAddress;
}
/**
* Get 用户侧互联 IP
* @return CustomerAddress 用户侧互联 IP
*/
public String getCustomerAddress() {
return this.CustomerAddress;
}
/**
* Set 用户侧互联 IP
* @param CustomerAddress 用户侧互联 IP
*/
public void setCustomerAddress(String CustomerAddress) {
this.CustomerAddress = CustomerAddress;
}
/**
* Get 专用通道名称
* @return DirectConnectTunnelName 专用通道名称
*/
public String getDirectConnectTunnelName() {
return this.DirectConnectTunnelName;
}
/**
* Set 专用通道名称
* @param DirectConnectTunnelName 专用通道名称
*/
public void setDirectConnectTunnelName(String DirectConnectTunnelName) {
this.DirectConnectTunnelName = DirectConnectTunnelName;
}
/**
* Get 专用通道创建时间
* @return CreatedTime 专用通道创建时间
*/
public String getCreatedTime() {
return this.CreatedTime;
}
/**
* Set 专用通道创建时间
* @param CreatedTime 专用通道创建时间
*/
public void setCreatedTime(String CreatedTime) {
this.CreatedTime = CreatedTime;
}
/**
* Get 专用通道带宽值
* @return Bandwidth 专用通道带宽值
*/
public Long getBandwidth() {
return this.Bandwidth;
}
/**
* Set 专用通道带宽值
* @param Bandwidth 专用通道带宽值
*/
public void setBandwidth(Long Bandwidth) {
this.Bandwidth = Bandwidth;
}
/**
* Get 关联的网络自定义探测ID
* @return NetDetectId 关联的网络自定义探测ID
*/
public String getNetDetectId() {
return this.NetDetectId;
}
/**
* Set 关联的网络自定义探测ID
* @param NetDetectId 关联的网络自定义探测ID
*/
public void setNetDetectId(String NetDetectId) {
this.NetDetectId = NetDetectId;
}
/**
* Get BGP community开关
* @return EnableBGPCommunity BGP community开关
*/
public Boolean getEnableBGPCommunity() {
return this.EnableBGPCommunity;
}
/**
* Set BGP community开关
* @param EnableBGPCommunity BGP community开关
*/
public void setEnableBGPCommunity(Boolean EnableBGPCommunity) {
this.EnableBGPCommunity = EnableBGPCommunity;
}
/**
* Get 是否为Nat通道
* @return NatType 是否为Nat通道
*/
public Long getNatType() {
return this.NatType;
}
/**
* Set 是否为Nat通道
* @param NatType 是否为Nat通道
*/
public void setNatType(Long NatType) {
this.NatType = NatType;
}
/**
* Get VPC地域简码,如gz、cd
* @return VpcRegion VPC地域简码,如gz、cd
*/
public String getVpcRegion() {
return this.VpcRegion;
}
/**
* Set VPC地域简码,如gz、cd
* @param VpcRegion VPC地域简码,如gz、cd
*/
public void setVpcRegion(String VpcRegion) {
this.VpcRegion = VpcRegion;
}
/**
* Get 是否开启BFD
* @return BfdEnable 是否开启BFD
*/
public Long getBfdEnable() {
return this.BfdEnable;
}
/**
* Set 是否开启BFD
* @param BfdEnable 是否开启BFD
*/
public void setBfdEnable(Long BfdEnable) {
this.BfdEnable = BfdEnable;
}
/**
* Get 是否开启NQA
* @return NqaEnable 是否开启NQA
*/
public Long getNqaEnable() {
return this.NqaEnable;
}
/**
* Set 是否开启NQA
* @param NqaEnable 是否开启NQA
*/
public void setNqaEnable(Long NqaEnable) {
this.NqaEnable = NqaEnable;
}
/**
* Get 专用通道接入点类型
* @return AccessPointType 专用通道接入点类型
*/
public String getAccessPointType() {
return this.AccessPointType;
}
/**
* Set 专用通道接入点类型
* @param AccessPointType 专用通道接入点类型
*/
public void setAccessPointType(String AccessPointType) {
this.AccessPointType = AccessPointType;
}
/**
* Get 专线网关名称
* @return DirectConnectGatewayName 专线网关名称
*/
public String getDirectConnectGatewayName() {
return this.DirectConnectGatewayName;
}
/**
* Set 专线网关名称
* @param DirectConnectGatewayName 专线网关名称
*/
public void setDirectConnectGatewayName(String DirectConnectGatewayName) {
this.DirectConnectGatewayName = DirectConnectGatewayName;
}
/**
* Get VPC名称
* @return VpcName VPC名称
*/
public String getVpcName() {
return this.VpcName;
}
/**
* Set VPC名称
* @param VpcName VPC名称
*/
public void setVpcName(String VpcName) {
this.VpcName = VpcName;
}
/**
* Get 专用通道关联的物理专线是否签署了用户协议
* @return SignLaw 专用通道关联的物理专线是否签署了用户协议
*/
public Boolean getSignLaw() {
return this.SignLaw;
}
/**
* Set 专用通道关联的物理专线是否签署了用户协议
* @param SignLaw 专用通道关联的物理专线是否签署了用户协议
*/
public void setSignLaw(Boolean SignLaw) {
this.SignLaw = SignLaw;
}
/**
* Get BFD配置信息
* @return BfdInfo BFD配置信息
*/
public BFDInfo getBfdInfo() {
return this.BfdInfo;
}
/**
* Set BFD配置信息
* @param BfdInfo BFD配置信息
*/
public void setBfdInfo(BFDInfo BfdInfo) {
this.BfdInfo = BfdInfo;
}
/**
* Get NQA配置信息
* @return NqaInfo NQA配置信息
*/
public NQAInfo getNqaInfo() {
return this.NqaInfo;
}
/**
* Set NQA配置信息
* @param NqaInfo NQA配置信息
*/
public void setNqaInfo(NQAInfo NqaInfo) {
this.NqaInfo = NqaInfo;
}
/**
* Get BGP状态
* @return BgpStatus BGP状态
*/
public BGPStatus getBgpStatus() {
return this.BgpStatus;
}
/**
* Set BGP状态
* @param BgpStatus BGP状态
*/
public void setBgpStatus(BGPStatus BgpStatus) {
this.BgpStatus = BgpStatus;
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "DirectConnectTunnelId", this.DirectConnectTunnelId);
this.setParamSimple(map, prefix + "DirectConnectId", this.DirectConnectId);
this.setParamSimple(map, prefix + "State", this.State);
this.setParamSimple(map, prefix + "DirectConnectOwnerAccount", this.DirectConnectOwnerAccount);
this.setParamSimple(map, prefix + "OwnerAccount", this.OwnerAccount);
this.setParamSimple(map, prefix + "NetworkType", this.NetworkType);
this.setParamSimple(map, prefix + "NetworkRegion", this.NetworkRegion);
this.setParamSimple(map, prefix + "VpcId", this.VpcId);
this.setParamSimple(map, prefix + "DirectConnectGatewayId", this.DirectConnectGatewayId);
this.setParamSimple(map, prefix + "RouteType", this.RouteType);
this.setParamObj(map, prefix + "BgpPeer.", this.BgpPeer);
this.setParamArrayObj(map, prefix + "RouteFilterPrefixes.", this.RouteFilterPrefixes);
this.setParamArrayObj(map, prefix + "PublicAddresses.", this.PublicAddresses);
this.setParamSimple(map, prefix + "Vlan", this.Vlan);
this.setParamSimple(map, prefix + "TencentAddress", this.TencentAddress);
this.setParamSimple(map, prefix + "TencentBackupAddress", this.TencentBackupAddress);
this.setParamSimple(map, prefix + "CustomerAddress", this.CustomerAddress);
this.setParamSimple(map, prefix + "DirectConnectTunnelName", this.DirectConnectTunnelName);
this.setParamSimple(map, prefix + "CreatedTime", this.CreatedTime);
this.setParamSimple(map, prefix + "Bandwidth", this.Bandwidth);
this.setParamSimple(map, prefix + "NetDetectId", this.NetDetectId);
this.setParamSimple(map, prefix + "EnableBGPCommunity", this.EnableBGPCommunity);
this.setParamSimple(map, prefix + "NatType", this.NatType);
this.setParamSimple(map, prefix + "VpcRegion", this.VpcRegion);
this.setParamSimple(map, prefix + "BfdEnable", this.BfdEnable);
this.setParamSimple(map, prefix + "NqaEnable", this.NqaEnable);
this.setParamSimple(map, prefix + "AccessPointType", this.AccessPointType);
this.setParamSimple(map, prefix + "DirectConnectGatewayName", this.DirectConnectGatewayName);
this.setParamSimple(map, prefix + "VpcName", this.VpcName);
this.setParamSimple(map, prefix + "SignLaw", this.SignLaw);
this.setParamObj(map, prefix + "BfdInfo.", this.BfdInfo);
this.setParamObj(map, prefix + "NqaInfo.", this.NqaInfo);
this.setParamObj(map, prefix + "BgpStatus.", this.BgpStatus);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy