All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tencentcloudapi.vpc.v20170312.models.DirectConnectGateway 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.vpc.v20170312.models;

import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;

public class DirectConnectGateway extends AbstractModel{

    /**
    * 专线网关`ID`。
    */
    @SerializedName("DirectConnectGatewayId")
    @Expose
    private String DirectConnectGatewayId;

    /**
    * 专线网关名称。
    */
    @SerializedName("DirectConnectGatewayName")
    @Expose
    private String DirectConnectGatewayName;

    /**
    * 专线网关关联`VPC`实例`ID`。
    */
    @SerializedName("VpcId")
    @Expose
    private String VpcId;

    /**
    * 关联网络类型:
  • `VPC` - 私有网络
  • `CCN` - 云联网
  • */ @SerializedName("NetworkType") @Expose private String NetworkType; /** * 关联网络实例`ID`:
  • `NetworkType`为`VPC`时,这里为私有网络实例`ID`
  • `NetworkType`为`CCN`时,这里为云联网实例`ID`
  • */ @SerializedName("NetworkInstanceId") @Expose private String NetworkInstanceId; /** * 网关类型:
  • NORMAL - 标准型,注:云联网只支持标准型
  • NAT - NAT型
  • NAT类型支持网络地址转换配置,类型确定后不能修改;一个私有网络可以创建一个NAT类型的专线网关和一个非NAT类型的专线网关 */ @SerializedName("GatewayType") @Expose private String GatewayType; /** * 创建时间。 */ @SerializedName("CreateTime") @Expose private String CreateTime; /** * 专线网关IP。 */ @SerializedName("DirectConnectGatewayIp") @Expose private String DirectConnectGatewayIp; /** * 专线网关关联`CCN`实例`ID`。 */ @SerializedName("CcnId") @Expose private String CcnId; /** * 云联网路由学习类型:
  • `BGP` - 自动学习。
  • `STATIC` - 静态,即用户配置。
  • */ @SerializedName("CcnRouteType") @Expose private String CcnRouteType; /** * 是否启用BGP。 */ @SerializedName("EnableBGP") @Expose private Boolean EnableBGP; /** * 开启和关闭BGP的community属性。 */ @SerializedName("EnableBGPCommunity") @Expose private Boolean EnableBGPCommunity; /** * 绑定的NAT网关ID。 注意:此字段可能返回 null,表示取不到有效值。 */ @SerializedName("NatGatewayId") @Expose private String NatGatewayId; /** * 专线网关是否支持VXLAN架构 注意:此字段可能返回 null,表示取不到有效值。 */ @SerializedName("VXLANSupport") @Expose private Boolean [] VXLANSupport; /** * 云联网路由发布模式:`standard`(标准模式)、`exquisite`(精细模式)。 注意:此字段可能返回 null,表示取不到有效值。 */ @SerializedName("ModeType") @Expose private String ModeType; /** * 是否为localZone专线网关。 注意:此字段可能返回 null,表示取不到有效值。 */ @SerializedName("LocalZone") @Expose private Boolean LocalZone; /** * 专线网关所在可用区 注意:此字段可能返回 null,表示取不到有效值。 */ @SerializedName("Zone") @Expose private String Zone; /** * 网关流控明细启用状态: 0:关闭 1:开启 注意:此字段可能返回 null,表示取不到有效值。 */ @SerializedName("EnableFlowDetails") @Expose private Long EnableFlowDetails; /** * 开启、关闭网关流控明细时间 注意:此字段可能返回 null,表示取不到有效值。 */ @SerializedName("FlowDetailsUpdateTime") @Expose private String FlowDetailsUpdateTime; /** * 是否支持开启网关流控明细 0:不支持 1:支持 注意:此字段可能返回 null,表示取不到有效值。 */ @SerializedName("NewAfc") @Expose private Long NewAfc; /** * 专线网关接入网络类型:
  • `VXLAN` - VXLAN类型。
  • `MPLS` - MPLS类型。
  • `Hybrid` - Hybrid类型。
  • 注意:此字段可能返回 null,表示取不到有效值。 */ @SerializedName("AccessNetworkType") @Expose private String AccessNetworkType; /** * 跨可用区容灾专线网关的可用区列表 注意:此字段可能返回 null,表示取不到有效值。 */ @SerializedName("HaZoneList") @Expose private String [] HaZoneList; /** * 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 专线网关名称。 * @return DirectConnectGatewayName 专线网关名称。 */ public String getDirectConnectGatewayName() { return this.DirectConnectGatewayName; } /** * Set 专线网关名称。 * @param DirectConnectGatewayName 专线网关名称。 */ public void setDirectConnectGatewayName(String DirectConnectGatewayName) { this.DirectConnectGatewayName = DirectConnectGatewayName; } /** * 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 关联网络类型:
  • `VPC` - 私有网络
  • `CCN` - 云联网
  • * @return NetworkType 关联网络类型:
  • `VPC` - 私有网络
  • `CCN` - 云联网
  • */ public String getNetworkType() { return this.NetworkType; } /** * Set 关联网络类型:
  • `VPC` - 私有网络
  • `CCN` - 云联网
  • * @param NetworkType 关联网络类型:
  • `VPC` - 私有网络
  • `CCN` - 云联网
  • */ public void setNetworkType(String NetworkType) { this.NetworkType = NetworkType; } /** * Get 关联网络实例`ID`:
  • `NetworkType`为`VPC`时,这里为私有网络实例`ID`
  • `NetworkType`为`CCN`时,这里为云联网实例`ID`
  • * @return NetworkInstanceId 关联网络实例`ID`:
  • `NetworkType`为`VPC`时,这里为私有网络实例`ID`
  • `NetworkType`为`CCN`时,这里为云联网实例`ID`
  • */ public String getNetworkInstanceId() { return this.NetworkInstanceId; } /** * Set 关联网络实例`ID`:
  • `NetworkType`为`VPC`时,这里为私有网络实例`ID`
  • `NetworkType`为`CCN`时,这里为云联网实例`ID`
  • * @param NetworkInstanceId 关联网络实例`ID`:
  • `NetworkType`为`VPC`时,这里为私有网络实例`ID`
  • `NetworkType`为`CCN`时,这里为云联网实例`ID`
  • */ public void setNetworkInstanceId(String NetworkInstanceId) { this.NetworkInstanceId = NetworkInstanceId; } /** * Get 网关类型:
  • NORMAL - 标准型,注:云联网只支持标准型
  • NAT - NAT型
  • NAT类型支持网络地址转换配置,类型确定后不能修改;一个私有网络可以创建一个NAT类型的专线网关和一个非NAT类型的专线网关 * @return GatewayType 网关类型:
  • NORMAL - 标准型,注:云联网只支持标准型
  • NAT - NAT型
  • NAT类型支持网络地址转换配置,类型确定后不能修改;一个私有网络可以创建一个NAT类型的专线网关和一个非NAT类型的专线网关 */ public String getGatewayType() { return this.GatewayType; } /** * Set 网关类型:
  • NORMAL - 标准型,注:云联网只支持标准型
  • NAT - NAT型
  • NAT类型支持网络地址转换配置,类型确定后不能修改;一个私有网络可以创建一个NAT类型的专线网关和一个非NAT类型的专线网关 * @param GatewayType 网关类型:
  • NORMAL - 标准型,注:云联网只支持标准型
  • NAT - NAT型
  • NAT类型支持网络地址转换配置,类型确定后不能修改;一个私有网络可以创建一个NAT类型的专线网关和一个非NAT类型的专线网关 */ public void setGatewayType(String GatewayType) { this.GatewayType = GatewayType; } /** * Get 创建时间。 * @return CreateTime 创建时间。 */ public String getCreateTime() { return this.CreateTime; } /** * Set 创建时间。 * @param CreateTime 创建时间。 */ public void setCreateTime(String CreateTime) { this.CreateTime = CreateTime; } /** * Get 专线网关IP。 * @return DirectConnectGatewayIp 专线网关IP。 */ public String getDirectConnectGatewayIp() { return this.DirectConnectGatewayIp; } /** * Set 专线网关IP。 * @param DirectConnectGatewayIp 专线网关IP。 */ public void setDirectConnectGatewayIp(String DirectConnectGatewayIp) { this.DirectConnectGatewayIp = DirectConnectGatewayIp; } /** * Get 专线网关关联`CCN`实例`ID`。 * @return CcnId 专线网关关联`CCN`实例`ID`。 */ public String getCcnId() { return this.CcnId; } /** * Set 专线网关关联`CCN`实例`ID`。 * @param CcnId 专线网关关联`CCN`实例`ID`。 */ public void setCcnId(String CcnId) { this.CcnId = CcnId; } /** * Get 云联网路由学习类型:
  • `BGP` - 自动学习。
  • `STATIC` - 静态,即用户配置。
  • * @return CcnRouteType 云联网路由学习类型:
  • `BGP` - 自动学习。
  • `STATIC` - 静态,即用户配置。
  • */ public String getCcnRouteType() { return this.CcnRouteType; } /** * Set 云联网路由学习类型:
  • `BGP` - 自动学习。
  • `STATIC` - 静态,即用户配置。
  • * @param CcnRouteType 云联网路由学习类型:
  • `BGP` - 自动学习。
  • `STATIC` - 静态,即用户配置。
  • */ public void setCcnRouteType(String CcnRouteType) { this.CcnRouteType = CcnRouteType; } /** * Get 是否启用BGP。 * @return EnableBGP 是否启用BGP。 */ public Boolean getEnableBGP() { return this.EnableBGP; } /** * Set 是否启用BGP。 * @param EnableBGP 是否启用BGP。 */ public void setEnableBGP(Boolean EnableBGP) { this.EnableBGP = EnableBGP; } /** * 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网关ID。 注意:此字段可能返回 null,表示取不到有效值。 * @return NatGatewayId 绑定的NAT网关ID。 注意:此字段可能返回 null,表示取不到有效值。 */ public String getNatGatewayId() { return this.NatGatewayId; } /** * Set 绑定的NAT网关ID。 注意:此字段可能返回 null,表示取不到有效值。 * @param NatGatewayId 绑定的NAT网关ID。 注意:此字段可能返回 null,表示取不到有效值。 */ public void setNatGatewayId(String NatGatewayId) { this.NatGatewayId = NatGatewayId; } /** * Get 专线网关是否支持VXLAN架构 注意:此字段可能返回 null,表示取不到有效值。 * @return VXLANSupport 专线网关是否支持VXLAN架构 注意:此字段可能返回 null,表示取不到有效值。 */ public Boolean [] getVXLANSupport() { return this.VXLANSupport; } /** * Set 专线网关是否支持VXLAN架构 注意:此字段可能返回 null,表示取不到有效值。 * @param VXLANSupport 专线网关是否支持VXLAN架构 注意:此字段可能返回 null,表示取不到有效值。 */ public void setVXLANSupport(Boolean [] VXLANSupport) { this.VXLANSupport = VXLANSupport; } /** * Get 云联网路由发布模式:`standard`(标准模式)、`exquisite`(精细模式)。 注意:此字段可能返回 null,表示取不到有效值。 * @return ModeType 云联网路由发布模式:`standard`(标准模式)、`exquisite`(精细模式)。 注意:此字段可能返回 null,表示取不到有效值。 */ public String getModeType() { return this.ModeType; } /** * Set 云联网路由发布模式:`standard`(标准模式)、`exquisite`(精细模式)。 注意:此字段可能返回 null,表示取不到有效值。 * @param ModeType 云联网路由发布模式:`standard`(标准模式)、`exquisite`(精细模式)。 注意:此字段可能返回 null,表示取不到有效值。 */ public void setModeType(String ModeType) { this.ModeType = ModeType; } /** * Get 是否为localZone专线网关。 注意:此字段可能返回 null,表示取不到有效值。 * @return LocalZone 是否为localZone专线网关。 注意:此字段可能返回 null,表示取不到有效值。 */ public Boolean getLocalZone() { return this.LocalZone; } /** * Set 是否为localZone专线网关。 注意:此字段可能返回 null,表示取不到有效值。 * @param LocalZone 是否为localZone专线网关。 注意:此字段可能返回 null,表示取不到有效值。 */ public void setLocalZone(Boolean LocalZone) { this.LocalZone = LocalZone; } /** * Get 专线网关所在可用区 注意:此字段可能返回 null,表示取不到有效值。 * @return Zone 专线网关所在可用区 注意:此字段可能返回 null,表示取不到有效值。 */ public String getZone() { return this.Zone; } /** * Set 专线网关所在可用区 注意:此字段可能返回 null,表示取不到有效值。 * @param Zone 专线网关所在可用区 注意:此字段可能返回 null,表示取不到有效值。 */ public void setZone(String Zone) { this.Zone = Zone; } /** * Get 网关流控明细启用状态: 0:关闭 1:开启 注意:此字段可能返回 null,表示取不到有效值。 * @return EnableFlowDetails 网关流控明细启用状态: 0:关闭 1:开启 注意:此字段可能返回 null,表示取不到有效值。 */ public Long getEnableFlowDetails() { return this.EnableFlowDetails; } /** * Set 网关流控明细启用状态: 0:关闭 1:开启 注意:此字段可能返回 null,表示取不到有效值。 * @param EnableFlowDetails 网关流控明细启用状态: 0:关闭 1:开启 注意:此字段可能返回 null,表示取不到有效值。 */ public void setEnableFlowDetails(Long EnableFlowDetails) { this.EnableFlowDetails = EnableFlowDetails; } /** * Get 开启、关闭网关流控明细时间 注意:此字段可能返回 null,表示取不到有效值。 * @return FlowDetailsUpdateTime 开启、关闭网关流控明细时间 注意:此字段可能返回 null,表示取不到有效值。 */ public String getFlowDetailsUpdateTime() { return this.FlowDetailsUpdateTime; } /** * Set 开启、关闭网关流控明细时间 注意:此字段可能返回 null,表示取不到有效值。 * @param FlowDetailsUpdateTime 开启、关闭网关流控明细时间 注意:此字段可能返回 null,表示取不到有效值。 */ public void setFlowDetailsUpdateTime(String FlowDetailsUpdateTime) { this.FlowDetailsUpdateTime = FlowDetailsUpdateTime; } /** * Get 是否支持开启网关流控明细 0:不支持 1:支持 注意:此字段可能返回 null,表示取不到有效值。 * @return NewAfc 是否支持开启网关流控明细 0:不支持 1:支持 注意:此字段可能返回 null,表示取不到有效值。 */ public Long getNewAfc() { return this.NewAfc; } /** * Set 是否支持开启网关流控明细 0:不支持 1:支持 注意:此字段可能返回 null,表示取不到有效值。 * @param NewAfc 是否支持开启网关流控明细 0:不支持 1:支持 注意:此字段可能返回 null,表示取不到有效值。 */ public void setNewAfc(Long NewAfc) { this.NewAfc = NewAfc; } /** * Get 专线网关接入网络类型:
  • `VXLAN` - VXLAN类型。
  • `MPLS` - MPLS类型。
  • `Hybrid` - Hybrid类型。
  • 注意:此字段可能返回 null,表示取不到有效值。 * @return AccessNetworkType 专线网关接入网络类型:
  • `VXLAN` - VXLAN类型。
  • `MPLS` - MPLS类型。
  • `Hybrid` - Hybrid类型。
  • 注意:此字段可能返回 null,表示取不到有效值。 */ public String getAccessNetworkType() { return this.AccessNetworkType; } /** * Set 专线网关接入网络类型:
  • `VXLAN` - VXLAN类型。
  • `MPLS` - MPLS类型。
  • `Hybrid` - Hybrid类型。
  • 注意:此字段可能返回 null,表示取不到有效值。 * @param AccessNetworkType 专线网关接入网络类型:
  • `VXLAN` - VXLAN类型。
  • `MPLS` - MPLS类型。
  • `Hybrid` - Hybrid类型。
  • 注意:此字段可能返回 null,表示取不到有效值。 */ public void setAccessNetworkType(String AccessNetworkType) { this.AccessNetworkType = AccessNetworkType; } /** * Get 跨可用区容灾专线网关的可用区列表 注意:此字段可能返回 null,表示取不到有效值。 * @return HaZoneList 跨可用区容灾专线网关的可用区列表 注意:此字段可能返回 null,表示取不到有效值。 */ public String [] getHaZoneList() { return this.HaZoneList; } /** * Set 跨可用区容灾专线网关的可用区列表 注意:此字段可能返回 null,表示取不到有效值。 * @param HaZoneList 跨可用区容灾专线网关的可用区列表 注意:此字段可能返回 null,表示取不到有效值。 */ public void setHaZoneList(String [] HaZoneList) { this.HaZoneList = HaZoneList; } public DirectConnectGateway() { } /** * 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 DirectConnectGateway(DirectConnectGateway source) { if (source.DirectConnectGatewayId != null) { this.DirectConnectGatewayId = new String(source.DirectConnectGatewayId); } if (source.DirectConnectGatewayName != null) { this.DirectConnectGatewayName = new String(source.DirectConnectGatewayName); } if (source.VpcId != null) { this.VpcId = new String(source.VpcId); } if (source.NetworkType != null) { this.NetworkType = new String(source.NetworkType); } if (source.NetworkInstanceId != null) { this.NetworkInstanceId = new String(source.NetworkInstanceId); } if (source.GatewayType != null) { this.GatewayType = new String(source.GatewayType); } if (source.CreateTime != null) { this.CreateTime = new String(source.CreateTime); } if (source.DirectConnectGatewayIp != null) { this.DirectConnectGatewayIp = new String(source.DirectConnectGatewayIp); } if (source.CcnId != null) { this.CcnId = new String(source.CcnId); } if (source.CcnRouteType != null) { this.CcnRouteType = new String(source.CcnRouteType); } if (source.EnableBGP != null) { this.EnableBGP = new Boolean(source.EnableBGP); } if (source.EnableBGPCommunity != null) { this.EnableBGPCommunity = new Boolean(source.EnableBGPCommunity); } if (source.NatGatewayId != null) { this.NatGatewayId = new String(source.NatGatewayId); } if (source.VXLANSupport != null) { this.VXLANSupport = new Boolean[source.VXLANSupport.length]; for (int i = 0; i < source.VXLANSupport.length; i++) { this.VXLANSupport[i] = new Boolean(source.VXLANSupport[i]); } } if (source.ModeType != null) { this.ModeType = new String(source.ModeType); } if (source.LocalZone != null) { this.LocalZone = new Boolean(source.LocalZone); } if (source.Zone != null) { this.Zone = new String(source.Zone); } if (source.EnableFlowDetails != null) { this.EnableFlowDetails = new Long(source.EnableFlowDetails); } if (source.FlowDetailsUpdateTime != null) { this.FlowDetailsUpdateTime = new String(source.FlowDetailsUpdateTime); } if (source.NewAfc != null) { this.NewAfc = new Long(source.NewAfc); } if (source.AccessNetworkType != null) { this.AccessNetworkType = new String(source.AccessNetworkType); } if (source.HaZoneList != null) { this.HaZoneList = new String[source.HaZoneList.length]; for (int i = 0; i < source.HaZoneList.length; i++) { this.HaZoneList[i] = new String(source.HaZoneList[i]); } } } /** * Internal implementation, normal users should not use it. */ public void toMap(HashMap map, String prefix) { this.setParamSimple(map, prefix + "DirectConnectGatewayId", this.DirectConnectGatewayId); this.setParamSimple(map, prefix + "DirectConnectGatewayName", this.DirectConnectGatewayName); this.setParamSimple(map, prefix + "VpcId", this.VpcId); this.setParamSimple(map, prefix + "NetworkType", this.NetworkType); this.setParamSimple(map, prefix + "NetworkInstanceId", this.NetworkInstanceId); this.setParamSimple(map, prefix + "GatewayType", this.GatewayType); this.setParamSimple(map, prefix + "CreateTime", this.CreateTime); this.setParamSimple(map, prefix + "DirectConnectGatewayIp", this.DirectConnectGatewayIp); this.setParamSimple(map, prefix + "CcnId", this.CcnId); this.setParamSimple(map, prefix + "CcnRouteType", this.CcnRouteType); this.setParamSimple(map, prefix + "EnableBGP", this.EnableBGP); this.setParamSimple(map, prefix + "EnableBGPCommunity", this.EnableBGPCommunity); this.setParamSimple(map, prefix + "NatGatewayId", this.NatGatewayId); this.setParamArraySimple(map, prefix + "VXLANSupport.", this.VXLANSupport); this.setParamSimple(map, prefix + "ModeType", this.ModeType); this.setParamSimple(map, prefix + "LocalZone", this.LocalZone); this.setParamSimple(map, prefix + "Zone", this.Zone); this.setParamSimple(map, prefix + "EnableFlowDetails", this.EnableFlowDetails); this.setParamSimple(map, prefix + "FlowDetailsUpdateTime", this.FlowDetailsUpdateTime); this.setParamSimple(map, prefix + "NewAfc", this.NewAfc); this.setParamSimple(map, prefix + "AccessNetworkType", this.AccessNetworkType); this.setParamArraySimple(map, prefix + "HaZoneList.", this.HaZoneList); } }




    © 2015 - 2025 Weber Informatics LLC | Privacy Policy