public static class NeutronRouter.RouterConcreteBuilder extends ResourceBuilder<Router,NeutronRouter.RouterConcreteBuilder> implements RouterBuilder
Modifier and Type | Method and Description |
---|---|
RouterBuilder |
adminStateUp(boolean isAdminStateUp) |
Router |
build()
Creates and return the Model Entity M
|
RouterBuilder |
clearExternalGateway()
Removes the external gateway from the router during an update operation
|
RouterBuilder |
externalGateway(ExternalGateway externalGateway) |
RouterBuilder |
externalGateway(String networkId) |
RouterBuilder |
externalGateway(String networkId,
Boolean enableSNAT) |
RouterBuilder |
from(Router in)
Creates a Builder using the param M as the default values
|
RouterBuilder |
noRoutes()
Removes the static routes from the router during an update operation
|
protected Router |
reference() |
RouterBuilder |
route(String destination,
String nexthop) |
tenant, tenantId
id, name, self
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
id, name, tenant, tenantId
public RouterBuilder adminStateUp(boolean isAdminStateUp)
adminStateUp
in interface RouterBuilder
Router.isAdminStateUp()()
public RouterBuilder externalGateway(String networkId)
externalGateway
in interface RouterBuilder
Router.getExternalGatewayInfo()
public RouterBuilder externalGateway(String networkId, Boolean enableSNAT)
externalGateway
in interface RouterBuilder
Router.getExternalGatewayInfo()
public RouterBuilder externalGateway(ExternalGateway externalGateway)
externalGateway
in interface RouterBuilder
Router.getExternalGatewayInfo()
public RouterBuilder clearExternalGateway()
clearExternalGateway
in interface RouterBuilder
public RouterBuilder route(String destination, String nexthop)
route
in interface RouterBuilder
Router.getRoutes()
public RouterBuilder noRoutes()
noRoutes
in interface RouterBuilder
protected Router reference()
reference
in class BasicResourceBuilder<Router,NeutronRouter.RouterConcreteBuilder>
public Router build()
build
in interface Buildable.Builder<RouterBuilder,Router>
public RouterBuilder from(Router in)
from
in interface Buildable.Builder<RouterBuilder,Router>
Copyright © 2017. All rights reserved.