Class HostRoute.Builder
- java.lang.Object
-
- org.jclouds.openstack.neutron.v2.domain.HostRoute.Builder
-
-
Field Summary
Fields Modifier and Type Field Description protected String
destinationCidr
protected String
nextHop
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HostRoute
build()
HostRoute.Builder
destinationCidr(String destinationCidr)
This should be a valid CIDR.HostRoute.Builder
fromHostRoute(HostRoute in)
HostRoute.Builder
nextHop(String nextHop)
This should be a valid IP address.
-
-
-
Method Detail
-
destinationCidr
public HostRoute.Builder destinationCidr(String destinationCidr)
This should be a valid CIDR.- See Also:
HostRoute.getDestinationCidr()
-
nextHop
public HostRoute.Builder nextHop(String nextHop)
This should be a valid IP address.- See Also:
HostRoute.getNextHop()
-
build
public HostRoute build()
-
fromHostRoute
public HostRoute.Builder fromHostRoute(HostRoute in)
-
-