Package com.vmware.nsx_policy.model
Class OspfRoute.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.OspfRoute.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OspfRoute
build()
OspfRoute.Builder
setArea(java.lang.String area)
OSPF area.OspfRoute.Builder
setCost(java.lang.Long cost)
Cost of the route.OspfRoute.Builder
setNextHops(java.util.List<OspfRouteNextHopResult> nextHops)
request counter.OspfRoute.Builder
setRoutePrefix(java.lang.String routePrefix)
Learned route prefix.OspfRoute.Builder
setRouterType(java.lang.String routerType)
Type of router.OspfRoute.Builder
setRouteType(java.lang.String routeType)
Type of route.OspfRoute.Builder
setTypeToCost(java.lang.Long typeToCost)
Type to cost of the route.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofOspfRoute
.
-
-
Method Detail
-
setArea
public OspfRoute.Builder setArea(java.lang.String area)
OSPF area. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
area
- New value for the property.
-
setCost
public OspfRoute.Builder setCost(java.lang.Long cost)
Cost of the route. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
cost
- New value for the property.
-
setNextHops
public OspfRoute.Builder setNextHops(java.util.List<OspfRouteNextHopResult> nextHops)
request counter. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
nextHops
- New value for the property.
-
setRoutePrefix
public OspfRoute.Builder setRoutePrefix(java.lang.String routePrefix)
Learned route prefix. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
routePrefix
- New value for the property.
-
setRouteType
public OspfRoute.Builder setRouteType(java.lang.String routeType)
Type of route. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
routeType
- New value for the property.
-
setRouterType
public OspfRoute.Builder setRouterType(java.lang.String routerType)
Type of router. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
routerType
- New value for the property.
-
setTypeToCost
public OspfRoute.Builder setTypeToCost(java.lang.Long typeToCost)
Type to cost of the route. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
typeToCost
- New value for the property.
-
build
public OspfRoute build()
-
-