Class Gateway
- java.lang.Object
- 
- com.ibm.cloud.sdk.core.service.model.GenericModel
- 
- com.ibm.cloud.networking.direct_link.v1.model.Gateway
 
 
- 
- All Implemented Interfaces:
- com.ibm.cloud.sdk.core.service.model.ObjectModel
 
 public class Gateway extends com.ibm.cloud.sdk.core.service.model.GenericModelgateway.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static interfaceGateway.BgpStatusGateway BGP status.static interfaceGateway.ConnectionModeType of services this Gateway is attached to.static interfaceGateway.DefaultExportRouteFilterThe default directional route filter action that applies to routes that do not match any directional route filters.static interfaceGateway.DefaultImportRouteFilterThe default directional route filter action that applies to routes that do not match any directional route filters.static interfaceGateway.LinkStatusGateway link status.static interfaceGateway.OperationalStatusGateway operational status.static interfaceGateway.TypeOffering type.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AsPrepend>getAsPrepends()Gets the asPrepends.GatewayAuthenticationKeygetAuthenticationKey()Gets the authenticationKey.GatewayBfdConfiggetBfdConfig()Gets the bfdConfig.LonggetBgpAsn()Gets the bgpAsn.StringgetBgpBaseCidr()Gets the bgpBaseCidr.StringgetBgpCerCidr()Gets the bgpCerCidr.LonggetBgpIbmAsn()Gets the bgpIbmAsn.StringgetBgpIbmCidr()Gets the bgpIbmCidr.StringgetBgpStatus()Gets the bgpStatus.DategetBgpStatusUpdatedAt()Gets the bgpStatusUpdatedAt.StringgetCarrierName()Gets the carrierName.GatewayChangeRequestgetChangeRequest()Gets the changeRequest.StringgetCompletionNoticeRejectReason()Gets the completionNoticeRejectReason.StringgetConnectionMode()Gets the connectionMode.DategetCreatedAt()Gets the createdAt.StringgetCrn()Gets the crn.StringgetCrossConnectRouter()Gets the crossConnectRouter.StringgetCustomerName()Gets the customerName.StringgetDefaultExportRouteFilter()Gets the defaultExportRouteFilter.StringgetDefaultImportRouteFilter()Gets the defaultImportRouteFilter.StringgetId()Gets the id.StringgetLinkStatus()Gets the linkStatus.DategetLinkStatusUpdatedAt()Gets the linkStatusUpdatedAt.StringgetLocationDisplayName()Gets the locationDisplayName.StringgetLocationName()Gets the locationName.GatewayMacsecConfiggetMacsecConfig()Gets the macsecConfig.StringgetName()Gets the name.StringgetOperationalStatus()Gets the operationalStatus.StringgetPatchPanelCompletionNotice()Gets the patchPanelCompletionNotice.GatewayPortgetPort()Gets the port.ResourceGroupReferencegetResourceGroup()Gets the resourceGroup.LonggetSpeedMbps()Gets the speedMbps.StringgetType()Gets the type.LonggetVlan()Gets the vlan.BooleanisCrossAccount()Gets the crossAccount.BooleanisGlobal()Gets the global.BooleanisMetered()Gets the metered.BooleanisProviderApiManaged()Gets the providerApiManaged.
 
- 
- 
- 
Method Detail- 
getAsPrependspublic List<AsPrepend> getAsPrepends() Gets the asPrepends. array of AS Prepend information.- Returns:
- the asPrepends
 
 - 
getAuthenticationKeypublic GatewayAuthenticationKey getAuthenticationKey() Gets the authenticationKey. The identity of the standard key to use for BGP MD5 authentication key. The key material that you provide must be base64 encoded and original string must be maximum 126 ASCII characters in length. To clear the optional `authentication_key` field patch its crn to `""`.- Returns:
- the authenticationKey
 
 - 
getBfdConfigpublic GatewayBfdConfig getBfdConfig() Gets the bfdConfig. BFD configuration information.- Returns:
- the bfdConfig
 
 - 
getBgpAsnpublic Long getBgpAsn() Gets the bgpAsn. Customer BGP ASN.- Returns:
- the bgpAsn
 
 - 
getBgpBaseCidrpublic String getBgpBaseCidr() Gets the bgpBaseCidr. (DEPRECATED) BGP base CIDR is deprecated and no longer recognized by the Direct Link APIs. See bgp_cer_cidr and bgp_ibm_cidr fields instead for IP related information. Deprecated field bgp_base_cidr will be removed from the API specificiation after 15-MAR-2021.- Returns:
- the bgpBaseCidr
 
 - 
getBgpCerCidrpublic String getBgpCerCidr() Gets the bgpCerCidr. BGP customer edge router CIDR.- Returns:
- the bgpCerCidr
 
 - 
getBgpIbmAsnpublic Long getBgpIbmAsn() Gets the bgpIbmAsn. IBM BGP ASN.- Returns:
- the bgpIbmAsn
 
 - 
getBgpIbmCidrpublic String getBgpIbmCidr() Gets the bgpIbmCidr. BGP IBM CIDR.- Returns:
- the bgpIbmCidr
 
 - 
getBgpStatuspublic String getBgpStatus() Gets the bgpStatus. Gateway BGP status. The list of enumerated values for this property may expand in the future. Code and processes using this field must tolerate unexpected values.- Returns:
- the bgpStatus
 
 - 
getBgpStatusUpdatedAtpublic Date getBgpStatusUpdatedAt() Gets the bgpStatusUpdatedAt. Date and time bgp status was updated.- Returns:
- the bgpStatusUpdatedAt
 
 - 
