Interface NetworkUpdateBuilder
-
- All Superinterfaces:
Buildable.Builder<NetworkUpdateBuilder,NetworkUpdate>
- All Known Implementing Classes:
NeutronNetworkUpdate.NetworkUpdateConcreteBuilder
public interface NetworkUpdateBuilder extends Buildable.Builder<NetworkUpdateBuilder,NetworkUpdate>
Builds a NetworkUpdate entity- Author:
- Jeremy Unruh
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NetworkUpdateBuilderadminStateUp(boolean enabled)The administrative state of the network, which is up (true) or down (false).NetworkUpdateBuilderisDefault(boolean isDefault)The network is default pool or not.NetworkUpdateBuildername(String name)Sets the network nameNetworkUpdateBuildershared(boolean shared)Admin-only.-
Methods inherited from interface org.openstack4j.common.Buildable.Builder
build, from
-
-
-
-
Method Detail
-
name
NetworkUpdateBuilder name(String name)
Sets the network name- Parameters:
name- the name of the network- Returns:
- the builder
-
adminStateUp
NetworkUpdateBuilder adminStateUp(boolean enabled)
The administrative state of the network, which is up (true) or down (false).- Parameters:
enabled- if true indicated the admin state is up- Returns:
- the builder
-
shared
NetworkUpdateBuilder shared(boolean shared)
Admin-only. Indicates whether this network is shared across all tenants.- Parameters:
shared- if true the network is shared- Returns:
- the builder
-
isDefault
NetworkUpdateBuilder isDefault(boolean isDefault)
The network is default pool or not.- Parameters:
isDefault- if true the network is default- Returns:
- the builder
-
-