Class NeutronNetworkUpdate
- java.lang.Object
-
- org.openstack4j.openstack.networking.domain.NeutronNetworkUpdate
-
- All Implemented Interfaces:
Serializable,Buildable<NetworkUpdateBuilder>,ModelEntity,NetworkUpdate
public class NeutronNetworkUpdate extends Object implements NetworkUpdate
An entity used to update a network- Author:
- Jeremy Unruh
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNeutronNetworkUpdate.NetworkUpdateConcreteBuilder-
Nested classes/interfaces inherited from interface org.openstack4j.common.Buildable
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
-
-
Constructor Summary
Constructors Constructor Description NeutronNetworkUpdate()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NetworkUpdateBuilderbuilder()StringgetName()The name of the networkbooleanisAdminStateUp()The administrative state of the network, which is up (true) or down (false).booleanisDefault()The network is default pool or not.booleanisShared()Admin-only.NetworkUpdateBuildertoBuilder()StringtoString()
-
-
-
Method Detail
-
builder
public static NetworkUpdateBuilder builder()
-
toBuilder
public NetworkUpdateBuilder toBuilder()
- Specified by:
toBuilderin interfaceBuildable<NetworkUpdateBuilder>
-
getName
public String getName()
Description copied from interface:NetworkUpdateThe name of the network- Specified by:
getNamein interfaceNetworkUpdate- Returns:
- the network name
-
isAdminStateUp
public boolean isAdminStateUp()
Description copied from interface:NetworkUpdateThe administrative state of the network, which is up (true) or down (false).- Specified by:
isAdminStateUpin interfaceNetworkUpdate- Returns:
- the admin state up state
-
isShared
public boolean isShared()
Description copied from interface:NetworkUpdateAdmin-only. Indicates whether this network is shared across all tenants.- Specified by:
isSharedin interfaceNetworkUpdate- Returns:
- true if this network is shared
-
isDefault
public boolean isDefault()
Description copied from interface:NetworkUpdateThe network is default pool or not.- Specified by:
isDefaultin interfaceNetworkUpdate- Returns:
- true if is a default network
-
-