Class RoutePatch.Builder
java.lang.Object
com.ibm.cloud.is.vpc.v1.model.RoutePatch.Builder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSet the advertise.build()
Builds a RoutePatch.Set the name.nextHop
(RouteNextHopPatch nextHop) Set the nextHop.priority
(long priority) Set the priority.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
-
advertise
Set the advertise.- Parameters:
advertise
- the advertise- Returns:
- the RoutePatch builder
-
name
Set the name.- Parameters:
name
- the name- Returns:
- the RoutePatch builder
-
nextHop
Set the nextHop.- Parameters:
nextHop
- the nextHop- Returns:
- the RoutePatch builder
-
priority
Set the priority.- Parameters:
priority
- the priority- Returns:
- the RoutePatch builder
-