Package com.vmware.nsx_policy.model
Class BgpNeighborRoutes.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.BgpNeighborRoutes.Builder
-
- Enclosing class:
- BgpNeighborRoutes
public static final class BgpNeighborRoutes.Builder extends java.lang.Object
Builder class forBgpNeighborRoutes
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofBgpNeighborRoutes
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BgpNeighborRoutes
build()
BgpNeighborRoutes.Builder
setEdgeNodeRoutes(java.util.List<RoutesPerTransportNode> edgeNodeRoutes)
Array of BGP neighbor route details per edge node.BgpNeighborRoutes.Builder
setEnforcementPointPath(java.lang.String enforcementPointPath)
Enforcement point policy 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.BgpNeighborRoutes.Builder
setNeighborPath(java.lang.String neighborPath)
BGP neighbor policy 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.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofBgpNeighborRoutes
.
-
-
Method Detail
-
setEdgeNodeRoutes
public BgpNeighborRoutes.Builder setEdgeNodeRoutes(java.util.List<RoutesPerTransportNode> edgeNodeRoutes)
Array of BGP neighbor route details per edge node. 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:
edgeNodeRoutes
- New value for the property.
-
setEnforcementPointPath
public BgpNeighborRoutes.Builder setEnforcementPointPath(java.lang.String enforcementPointPath)
Enforcement point policy 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:
enforcementPointPath
- New value for the property.
-
setNeighborPath
public BgpNeighborRoutes.Builder setNeighborPath(java.lang.String neighborPath)
BGP neighbor policy 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:
neighborPath
- New value for the property.
-
build
public BgpNeighborRoutes build()
-
-