Package com.vmware.nsx_policy.model
Class OspfRouteNextHopResult.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.OspfRouteNextHopResult.Builder
-
- Enclosing class:
- OspfRouteNextHopResult
public static final class OspfRouteNextHopResult.Builder extends java.lang.Object
Builder class forOspfRouteNextHopResult
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofOspfRouteNextHopResult
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OspfRouteNextHopResult
build()
OspfRouteNextHopResult.Builder
setDirectlyAttached(java.lang.Boolean directlyAttached)
Check whether OSPF route is directly connected.OspfRouteNextHopResult.Builder
setInterfaceName(java.lang.String interfaceName)
OSPF policy interface name.OspfRouteNextHopResult.Builder
setNeighborAddress(java.lang.String neighborAddress)
next-hop address.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofOspfRouteNextHopResult
.
-
-
Method Detail
-
setDirectlyAttached
public OspfRouteNextHopResult.Builder setDirectlyAttached(java.lang.Boolean directlyAttached)
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:
directlyAttached
- New value for the property.
-
setInterfaceName
public OspfRouteNextHopResult.Builder setInterfaceName(java.lang.String interfaceName)
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:
interfaceName
- New value for the property.
-
setNeighborAddress
public OspfRouteNextHopResult.Builder setNeighborAddress(java.lang.String neighborAddress)
next-hop address. 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:
neighborAddress
- New value for the property.
-
build
public OspfRouteNextHopResult build()
-
-