Package com.vmware.nsx_policy.model
Class OspfRouteDetailsInCsvRecord.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.OspfRouteDetailsInCsvRecord.Builder
-
- Enclosing class:
- OspfRouteDetailsInCsvRecord
public static final class OspfRouteDetailsInCsvRecord.Builder extends java.lang.ObjectBuilder class forOspfRouteDetailsInCsvRecord.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofOspfRouteDetailsInCsvRecord.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OspfRouteDetailsInCsvRecordbuild()OspfRouteDetailsInCsvRecord.BuildersetArea(java.lang.String area)OSPF area.OspfRouteDetailsInCsvRecord.BuildersetCost(java.lang.Long cost)Cost of the route.OspfRouteDetailsInCsvRecord.BuildersetEdgePath(java.lang.String edgePath)Policy edge path.OspfRouteDetailsInCsvRecord.BuildersetNextHopDirectlyAttached(java.lang.Boolean nextHopDirectlyAttached)Check whether OSPF route is directly connected.OspfRouteDetailsInCsvRecord.BuildersetNextHopInterfaceName(java.lang.String nextHopInterfaceName)OSPF policy interface name.OspfRouteDetailsInCsvRecord.BuildersetNextHopNeighborAddress(java.lang.String nextHopNeighborAddress)route next hop result.OspfRouteDetailsInCsvRecord.BuildersetRoutePrefix(java.lang.String routePrefix)Learned route prefix.OspfRouteDetailsInCsvRecord.BuildersetRouterType(java.lang.String routerType)Type of router.OspfRouteDetailsInCsvRecord.BuildersetRouteType(java.lang.String routeType)Type of route.OspfRouteDetailsInCsvRecord.BuildersetTypeToCost(java.lang.Long typeToCost)Type to cost of the route.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofOspfRouteDetailsInCsvRecord.
-
-
Method Detail
-
setArea
public OspfRouteDetailsInCsvRecord.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 OspfRouteDetailsInCsvRecord.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.
-
setEdgePath
public OspfRouteDetailsInCsvRecord.Builder setEdgePath(java.lang.String edgePath)
Policy edge path. 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:
edgePath- New value for the property.
-
setNextHopDirectlyAttached
public OspfRouteDetailsInCsvRecord.Builder setNextHopDirectlyAttached(java.lang.Boolean nextHopDirectlyAttached)
Check whether OSPF route is directly connected. 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:
nextHopDirectlyAttached- New value for the property.
-
setNextHopInterfaceName
public OspfRouteDetailsInCsvRecord.Builder setNextHopInterfaceName(java.lang.String nextHopInterfaceName)
OSPF policy interface name. 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:
nextHopInterfaceName- New value for the property.
-
setNextHopNeighborAddress
public OspfRouteDetailsInCsvRecord.Builder setNextHopNeighborAddress(java.lang.String nextHopNeighborAddress)
route next hop result. format: ip 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:
nextHopNeighborAddress- New value for the property.
-
setRoutePrefix
public OspfRouteDetailsInCsvRecord.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 OspfRouteDetailsInCsvRecord.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 OspfRouteDetailsInCsvRecord.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 OspfRouteDetailsInCsvRecord.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 OspfRouteDetailsInCsvRecord build()
-
-