Package com.vmware.nsx_policy.model
Class GatewayRouteCsvRecord.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.GatewayRouteCsvRecord.Builder
-
- Enclosing class:
- GatewayRouteCsvRecord
public static final class GatewayRouteCsvRecord.Builder extends java.lang.Object
Builder class forGatewayRouteCsvRecord
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofGatewayRouteCsvRecord
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GatewayRouteCsvRecord
build()
GatewayRouteCsvRecord.Builder
set_Interface(java.lang.String _Interface)
The policy path of the interface which is used as the next hopGatewayRouteCsvRecord.Builder
setAdminDistance(java.lang.Long adminDistance)
The admin distance of the next hop format: int64GatewayRouteCsvRecord.Builder
setBlackHole(java.lang.Boolean blackHole)
Value of this field will be true if given routes are null routes This property may be present in responses from the server, but if it is present in a request to server it will be ignored.GatewayRouteCsvRecord.Builder
setEdgePath(java.lang.String edgePath)
Edge node policy path.GatewayRouteCsvRecord.Builder
setLrComponentId(java.lang.String lrComponentId)
Logical router component(Service Router/Distributed Router) idGatewayRouteCsvRecord.Builder
setLrComponentType(java.lang.String lrComponentType)
Logical router component(Service Router/Distributed Router) typeGatewayRouteCsvRecord.Builder
setNetwork(java.lang.String network)
CIDR network address format: ip-cidr-blockGatewayRouteCsvRecord.Builder
setNextHop(java.lang.String nextHop)
The IP of the next hop format: ipGatewayRouteCsvRecord.Builder
setNextHopGateway(java.lang.String nextHopGateway)
Next hop gateway pathGatewayRouteCsvRecord.Builder
setRouteType(java.lang.String routeType)
Route type (USER, CONNECTED, NSX_INTERNAL,..)
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofGatewayRouteCsvRecord
.
-
-
Method Detail
-
setAdminDistance
public GatewayRouteCsvRecord.Builder setAdminDistance(java.lang.Long adminDistance)
The admin distance of the next hop format: int64- Parameters:
adminDistance
- New value for the property.
-
setBlackHole
public GatewayRouteCsvRecord.Builder setBlackHole(java.lang.Boolean blackHole)
Value of this field will be true if given routes are null routes 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:
blackHole
- New value for the property.
-
setEdgePath
public GatewayRouteCsvRecord.Builder setEdgePath(java.lang.String edgePath)
Edge node 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:
edgePath
- New value for the property.
-
set_Interface
public GatewayRouteCsvRecord.Builder set_Interface(java.lang.String _Interface)
The policy path of the interface which is used as the next hop- Parameters:
_Interface
- New value for the property.
-
setLrComponentId
public GatewayRouteCsvRecord.Builder setLrComponentId(java.lang.String lrComponentId)
Logical router component(Service Router/Distributed Router) id- Parameters:
lrComponentId
- New value for the property.
-
setLrComponentType
public GatewayRouteCsvRecord.Builder setLrComponentType(java.lang.String lrComponentType)
Logical router component(Service Router/Distributed Router) type- Parameters:
lrComponentType
- New value for the property.
-
setNetwork
public GatewayRouteCsvRecord.Builder setNetwork(java.lang.String network)
CIDR network address format: ip-cidr-block- Parameters:
network
- New value for the property.
-
setNextHop
public GatewayRouteCsvRecord.Builder setNextHop(java.lang.String nextHop)
The IP of the next hop format: ip- Parameters:
nextHop
- New value for the property.
-
setNextHopGateway
public GatewayRouteCsvRecord.Builder setNextHopGateway(java.lang.String nextHopGateway)
Next hop gateway path- Parameters:
nextHopGateway
- New value for the property.
-
setRouteType
public GatewayRouteCsvRecord.Builder setRouteType(java.lang.String routeType)
Route type (USER, CONNECTED, NSX_INTERNAL,..)- Parameters:
routeType
- New value for the property.
-
build
public GatewayRouteCsvRecord build()
-
-