Class RouteMapEntry.Builder

  • Enclosing class:
    RouteMapEntry

    public static final class RouteMapEntry.Builder
    extends java.lang.Object
    Builder class for RouteMapEntry.
    • Constructor Detail

      • Builder

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

      • setCommunityListMatches

        public RouteMapEntry.Builder setCommunityListMatches​(java.util.List<CommunityMatchCriteria> communityListMatches)
        Community list match criteria for route map. Properties community_list_matches and prefix_list_matches are mutually exclusive and cannot be used in the same route map entry.
        Parameters:
        communityListMatches - New value for the property.
      • setPrefixListMatches

        public RouteMapEntry.Builder setPrefixListMatches​(java.util.List<java.lang.String> prefixListMatches)
        Prefix list match criteria for route map. Properties community_list_matches and prefix_list_matches are mutually exclusive and cannot be used in the same route map entry.
        Parameters:
        prefixListMatches - New value for the property.