public static class NeutronFloatingIP.FloatingIPConcreteBuilder extends Object implements NetFloatingIPBuilder
Constructor and Description |
---|
FloatingIPConcreteBuilder()
Instantiates a new floating ip concrete builder.
|
FloatingIPConcreteBuilder(NetFloatingIP in)
Instantiates a new floating ip concrete builder.
|
Modifier and Type | Method and Description |
---|---|
NetFloatingIP |
build()
Creates and return the Model Entity M
|
NetFloatingIPBuilder |
floatingNetworkId(String networkId)
sets Id of floating network
|
NetFloatingIPBuilder |
from(NetFloatingIP in)
Creates a Builder using the param M as the default values
|
NetFloatingIPBuilder |
portId(String portId)
Port id.
|
public FloatingIPConcreteBuilder()
public FloatingIPConcreteBuilder(NetFloatingIP in)
in
- the inpublic NetFloatingIP build()
build
in interface Buildable.Builder<NetFloatingIPBuilder,NetFloatingIP>
public NetFloatingIPBuilder from(NetFloatingIP in)
from
in interface Buildable.Builder<NetFloatingIPBuilder,NetFloatingIP>
public NetFloatingIPBuilder floatingNetworkId(String networkId)
floatingNetworkId
in interface NetFloatingIPBuilder
networkId
- the network idpublic NetFloatingIPBuilder portId(String portId)
portId
in interface NetFloatingIPBuilder
portId
- the port idCopyright © 2017. All rights reserved.