public class DirectConnectTunnel extends AbstractModel
| Constructor and Description | 
|---|
| DirectConnectTunnel() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getAccessPointType()Get Access point type of a dedicated tunnel. | 
| Long | getBandwidth()Get Bandwidth value of a dedicated tunnel. | 
| Long | getBfdEnable()Get Whether to enable BFD
Note: this field may return null, indicating that no valid values can be obtained. | 
| BgpPeer | getBgpPeer()Get User-side BGP, including Asn and AuthKey. | 
| String | getCreatedTime()Get Creation time of a dedicated tunnel. | 
| String | getCustomerAddress()Get CustomerAddress: User-side IP address. | 
| String | getDirectConnectGatewayId()Get Direct connect gateway ID. | 
| String | getDirectConnectGatewayName()Get Direct connect gateway name. | 
| String | getDirectConnectId()Get Connection ID. | 
| String | getDirectConnectOwnerAccount()Get Connection owner, i.e., developer account ID. | 
| String | getDirectConnectTunnelId()Get Dedicated tunnel ID. | 
| String | getDirectConnectTunnelName()Get Dedicated tunnel name. | 
| Boolean | getEnableBGPCommunity()Get BGP community switch
Note: this field may return null, indicating that no valid values can be obtained. | 
| Long | getNatType()Get Whether it is a NAT tunnel
Note: this field may return null, indicating that no valid values can be obtained. | 
| String | getNetDetectId()Get Associated custom network probe ID
Note: this field may return null, indicating that no valid values can be obtained. | 
| String | getNetworkRegion()Get Network of the VPC region, such as `ap-guangzhou`. | 
| String | getNetworkType()Get Network type. | 
| String | getOwnerAccount()Get Dedicated tunnel owner, i.e., developer account ID. | 
| RouteFilterPrefix[] | getRouteFilterPrefixes()Get User-side IP range. | 
| String | getRouteType()Get BGP: BGP routing; STATIC: Static routing. | 
| Boolean | getSignLaw()Get Whether the connection associated with the dedicated tunnel has the service agreement signed. | 
| String | getState()Get Dedicated tunnel status. | 
| Tag[] | getTagSet()Get Tag value of a dedicated tunnel. | 
| String | getTencentAddress()Get TencentAddress: Tencent-side IP address. | 
| String | getTencentBackupAddress()Get Backup IP address on the Tencent side. | 
| Long | getVlan()Get VLAN of a dedicated tunnel. | 
| String | getVpcId()Get Unified VPC ID or BMVPC ID. | 
| String | getVpcName()Get VPC name. | 
| String | getVpcRegion()Get VPC region abbreviation, such as `gz`, `cd`. | 
| void | setAccessPointType(String AccessPointType)Set Access point type of a dedicated tunnel. | 
| void | setBandwidth(Long Bandwidth)Set Bandwidth value of a dedicated tunnel. | 
| void | setBfdEnable(Long BfdEnable)Set Whether to enable BFD
Note: this field may return null, indicating that no valid values can be obtained. | 
| void | setBgpPeer(BgpPeer BgpPeer)Set User-side BGP, including Asn and AuthKey. | 
| void | setCreatedTime(String CreatedTime)Set Creation time of a dedicated tunnel. | 
| void | setCustomerAddress(String CustomerAddress)Set CustomerAddress: User-side IP address. | 
| void | setDirectConnectGatewayId(String DirectConnectGatewayId)Set Direct connect gateway ID. | 
| void | setDirectConnectGatewayName(String DirectConnectGatewayName)Set Direct connect gateway name. | 
| void | setDirectConnectId(String DirectConnectId)Set Connection ID. | 
| void | setDirectConnectOwnerAccount(String DirectConnectOwnerAccount)Set Connection owner, i.e., developer account ID. | 
| void | setDirectConnectTunnelId(String DirectConnectTunnelId)Set Dedicated tunnel ID. | 
| void | setDirectConnectTunnelName(String DirectConnectTunnelName)Set Dedicated tunnel name. | 
| void | setEnableBGPCommunity(Boolean EnableBGPCommunity)Set BGP community switch
Note: this field may return null, indicating that no valid values can be obtained. | 
| void | setNatType(Long NatType)Set Whether it is a NAT tunnel
Note: this field may return null, indicating that no valid values can be obtained. | 
| void | setNetDetectId(String NetDetectId)Set Associated custom network probe ID
Note: this field may return null, indicating that no valid values can be obtained. | 
| void | setNetworkRegion(String NetworkRegion)Set Network of the VPC region, such as `ap-guangzhou`. | 
| void | setNetworkType(String NetworkType)Set Network type. | 
| void | setOwnerAccount(String OwnerAccount)Set Dedicated tunnel owner, i.e., developer account ID. | 
| void | setRouteFilterPrefixes(RouteFilterPrefix[] RouteFilterPrefixes)Set User-side IP range. | 
| void | setRouteType(String RouteType)Set BGP: BGP routing; STATIC: Static routing. | 
| void | setSignLaw(Boolean SignLaw)Set Whether the connection associated with the dedicated tunnel has the service agreement signed. | 
| void | setState(String State)Set Dedicated tunnel status. | 
| void | setTagSet(Tag[] TagSet)Set Tag value of a dedicated tunnel. | 
| void | setTencentAddress(String TencentAddress)Set TencentAddress: Tencent-side IP address. | 
| void | setTencentBackupAddress(String TencentBackupAddress)Set Backup IP address on the Tencent side. | 
| void | setVlan(Long Vlan)Set VLAN of a dedicated tunnel. | 
| void | setVpcId(String VpcId)Set Unified VPC ID or BMVPC ID. | 
| void | setVpcName(String VpcName)Set VPC name. | 
| void | setVpcRegion(String VpcRegion)Set VPC region abbreviation, such as `gz`, `cd`. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic String getDirectConnectTunnelId()
public void setDirectConnectTunnelId(String DirectConnectTunnelId)
DirectConnectTunnelId - Dedicated tunnel ID.public String getDirectConnectId()
public void setDirectConnectId(String DirectConnectId)
DirectConnectId - Connection ID.public String getState()
public void setState(String State)
State - Dedicated tunnel status.
AVAILABLE: Ready or connected.
PENDING: Applying.
ALLOCATING: Configuring.
ALLOCATED: Configured.
ALTERING: Modifying.
DELETING: Deleting.
DELETED: Deleted.
COMFIRMING: To be accepted.
REJECTED: Rejected.public String getDirectConnectOwnerAccount()
public void setDirectConnectOwnerAccount(String DirectConnectOwnerAccount)
DirectConnectOwnerAccount - Connection owner, i.e., developer account ID.public String getOwnerAccount()
public void setOwnerAccount(String OwnerAccount)
OwnerAccount - Dedicated tunnel owner, i.e., developer account ID.public String getNetworkType()
public void setNetworkType(String NetworkType)
NetworkType - Network type. Valid values: VPC, BMVPC, CCN.
 VPC: Virtual Private Cloud; BMVPC: BM VPC; CCN: Cloud Connect Network.public String getNetworkRegion()
