Package com.vmware.nsx_policy.model
Class RoutingTable.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.RoutingTable.Builder
-
- Enclosing class:
- RoutingTable
public static final class RoutingTable.Builder extends java.lang.ObjectBuilder class forRoutingTable.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofRoutingTable.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RoutingTablebuild()RoutingTable.BuildersetCount(java.lang.Long count)Entry count.RoutingTable.BuildersetEdgeNode(java.lang.String edgeNode)Transport node ID.RoutingTable.BuildersetErrorMessage(java.lang.String errorMessage)Routing table fetch error message, populated only if status if failure.RoutingTable.BuildersetRouteEntries(java.util.List<RoutingEntry> routeEntries)Route entries.RoutingTable.BuildersetStatus(java.lang.String status)Possible values are:RoutingTable.STATUS_SUCCESSRoutingTable.STATUS_FAILURERoutingTable.STATUS_NOT_FOUNDRouting table fetch status from Transport node.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofRoutingTable.
-
-
Method Detail
-
setCount
public RoutingTable.Builder setCount(java.lang.Long count)
Entry count. format: int32 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:
count- New value for the property.
-
setEdgeNode
public RoutingTable.Builder setEdgeNode(java.lang.String edgeNode)
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:
edgeNode- New value for the property.
-
setErrorMessage
public RoutingTable.Builder setErrorMessage(java.lang.String errorMessage)
Routing table fetch error message, populated only if status if failure. 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:
errorMessage- New value for the property.
-
setRouteEntries
public RoutingTable.Builder setRouteEntries(java.util.List<RoutingEntry> routeEntries)
Route entries.- Parameters:
routeEntries- New value for the property.
-
setStatus
public RoutingTable.Builder setStatus(java.lang.String status)
Possible values are: Routing table fetch status from 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:
status- New value for the property.
-
build
public RoutingTable build()
-
-