public interface RouterBuilder extends Buildable.Builder<RouterBuilder,Router>
Modifier and Type | Method and Description |
---|---|
RouterBuilder |
adminStateUp(boolean isAdminStateUp) |
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 |
id(String id) |
RouterBuilder |
name(String name) |
RouterBuilder |
noRoutes()
Removes the static routes from the router during an update operation
|
RouterBuilder |
route(String destination,
String nexthop) |
RouterBuilder |
tenant(Tenant tenant) |
RouterBuilder |
tenantId(String tenantId) |
build, from
RouterBuilder id(String id)
IdEntity.getId()
RouterBuilder name(String name)
BasicResource.getName()
RouterBuilder tenantId(String tenantId)
Resource.getTenantId()
RouterBuilder tenant(Tenant tenant)
Resource.getTenantId()
RouterBuilder adminStateUp(boolean isAdminStateUp)
Router.isAdminStateUp()()
RouterBuilder externalGateway(String networkId)
Router.getExternalGatewayInfo()
RouterBuilder externalGateway(String networkId, Boolean enableSNAT)
Router.getExternalGatewayInfo()
RouterBuilder externalGateway(ExternalGateway externalGateway)
Router.getExternalGatewayInfo()
RouterBuilder clearExternalGateway()
RouterBuilder route(String destination, String nexthop)
Router.getRoutes()
RouterBuilder noRoutes()
Copyright © 2017. All rights reserved.