public static final class RouteMapSequenceSet.Builder
extends java.lang.Object
RouteMapSequenceSet
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
RouteMapSequenceSet . |
Modifier and Type | Method and Description |
---|---|
RouteMapSequenceSet |
build() |
RouteMapSequenceSet.Builder |
setAsPathPrepend(java.lang.String asPathPrepend)
As Path Prepending to influence path selection
|
RouteMapSequenceSet.Builder |
setCommunity(java.lang.String community)
Set normal BGP community either well-known community name or community value in
aa:nn(2byte:2byte) format.
|
RouteMapSequenceSet.Builder |
setLargeCommunity(java.lang.String largeCommunity)
Set large BGP community, community value shoud be in aa:bb:nn format where aa,
bb, nn are unsigned integers with range [1-4294967295].
|
RouteMapSequenceSet.Builder |
setLocalPreference(java.lang.Long localPreference)
Local preference indicates the degree of preference for one BGP route over other
BGP routes.
|
RouteMapSequenceSet.Builder |
setMultiExitDiscriminator(java.lang.Long multiExitDiscriminator)
Multi Exit Discriminator (MED) format: int64
|
RouteMapSequenceSet.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.
|
RouteMapSequenceSet.Builder |
setWeight(java.lang.Long weight)
Weight used to select certain path format: int32
|
public Builder()
RouteMapSequenceSet
.public RouteMapSequenceSet.Builder setAsPathPrepend(java.lang.String asPathPrepend)
asPathPrepend
- New value for the property.public RouteMapSequenceSet.Builder setCommunity(java.lang.String community)
community
- New value for the property.public RouteMapSequenceSet.Builder setLargeCommunity(java.lang.String largeCommunity)
largeCommunity
- New value for the property.public RouteMapSequenceSet.Builder setLocalPreference(java.lang.Long localPreference)
localPreference
- New value for the property.public RouteMapSequenceSet.Builder setMultiExitDiscriminator(java.lang.Long multiExitDiscriminator)
multiExitDiscriminator
- New value for the property.public RouteMapSequenceSet.Builder setPreferGlobalV6NextHop(java.lang.Boolean preferGlobalV6NextHop)
preferGlobalV6NextHop
- New value for the property.public RouteMapSequenceSet.Builder setWeight(java.lang.Long weight)
weight
- New value for the property.public RouteMapSequenceSet build()