Class Network.Builder
- java.lang.Object
-
- org.jclouds.openstack.nova.v2_0.domain.Network.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Network
build()
Network.Builder
fixedIp(String fixedIp)
Network.Builder
fromNetwork(Network in)
Network.Builder
networkUuid(String networkUuid)
Network.Builder
portUuid(String portUuid)
-
-
-
Method Detail
-
networkUuid
public Network.Builder networkUuid(String networkUuid)
- Parameters:
networkUuid
- The UUID for the Nova network or Neutron subnet to be attached.- Returns:
- The builder object.
- See Also:
Network.getNetworkUuid()
-
portUuid
public Network.Builder portUuid(String portUuid)
- Parameters:
portUuid
- The port UUID for this Neutron Network.- Returns:
- The builder object.
- See Also:
Network.getPortUuid()
-
fixedIp
public Network.Builder fixedIp(String fixedIp)
- Parameters:
fixedIp
- The fixed IP address for this Network (if any). Service automatically assigns IP address if this is not provided. Fixed IP is compatible with both Nova Network and Neutron.- Returns:
- The builder object.
- See Also:
Network.getFixedIp()
-
build
public Network build()
- Returns:
- A new Network object.
-
fromNetwork
public Network.Builder fromNetwork(Network in)
- Parameters:
in
- The target Network- Returns:
- A Builder from the provided Network
-
-