public static final class RouteMapEntrySet.Builder
extends java.lang.Object
RouteMapEntrySet
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
RouteMapEntrySet . |
Modifier and Type | Method and Description |
---|---|
RouteMapEntrySet |
build() |
RouteMapEntrySet.Builder |
setAsPathPrepend(java.lang.String asPathPrepend)
AS path prepend to influence route selection.
|
RouteMapEntrySet.Builder |
setCommunity(java.lang.String community)
Set BGP regular or large community for matching routes.
|
RouteMapEntrySet.Builder |
setLocalPreference(java.lang.Long localPreference)
Local preference indicates the degree of preference for one BGP route over other
BGP routes.
|
RouteMapEntrySet.Builder |
setMed(java.lang.Long med)
Multi exit descriminator (MED) is a hint to BGP neighbors about the preferred
path into an autonomous system (AS) that has multiple entry points.
|
RouteMapEntrySet.Builder |
setPreferGlobalV6NextHop(java.lang.Boolean preferGlobalV6NextHop)
For incoming and import route_maps on receiving both v6 global and v6 link-local
address for the route, prefer to use the global address as the next hop.
|
RouteMapEntrySet.Builder |
setWeight(java.lang.Long weight)
Weight is used to select a route when multiple routes are available to the same
network.
|
public Builder()
RouteMapEntrySet
.public RouteMapEntrySet.Builder setAsPathPrepend(java.lang.String asPathPrepend)
asPathPrepend
- New value for the property.public RouteMapEntrySet.Builder setCommunity(java.lang.String community)
community
- New value for the property.public RouteMapEntrySet.Builder setLocalPreference(java.lang.Long localPreference)
localPreference
- New value for the property.public RouteMapEntrySet.Builder setMed(java.lang.Long med)
med
- New value for the property.public RouteMapEntrySet.Builder setPreferGlobalV6NextHop(java.lang.Boolean preferGlobalV6NextHop)
preferGlobalV6NextHop
- New value for the property.public RouteMapEntrySet.Builder setWeight(java.lang.Long weight)
weight
- New value for the property.public RouteMapEntrySet build()