Class CreateVpcRouteOptions.Builder
java.lang.Object
com.ibm.cloud.is.vpc.v1.model.CreateVpcRouteOptions.Builder
-
Constructor Summary
ConstructorsConstructorDescriptionBuilder()
Instantiates a new builder.Builder
(String vpcId, String destination, ZoneIdentity zone) Instantiates a new builder with required properties. -
Method Summary
Modifier and TypeMethodDescriptionSet the action.Set the advertise.build()
Builds a CreateVpcRouteOptions.destination
(String destination) Set the destination.Set the name.nextHop
(RouteNextHopPrototype nextHop) Set the nextHop.priority
(long priority) Set the priority.Set the vpcId.zone
(ZoneIdentity zone) Set the zone.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
vpcId
- the vpcIddestination
- the destinationzone
- the zone
-
-
Method Details
-
build
Builds a CreateVpcRouteOptions.- Returns:
- the new CreateVpcRouteOptions instance
-
vpcId
Set the vpcId.- Parameters:
vpcId
- the vpcId- Returns:
- the CreateVpcRouteOptions builder
-
destination
Set the destination.- Parameters:
destination
- the destination- Returns:
- the CreateVpcRouteOptions builder
-
zone
Set the zone.- Parameters:
zone
- the zone- Returns:
- the CreateVpcRouteOptions builder
-
action
Set the action.- Parameters:
action
- the action- Returns:
- the CreateVpcRouteOptions builder
-
advertise
Set the advertise.- Parameters:
advertise
- the advertise- Returns:
- the CreateVpcRouteOptions builder
-
name
Set the name.- Parameters:
name
- the name- Returns:
- the CreateVpcRouteOptions builder
-
nextHop
Set the nextHop.- Parameters:
nextHop
- the nextHop- Returns:
- the CreateVpcRouteOptions builder
-
priority
Set the priority.- Parameters:
priority
- the priority- Returns:
- the CreateVpcRouteOptions builder
-