getCarrierNamepublic String getCarrierName() Gets the carrierName. Carrier name. Only set for type=dedicated gateways.- Returns:
- the carrierName
 
 - 
getChangeRequestpublic GatewayChangeRequest getChangeRequest() Gets the changeRequest. Changes pending approval for provider managed Direct Link Connect gateways.- Returns:
- the changeRequest
 
 - 
getCompletionNoticeRejectReasonpublic String getCompletionNoticeRejectReason() Gets the completionNoticeRejectReason. Reason for completion notice rejection. Only included on type=dedicated gateways with a rejected completion notice.- Returns:
- the completionNoticeRejectReason
 
 - 
getConnectionModepublic String getConnectionMode() Gets the connectionMode. Type of services this Gateway is attached to. Mode transit means this Gateway will be attached to Transit Gateway Service and direct means this Gateway will be attached to vpc or classic connection. The list of enumerated values for this property may expand in the future. Code and processes using this field must tolerate unexpected values.- Returns:
- the connectionMode
 
 - 
getCreatedAtpublic Date getCreatedAt() Gets the createdAt. The date and time resource was created.- Returns:
- the createdAt
 
 - 
getCrnpublic String getCrn() Gets the crn. The CRN (Cloud Resource Name) of this gateway.- Returns:
- the crn
 
 - 
isCrossAccountpublic Boolean isCrossAccount() Gets the crossAccount. Indicates whether this gateway is cross account gateway.- Returns:
- the crossAccount
 
 - 
getCrossConnectRouterpublic String getCrossConnectRouter() Gets the crossConnectRouter. Cross connect router. Only included on type=dedicated gateways.- Returns:
- the crossConnectRouter
 
 - 
getCustomerNamepublic String getCustomerName() Gets the customerName. Customer name. Only set for type=dedicated gateways.- Returns:
- the customerName
 
 - 
getDefaultExportRouteFilterpublic String getDefaultExportRouteFilter() Gets the defaultExportRouteFilter. The default directional route filter action that applies to routes that do not match any directional route filters.- Returns:
- the defaultExportRouteFilter
 
 - 
getDefaultImportRouteFilterpublic String getDefaultImportRouteFilter() Gets the defaultImportRouteFilter. The default directional route filter action that applies to routes that do not match any directional route filters.- Returns:
- the defaultImportRouteFilter
 
 - 
isGlobalpublic Boolean isGlobal() Gets the global. Gateways with global routing (`true`) can connect to networks outside their associated region.- Returns:
- the global
 
 - 
getIdpublic String getId() Gets the id. The unique identifier of this gateway.- Returns:
- the id
 
 - 
getLinkStatuspublic String getLinkStatus() Gets the linkStatus. Gateway link status. Only included on type=dedicated gateways. The list of enumerated values for this property may expand in the future. Code and processes using this field must tolerate unexpected values.- Returns:
- the linkStatus
 
 - 
getLinkStatusUpdatedAtpublic Date getLinkStatusUpdatedAt() Gets the linkStatusUpdatedAt. Date and time link status was updated.- Returns:
- the linkStatusUpdatedAt
 
 - 
getLocationDisplayNamepublic String getLocationDisplayName() Gets the locationDisplayName. Gateway location long name.- Returns:
- the locationDisplayName
 
 - 
getLocationNamepublic String getLocationName() Gets the locationName. Gateway location.- Returns:
- the locationName
 
 - 
getMacsecConfigpublic GatewayMacsecConfig getMacsecConfig() Gets the macsecConfig. MACsec configuration information. For Dedicated Gateways with MACsec configured, return configuration information. Contact IBM support for access to MACsec.- Returns:
- the macsecConfig
 
 - 
isMeteredpublic Boolean isMetered() Gets the metered. Metered billing option. When `true` gateway usage is billed per gigabyte. When `false` there is no per gigabyte usage charge, instead a flat rate is charged for the gateway.- Returns:
- the metered
 
 - 
getNamepublic String getName() Gets the name. The unique user-defined name for this gateway.- Returns:
- the name
 
 - 
getOperationalStatuspublic String getOperationalStatus() Gets the operationalStatus. Gateway operational status. The list of enumerated values for this property may expand in the future. Code and processes using this field must tolerate unexpected values.- Returns:
- the operationalStatus
 
 - 
getPortpublic GatewayPort getPort() Gets the port. gateway port for type=connect gateways.- Returns:
- the port
 
 - 
isProviderApiManagedpublic Boolean isProviderApiManaged() Gets the providerApiManaged. Indicates whether gateway changes must be made via a provider portal.- Returns:
- the providerApiManaged
 
 - 
getResourceGrouppublic ResourceGroupReference getResourceGroup() Gets the resourceGroup. Resource group reference.- Returns:
- the resourceGroup
 
 - 
getSpeedMbpspublic Long getSpeedMbps() Gets the speedMbps. Gateway speed in megabits per second.- Returns:
- the speedMbps
 
 - 
getPatchPanelCompletionNoticepublic String getPatchPanelCompletionNotice() Gets the patchPanelCompletionNotice. Gateway patch panel complete notification from implementation team.- Returns:
- the patchPanelCompletionNotice
 
 - 
getTypepublic String getType() Gets the type. Offering type. The list of enumerated values for this property may expand in the future. Code and processes using this field must tolerate unexpected values.- Returns:
- the type
 
 - 
getVlanpublic Long getVlan() Gets the vlan. VLAN configured for this gateway. If there is no vlan configured for the gateway, the vlan will be absent. This property will also be absent if this gateway's `crn` is in another account.- Returns:
- the vlan
 
 
- 
 
-