Class RoutePatch.Builder

java.lang.Object
com.ibm.cloud.is.vpc.v1.model.RoutePatch.Builder
Enclosing class:
RoutePatch

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

    • Builder

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

    • 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
    • nextHop

      public RoutePatch.Builder nextHop(RouteNextHopPatch nextHop)
      Set the nextHop.
      Parameters:
      nextHop - the nextHop
      Returns:
      the RoutePatch builder
    • priority

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