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 The creation time.
|
String |
getDirectConnectGatewayId()
Get The direct connect gateway ID.
|
String |
getDirectConnectGatewayIp()
Get The direct connect gateway IP.
|
String |
getDirectConnectGatewayName()
Get The direct connect gateway name.
|
Boolean |
getEnableBGP()
Get Whether the BGP is enabled.
|
Boolean |
getEnableBGPCommunity()
Get Whether the `community` attribute of the BGP is enabled.
|
String |
getGatewayType()
Get The gateway type:
NORMAL - Standard type.
|
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 The creation time.
|
void |
setDirectConnectGatewayId(String DirectConnectGatewayId)
Set The direct connect gateway ID.
|
void |
setDirectConnectGatewayIp(String DirectConnectGatewayIp)
Set The direct connect gateway IP.
|
void |
setDirectConnectGatewayName(String DirectConnectGatewayName)
Set The direct connect gateway name.
|
void |
setEnableBGP(Boolean EnableBGP)
Set Whether the BGP is enabled.
|
void |
setEnableBGPCommunity(Boolean EnableBGPCommunity)
Set Whether the `community` attribute of the BGP is enabled.
|
void |
setGatewayType(String GatewayType)
Set The gateway type:
NORMAL - Standard type.
|
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, toJsonString
public String getDirectConnectGatewayId()
public void setDirectConnectGatewayId(String DirectConnectGatewayId)
DirectConnectGatewayId
- The direct connect gateway ID.public String getDirectConnectGatewayName()
public void setDirectConnectGatewayName(String DirectConnectGatewayName)
DirectConnectGatewayName
- The 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
- The gateway type:
public String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime
- The creation time.public String getDirectConnectGatewayIp()
public void setDirectConnectGatewayIp(String DirectConnectGatewayIp)
DirectConnectGatewayIp
- The 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 the BGP is enabled.public Boolean getEnableBGPCommunity()
public void setEnableBGPCommunity(Boolean EnableBGPCommunity)
EnableBGPCommunity
- Whether the `community` attribute of the BGP is enabled.Copyright © 2020. All rights reserved.