public static class NeutronNetwork.NetworkConcreteBuilder extends Object implements NetworkBuilder
Constructor and Description |
---|
NetworkConcreteBuilder() |
NetworkConcreteBuilder(NeutronNetwork m) |
Modifier and Type | Method and Description |
---|---|
NetworkBuilder |
adminStateUp(boolean adminStateUp) |
Network |
build()
Creates and return the Model Entity M
|
NetworkBuilder |
from(Network in)
Creates a Builder using the param M as the default values
|
NetworkBuilder |
isRouterExternal(boolean routerExternal) |
NetworkBuilder |
isShared(boolean shared) |
NetworkBuilder |
name(String name) |
NetworkBuilder |
networkType(NetworkType networkType) |
NetworkBuilder |
physicalNetwork(String providerPhysicalNetwork) |
NetworkBuilder |
segmentId(String providerSegmentationId) |
NetworkBuilder |
tenantId(String tenantId) |
public NetworkConcreteBuilder()
public NetworkConcreteBuilder(NeutronNetwork m)
public NetworkBuilder name(String name)
name
in interface NetworkBuilder
BasicResource.getName()
public NetworkBuilder adminStateUp(boolean adminStateUp)
adminStateUp
in interface NetworkBuilder
Network.isAdminStateUp()
public NetworkBuilder networkType(NetworkType networkType)
networkType
in interface NetworkBuilder
Network.getNetworkType()
public NetworkBuilder physicalNetwork(String providerPhysicalNetwork)
physicalNetwork
in interface NetworkBuilder
Network.getProviderPhyNet()
public NetworkBuilder segmentId(String providerSegmentationId)
segmentId
in interface NetworkBuilder
Network.getProviderSegID()
public NetworkBuilder tenantId(String tenantId)
tenantId
in interface NetworkBuilder
Resource.getTenantId()
public NetworkBuilder isShared(boolean shared)
isShared
in interface NetworkBuilder
Network.isShared()
public NetworkBuilder isRouterExternal(boolean routerExternal)
isRouterExternal
in interface NetworkBuilder
Network.isRouterExternal()
public Network build()
Buildable.Builder
build
in interface Buildable.Builder<NetworkBuilder,Network>
public NetworkBuilder from(Network in)
Buildable.Builder
from
in interface Buildable.Builder<NetworkBuilder,Network>
Copyright © 2017. All rights reserved.