Modifier and Type | Field and Description |
---|---|
protected String |
fixedIp |
protected String |
networkUuid |
protected String |
portUuid |
Constructor and Description |
---|
Network.Builder() |
Modifier and Type | Method and Description |
---|---|
Network |
build() |
Network.Builder |
fixedIp(String fixedIp) |
Network.Builder |
fromNetwork(Network in) |
Network.Builder |
networkUuid(String networkUuid) |
Network.Builder |
portUuid(String portUuid) |
protected String networkUuid
protected String portUuid
protected String fixedIp
public Network.Builder networkUuid(String networkUuid)
networkUuid
- The UUID for the Nova network or Neutron subnet to be attached.Network.getNetworkUuid()
public Network.Builder portUuid(String portUuid)
portUuid
- The port UUID for this Neutron Network.Network.getPortUuid()
public Network.Builder fixedIp(String fixedIp)
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.Network.getFixedIp()
public Network build()
public Network.Builder fromNetwork(Network in)
in
- The target NetworkCopyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.