public class DirectConnectTunnel extends AbstractModel
Constructor and Description |
---|
DirectConnectTunnel() |
Modifier and Type | Method and Description |
---|---|
String |
getAccessPointType()
Get Dedicated tunnel access point type
Note: this field may return null, indicating that no valid values can be obtained.
|
Long |
getBandwidth()
Get Dedicated tunnel bandwidth value
|
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 Dedicated tunnel creation time
|
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.
|
String |
getState()
Get Dedicated tunnel status
AVAILABLE: ready or connected
PENDING: applying
ALLOCATING: configuring
ALLOCATED: configured
ALTERING: modifying
DELETING: deleting
DELETED: deleted
CONFIRMING: to be accepted
REJECTED: rejected
|
Tag[] |
getTagSet()
Get Dedicated tunnel tag value
|
String |
getTencentAddress()
Get TencentAddress: Tencent-side IP address.
|
String |
getTencentBackupAddress()
Get TencentBackupAddress, i.e., Tencent-side standby IP address
Note: this field may return null, indicating that no valid values can be obtained.
|
Long |
getVlan()
Get Dedicated tunnel `Vlan`
|
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 Dedicated tunnel access point type
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setBandwidth(Long Bandwidth)
Set Dedicated tunnel bandwidth value
|
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 Dedicated tunnel creation time
|
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 |
setState(String State)
Set Dedicated tunnel status
AVAILABLE: ready or connected
PENDING: applying
ALLOCATING: configuring
ALLOCATED: configured
ALTERING: modifying
DELETING: deleting
DELETED: deleted
CONFIRMING: to be accepted
REJECTED: rejected
|
void |
setTagSet(Tag[] TagSet)
Set Dedicated tunnel tag value
|
void |
setTencentAddress(String TencentAddress)
Set TencentAddress: Tencent-side IP address.
|
void |
setTencentBackupAddress(String TencentBackupAddress)
Set TencentBackupAddress, i.e., Tencent-side standby IP address
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setVlan(Long Vlan)
Set Dedicated tunnel `Vlan`
|
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, toJsonString
public String getDirectConnectTunnelId()
public void setDirectConnectTunnelId(String DirectConnectTunnelId)
DirectConnectTunnelId
- Dedicated tunnel IDpublic 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
CONFIRMING: to be accepted
REJECTED: rejectedpublic 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 IDpublic 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
- Dedicated tunnel `Vlan`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 namepublic String getCreatedTime()
public void setCreatedTime(String CreatedTime)
CreatedTime
- Dedicated tunnel creation timepublic Long getBandwidth()
public void setBandwidth(Long Bandwidth)
Bandwidth
- Dedicated tunnel bandwidth valuepublic Tag[] getTagSet()
public void setTagSet(Tag[] TagSet)
TagSet
- Dedicated tunnel tag valuepublic 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
- Dedicated tunnel access point type
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
- TencentBackupAddress, i.e., Tencent-side standby IP address
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2020. All rights reserved.