public static class NeutronNetworkUpdate.NetworkUpdateConcreteBuilder extends Object implements NetworkUpdateBuilder
Constructor and Description |
---|
NetworkUpdateConcreteBuilder() |
NetworkUpdateConcreteBuilder(NeutronNetworkUpdate model) |
Modifier and Type | Method and Description |
---|---|
NetworkUpdateBuilder |
adminStateUp(boolean enabled)
The administrative state of the network, which is up (true) or down (false).
|
NetworkUpdate |
build()
Creates and return the Model Entity M
|
NetworkUpdateBuilder |
from(NetworkUpdate in)
Creates a Builder using the param M as the default values
|
NetworkUpdateBuilder |
name(String name)
Sets the network name
|
NetworkUpdateBuilder |
shared(boolean shared)
Admin-only.
|
public NetworkUpdateConcreteBuilder()
public NetworkUpdateConcreteBuilder(NeutronNetworkUpdate model)
public NetworkUpdate build()
Buildable.Builder
build
in interface Buildable.Builder<NetworkUpdateBuilder,NetworkUpdate>
public NetworkUpdateBuilder from(NetworkUpdate in)
Buildable.Builder
from
in interface Buildable.Builder<NetworkUpdateBuilder,NetworkUpdate>
public NetworkUpdateBuilder name(String name)
NetworkUpdateBuilder
name
in interface NetworkUpdateBuilder
name
- the name of the networkpublic NetworkUpdateBuilder adminStateUp(boolean enabled)
NetworkUpdateBuilder
adminStateUp
in interface NetworkUpdateBuilder
enabled
- if true indicated the admin state is uppublic NetworkUpdateBuilder shared(boolean shared)
NetworkUpdateBuilder
shared
in interface NetworkUpdateBuilder
shared
- if true the network is sharedCopyright © 2017. All rights reserved.