Package com.vmware.nsx_policy.model
Class RoutesPerTransportNode.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.RoutesPerTransportNode.Builder
-
- Enclosing class:
- RoutesPerTransportNode
public static final class RoutesPerTransportNode.Builder extends java.lang.Object
Builder class forRoutesPerTransportNode
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofRoutesPerTransportNode
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RoutesPerTransportNode
build()
RoutesPerTransportNode.Builder
setRoutes(java.util.List<RouteDetails> routes)
Array of BGP neighbor route details for this transport node.RoutesPerTransportNode.Builder
setSourceAddress(java.lang.String sourceAddress)
BGP neighbor source address.RoutesPerTransportNode.Builder
setTransportNodeId(java.lang.String transportNodeId)
Transport node id 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 ofRoutesPerTransportNode
.
-
-
Method Detail
-
setRoutes
public RoutesPerTransportNode.Builder setRoutes(java.util.List<RouteDetails> routes)
Array of BGP neighbor route details for this transport 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:
routes
- New value for the property.
-
setSourceAddress
public RoutesPerTransportNode.Builder setSourceAddress(java.lang.String sourceAddress)
BGP neighbor source 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:
sourceAddress
- New value for the property.
-
setTransportNodeId
public RoutesPerTransportNode.Builder setTransportNodeId(java.lang.String transportNodeId)
Transport node id 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:
transportNodeId
- New value for the property.
-
build
public RoutesPerTransportNode build()
-
-