public class DirectConnectGateway extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| DirectConnectGateway() | 
| DirectConnectGateway(DirectConnectGateway source)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. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getAccessNetworkType()Get Direct connect gateway access network types:
`VXLAN` - VXLAN type.
`MPLS` - MPLS type.
`Hybrid` - Hybrid type.
Note: this field may return `null`, indicating that no valid values can be found. | 
| String | getCcnId()Get The `ID` of the `CCN` instance associated with the Direct Connect gateway. | 
| String | getCcnRouteType()Get The route-learning type of the CCN:
`BGP` - Automatic learning.
`STATIC` - Static, that is, user-configured. | 
| String | getCreateTime()Get Creation Time. | 
| String | getDirectConnectGatewayId()Get Direct Connect `ID`. | 
| String | getDirectConnectGatewayIp()Get Direct Connect gateway IP. | 
| String | getDirectConnectGatewayName()Get Direct Connect gateway name. | 
| Boolean | getEnableBGP()Get Whether BGP is enabled. | 
| Boolean | getEnableBGPCommunity()Get Whether to enable BGP's `community` attribute. | 
| Long | getEnableFlowDetails()Get The status of gateway traffic monitoring
0: disable
1: enable
Note: this field may return `null`, indicating that no valid values can be obtained. | 
| String | getFlowDetailsUpdateTime()Get The last time when the gateway traffic monitoring is enabled/disabled
Note: this field may return `null`, indicating that no valid values can be obtained. | 
| String | getGatewayType()Get Gateway type:
NORMAL - Standard type. | 
| String[] | getHaZoneList()Get AZ list of direct connect gateway with cross-AZ placement groups
Note: this field may return `null`, indicating that no valid values can be found. | 
| Boolean | getLocalZone()Get Whether the direct connect gateway is for an edge zone. | 
| String | getModeType()Get CCN route publishing mode. | 
| String | getNatGatewayId()Get ID of the NAT gateway bound. | 
| String | getNetworkInstanceId()Get The `ID` of the associated network instance:
When the NetworkType is `VPC`, this value is the VPC instance `ID`
When the NetworkType is `CCN`, this value is the CCN instance `ID` | 
| String | getNetworkType()Get The associated network type:
`VPC` - VPC
`CCN` - CCN | 
| Long | getNewAfc()Get Whether gateway traffic monitoring is supported
0: No
1: Yes
Note: this field may return `null`, indicating that no valid values can be found. | 
| String | getVpcId()Get The `ID` of the `VPC` instance associated with the Direct Connect gateway. | 
| Boolean[] | getVXLANSupport()Get Whether the direct connect gateway supports the VXLAN architecture. | 
| String | getZone()Get Availability zone where the direct connect gateway resides. | 
| void | setAccessNetworkType(String AccessNetworkType)Set Direct connect gateway access network types:
`VXLAN` - VXLAN type.
`MPLS` - MPLS type.
`Hybrid` - Hybrid type.
Note: this field may return `null`, indicating that no valid values can be found. | 
| void | setCcnId(String CcnId)Set The `ID` of the `CCN` instance associated with the Direct Connect gateway. | 
| void | setCcnRouteType(String CcnRouteType)Set The route-learning type of the CCN:
`BGP` - Automatic learning.
`STATIC` - Static, that is, user-configured. | 
| void | setCreateTime(String CreateTime)Set Creation Time. | 
| void | setDirectConnectGatewayId(String DirectConnectGatewayId)Set Direct Connect `ID`. | 
| void | setDirectConnectGatewayIp(String DirectConnectGatewayIp)Set Direct Connect gateway IP. | 
| void | setDirectConnectGatewayName(String DirectConnectGatewayName)Set Direct Connect gateway name. | 
| void | setEnableBGP(Boolean EnableBGP)Set Whether BGP is enabled. | 
| void | setEnableBGPCommunity(Boolean EnableBGPCommunity)Set Whether to enable BGP's `community` attribute. | 
| void | setEnableFlowDetails(Long EnableFlowDetails)Set The status of gateway traffic monitoring
0: disable
1: enable
Note: this field may return `null`, indicating that no valid values can be obtained. | 
| void | setFlowDetailsUpdateTime(String FlowDetailsUpdateTime)Set The last time when the gateway traffic monitoring is enabled/disabled
Note: this field may return `null`, indicating that no valid values can be obtained. | 
| void | setGatewayType(String GatewayType)Set Gateway type:
NORMAL - Standard type. | 
| void | setHaZoneList(String[] HaZoneList)Set AZ list of direct connect gateway with cross-AZ placement groups
Note: this field may return `null`, indicating that no valid values can be found. | 
| void | setLocalZone(Boolean LocalZone)Set Whether the direct connect gateway is for an edge zone. | 
| void | setModeType(String ModeType)Set CCN route publishing mode. | 
| void | setNatGatewayId(String NatGatewayId)Set ID of the NAT gateway bound. | 
| void | setNetworkInstanceId(String NetworkInstanceId)Set The `ID` of the associated network instance:
When the NetworkType is `VPC`, this value is the VPC instance `ID`
When the NetworkType is `CCN`, this value is the CCN instance `ID` | 
| void | setNetworkType(String NetworkType)Set The associated network type:
`VPC` - VPC
`CCN` - CCN | 
| void | setNewAfc(Long NewAfc)Set Whether gateway traffic monitoring is supported
0: No
1: Yes
Note: this field may return `null`, indicating that no valid values can be found. | 
| void | setVpcId(String VpcId)Set The `ID` of the `VPC` instance associated with the Direct Connect gateway. | 
| void | setVXLANSupport(Boolean[] VXLANSupport)Set Whether the direct connect gateway supports the VXLAN architecture. | 
| void | setZone(String Zone)Set Availability zone where the direct connect gateway resides. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic DirectConnectGateway()
public DirectConnectGateway(DirectConnectGateway source)
public String getDirectConnectGatewayId()
public void setDirectConnectGatewayId(String DirectConnectGatewayId)
DirectConnectGatewayId - Direct Connect `ID`.public String getDirectConnectGatewayName()
public void setDirectConnectGatewayName(String DirectConnectGatewayName)
DirectConnectGatewayName - Direct Connect gateway name.public String getVpcId()
public void setVpcId(String VpcId)
VpcId - The `ID` of the `VPC` instance associated with the Direct Connect gateway.public String getNetworkType()
public void setNetworkType(String NetworkType)
NetworkType - The associated network type:
public String getNetworkInstanceId()
public void setNetworkInstanceId(String NetworkInstanceId)
NetworkInstanceId - The `ID` of the associated network instance:
public String getGatewayType()
public void setGatewayType(String GatewayType)
GatewayType - Gateway type:
public String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime - Creation Time.public String getDirectConnectGatewayIp()
public void setDirectConnectGatewayIp(String DirectConnectGatewayIp)
DirectConnectGatewayIp - Direct Connect gateway IP.public String getCcnId()
public void setCcnId(String CcnId)
CcnId - The `ID` of the `CCN` instance associated with the Direct Connect gateway.public String getCcnRouteType()
public void setCcnRouteType(String CcnRouteType)
CcnRouteType - The route-learning type of the CCN:
public Boolean getEnableBGP()
public void setEnableBGP(Boolean EnableBGP)
EnableBGP - Whether BGP is enabled.public Boolean getEnableBGPCommunity()
public void setEnableBGPCommunity(Boolean EnableBGPCommunity)
EnableBGPCommunity - Whether to enable BGP's `community` attribute. Valid values: enable, disablepublic String getNatGatewayId()
public void setNatGatewayId(String NatGatewayId)
NatGatewayId - ID of the NAT gateway bound.
Note: this field may return `null`, indicating that no valid value was found.public Boolean[] getVXLANSupport()
public void setVXLANSupport(Boolean[] VXLANSupport)
VXLANSupport - Whether the direct connect gateway supports the VXLAN architecture.
Note: this field may return `null`, indicating that no valid values can be obtained.public String getModeType()
public void setModeType(String ModeType)
ModeType - CCN route publishing mode. Valid values: `standard` and `exquisite`.
Note: this field may return `null`, indicating that no valid values can be obtained.public Boolean getLocalZone()
public void setLocalZone(Boolean LocalZone)
LocalZone - Whether the direct connect gateway is for an edge zone.
Note: this field may return `null`, indicating that no valid values can be obtained.public String getZone()
public void setZone(String Zone)
Zone - Availability zone where the direct connect gateway resides.
Note: this field may return `null`, indicating that no valid values can be obtained.public Long getEnableFlowDetails()
public void setEnableFlowDetails(Long EnableFlowDetails)
EnableFlowDetails - The status of gateway traffic monitoring
0: disable
1: enable
Note: this field may return `null`, indicating that no valid values can be obtained.public String getFlowDetailsUpdateTime()
public void setFlowDetailsUpdateTime(String FlowDetailsUpdateTime)
FlowDetailsUpdateTime - The last time when the gateway traffic monitoring is enabled/disabled
Note: this field may return `null`, indicating that no valid values can be obtained.public Long getNewAfc()
public void setNewAfc(Long NewAfc)
NewAfc - Whether gateway traffic monitoring is supported
0: No
1: Yes
Note: this field may return `null`, indicating that no valid values can be found.public String getAccessNetworkType()
public void setAccessNetworkType(String AccessNetworkType)
AccessNetworkType - Direct connect gateway access network types:
public String[] getHaZoneList()
public void setHaZoneList(String[] HaZoneList)
HaZoneList - AZ list of direct connect gateway with cross-AZ placement groups
Note: this field may return `null`, indicating that no valid values can be found.Copyright © 2023. All rights reserved.