Package com.vmware.nsx_policy.model
Class ClasslessStaticRoute.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.ClasslessStaticRoute.Builder
-
- Enclosing class:
- ClasslessStaticRoute
public static final class ClasslessStaticRoute.Builder extends java.lang.Object
Builder class forClasslessStaticRoute
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofClasslessStaticRoute
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClasslessStaticRoute
build()
ClasslessStaticRoute.Builder
setNetwork(java.lang.String network)
Destination network in CIDR format.ClasslessStaticRoute.Builder
setNextHop(java.lang.String nextHop)
IP address of next hop of the route.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofClasslessStaticRoute
.
-
-
Method Detail
-
setNetwork
public ClasslessStaticRoute.Builder setNetwork(java.lang.String network)
Destination network in CIDR format. format: address-or-block-or-range- Parameters:
network
- New value for the property.
-
setNextHop
public ClasslessStaticRoute.Builder setNextHop(java.lang.String nextHop)
IP address of next hop of the route. format: ip- Parameters:
nextHop
- New value for the property.
-
build
public ClasslessStaticRoute build()
-
-