public class DirectConnectGateway extends AbstractModel
| Constructor and Description | 
|---|
| DirectConnectGateway() | 
| Modifier and Type | Method and Description | 
|---|---|
| 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. | 
| String | getGatewayType()Get Gateway type:
NORMAL - Standard type. | 
| 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 | 
| String | getVpcId()Get The `ID` of the `VPC` instance associated with the Direct Connect gateway. | 
| 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 | setGatewayType(String GatewayType)Set Gateway type:
NORMAL - Standard type. | 
| 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 | setVpcId(String VpcId)Set The `ID` of the `VPC` instance associated with the Direct Connect gateway. | 
| 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 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.Copyright © 2020. All rights reserved.