public class DirectConnectGateway extends AbstractModel
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 |
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.
|
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
|
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 |
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 |
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 |
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, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public 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.Copyright © 2021. All rights reserved.