Class RouteMapEntrySet.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of RouteMapEntrySet.
    • Method Detail

      • setAsPathPrepend

        public RouteMapEntrySet.Builder setAsPathPrepend​(java.lang.String asPathPrepend)
        AS path prepend to influence route selection.
        Parameters:
        asPathPrepend - New value for the property.
      • setCommunity

        public RouteMapEntrySet.Builder setCommunity​(java.lang.String community)
        Set BGP regular or large community for matching routes. A maximum of one value for each community type separated by space. Well-known community name, community value in aa:nn (2byte:2byte) format for regular community and community value in aa:bb:nn (4byte:4byte:4byte) format for large community are supported.
        Parameters:
        community - New value for the property.
      • setLocalPreference

        public RouteMapEntrySet.Builder setLocalPreference​(java.lang.Long localPreference)
        Local preference indicates the degree of preference for one BGP route over other BGP routes. The path with highest local preference is preferred. format: int64
        Parameters:
        localPreference - New value for the property.
      • setMed

        public 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. A lower MED value is preferred over a higher value. format: int32
        Parameters:
        med - New value for the property.
      • setPreferGlobalV6NextHop

        public 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. By default, it prefers the link-local next hop.
        Parameters:
        preferGlobalV6NextHop - New value for the property.
      • setWeight

        public RouteMapEntrySet.Builder setWeight​(java.lang.Long weight)
        Weight is used to select a route when multiple routes are available to the same network. Route with the highest weight is preferred. format: int32
        Parameters:
        weight - New value for the property.