Package com.ibm.cloud.is.vpc.v1.model
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 Summary
Constructors Constructor Description Builder()
Instantiates a new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RoutePatch.Builder
advertise(Boolean advertise)
Set the advertise.RoutePatch
build()
Builds a RoutePatch.RoutePatch.Builder
name(String name)
Set the name.RoutePatch.Builder
nextHop(RouteNextHopPatch nextHop)
Set the nextHop.RoutePatch.Builder
priority(long priority)
Set the priority.
-
-
-
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
-
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
-
-