Class RoutePatch.Builder

  • Enclosing class:
    RoutePatch

    public static class RoutePatch.Builder
    extends Object
    Builder.
    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
    • Method Detail

      • build

        public RoutePatch build()
        Builds a RoutePatch.
        Returns:
        the new RoutePatch instance
      • advertise

        public RoutePatch.Builder advertise​(Boolean advertise)
        Set the advertise.
        Parameters:
        advertise - the advertise
        Returns:
        the RoutePatch builder
      • name

        public RoutePatch.Builder name​(String name)
        Set the name.
        Parameters:
        name - the name
        Returns:
        the RoutePatch builder
      • priority

        public RoutePatch.Builder priority​(long priority)
        Set the priority.
        Parameters:
        priority - the priority
        Returns:
        the RoutePatch builder