Class Network.Builder
java.lang.Object
org.jclouds.openstack.nova.v2_0.domain.Network.Builder
- Enclosing class:
Network
Implements the Builder pattern for this class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
fromNetwork
(Network in) networkUuid
(String networkUuid)
-
Field Details
-
networkUuid
-
portUuid
-
fixedIp
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
networkUuid
- Parameters:
networkUuid
- The UUID for the Nova network or Neutron subnet to be attached.- Returns:
- The builder object.
- See Also:
-
portUuid
- Parameters:
portUuid
- The port UUID for this Neutron Network.- Returns:
- The builder object.
- See Also:
-
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:
-
build
- Returns:
- A new Network object.
-
fromNetwork
- Parameters:
in
- The target Network- Returns:
- A Builder from the provided Network
-