public void setNetworkRegion(String NetworkRegion)
NetworkRegion - Network of the VPC region, such as `ap-guangzhou`.public String getVpcId()
public void setVpcId(String VpcId)
VpcId - Unified VPC ID or BMVPC ID.public String getDirectConnectGatewayId()
public void setDirectConnectGatewayId(String DirectConnectGatewayId)
DirectConnectGatewayId - Direct connect gateway ID.public String getRouteType()
public void setRouteType(String RouteType)
RouteType - BGP: BGP routing; STATIC: Static routing. Default value: BGP routing.public BgpPeer getBgpPeer()
public void setBgpPeer(BgpPeer BgpPeer)
BgpPeer - User-side BGP, including Asn and AuthKey.public RouteFilterPrefix[] getRouteFilterPrefixes()
public void setRouteFilterPrefixes(RouteFilterPrefix[] RouteFilterPrefixes)
RouteFilterPrefixes - User-side IP range.public Long getVlan()
public void setVlan(Long Vlan)
Vlan - VLAN of a dedicated tunnel.public String getTencentAddress()
public void setTencentAddress(String TencentAddress)
TencentAddress - TencentAddress: Tencent-side IP address.public String getCustomerAddress()
public void setCustomerAddress(String CustomerAddress)
CustomerAddress - CustomerAddress: User-side IP address.public String getDirectConnectTunnelName()
public void setDirectConnectTunnelName(String DirectConnectTunnelName)
DirectConnectTunnelName - Dedicated tunnel name.public String getCreatedTime()
public void setCreatedTime(String CreatedTime)
CreatedTime - Creation time of a dedicated tunnel.public Long getBandwidth()
public void setBandwidth(Long Bandwidth)
Bandwidth - Bandwidth value of a dedicated tunnel.public Tag[] getTagSet()
public void setTagSet(Tag[] TagSet)
TagSet - Tag value of a dedicated tunnel.public String getNetDetectId()
public void setNetDetectId(String NetDetectId)
NetDetectId - Associated custom network probe ID
Note: this field may return null, indicating that no valid values can be obtained.public Boolean getEnableBGPCommunity()
public void setEnableBGPCommunity(Boolean EnableBGPCommunity)
EnableBGPCommunity - BGP community switch
Note: this field may return null, indicating that no valid values can be obtained.public Long getNatType()
public void setNatType(Long NatType)
NatType - Whether it is a NAT tunnel
Note: this field may return null, indicating that no valid values can be obtained.public String getVpcRegion()
public void setVpcRegion(String VpcRegion)
VpcRegion - VPC region abbreviation, such as `gz`, `cd`.
Note: this field may return null, indicating that no valid values can be obtained.public Long getBfdEnable()
public void setBfdEnable(Long BfdEnable)
BfdEnable - Whether to enable BFD
Note: this field may return null, indicating that no valid values can be obtained.public String getAccessPointType()
public void setAccessPointType(String AccessPointType)
AccessPointType - Access point type of a dedicated tunnel.
Note: this field may return null, indicating that no valid values can be obtained.public String getDirectConnectGatewayName()
public void setDirectConnectGatewayName(String DirectConnectGatewayName)
DirectConnectGatewayName - Direct connect gateway name.
Note: this field may return null, indicating that no valid values can be obtained.public String getVpcName()
public void setVpcName(String VpcName)
VpcName - VPC name.
Note: this field may return null, indicating that no valid values can be obtained.public String getTencentBackupAddress()
public void setTencentBackupAddress(String TencentBackupAddress)
TencentBackupAddress - Backup IP address on the Tencent side.public Boolean getSignLaw()
public void setSignLaw(Boolean SignLaw)
SignLaw - Whether the connection associated with the dedicated tunnel has the service agreement signed.
Note: this field may return `null`, indicating that no valid value is obtained.Copyright © 2020. All rights reserved.