Class NeutronNetworkUpdate.NetworkUpdateConcreteBuilder
- java.lang.Object
-
- org.openstack4j.openstack.networking.domain.NeutronNetworkUpdate.NetworkUpdateConcreteBuilder
-
- All Implemented Interfaces:
Buildable.Builder<NetworkUpdateBuilder,NetworkUpdate>,NetworkUpdateBuilder
- Enclosing class:
- NeutronNetworkUpdate
public static class NeutronNetworkUpdate.NetworkUpdateConcreteBuilder extends Object implements NetworkUpdateBuilder
-
-
Constructor Summary
Constructors Constructor Description NetworkUpdateConcreteBuilder()NetworkUpdateConcreteBuilder(NeutronNetworkUpdate model)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NetworkUpdateBuilderadminStateUp(boolean enabled)The administrative state of the network, which is up (true) or down (false).NetworkUpdatebuild()Creates and return the Model Entity MNetworkUpdateBuilderfrom(NetworkUpdate in)Creates a Builder using the param M as the default valuesNetworkUpdateBuilderisDefault(boolean isDefault)The network is default pool or not.NetworkUpdateBuildername(String name)Sets the network nameNetworkUpdateBuildershared(boolean shared)Admin-only.
-
-
-
Constructor Detail
-
NetworkUpdateConcreteBuilder
public NetworkUpdateConcreteBuilder()
-
NetworkUpdateConcreteBuilder
public NetworkUpdateConcreteBuilder(NeutronNetworkUpdate model)
-
-
Method Detail
-
build
public NetworkUpdate build()
Description copied from interface:Buildable.BuilderCreates and return the Model Entity M- Specified by:
buildin interfaceBuildable.Builder<NetworkUpdateBuilder,NetworkUpdate>- Returns:
- M instance
-
from
public NetworkUpdateBuilder from(NetworkUpdate in)
Description copied from interface:Buildable.BuilderCreates a Builder using the param M as the default values- Specified by:
fromin interfaceBuildable.Builder<NetworkUpdateBuilder,NetworkUpdate>- Returns:
- Builder
-
name
public NetworkUpdateBuilder name(String name)
Description copied from interface:NetworkUpdateBuilderSets the network name- Specified by:
namein interfaceNetworkUpdateBuilder- Parameters:
name- the name of the network- Returns:
- the builder
-
adminStateUp
public NetworkUpdateBuilder adminStateUp(boolean enabled)
Description copied from interface:NetworkUpdateBuilderThe administrative state of the network, which is up (true) or down (false).- Specified by:
adminStateUpin interfaceNetworkUpdateBuilder- Parameters:
enabled- if true indicated the admin state is up- Returns:
- the builder
-
shared
public NetworkUpdateBuilder shared(boolean shared)
Description copied from interface:NetworkUpdateBuilderAdmin-only. Indicates whether this network is shared across all tenants.- Specified by:
sharedin interfaceNetworkUpdateBuilder- Parameters:
shared- if true the network is shared- Returns:
- the builder
-
isDefault
public NetworkUpdateBuilder isDefault(boolean isDefault)
Description copied from interface:NetworkUpdateBuilderThe network is default pool or not.- Specified by:
isDefaultin interfaceNetworkUpdateBuilder- Parameters:
isDefault- if true the network is default- Returns:
- the builder
-
-