public static class NovaFloatingIP.FloatingIPConcreteBuilder extends Object implements FloatingIPBuilder
Constructor and Description |
---|
FloatingIPConcreteBuilder()
Instantiates a new floating ip concrete builder.
|
FloatingIPConcreteBuilder(FloatingIP floatingIp)
Instantiates a new floating ip concrete builder.
|
Modifier and Type | Method and Description |
---|---|
FloatingIP |
build()
Creates and return the Model Entity M
|
FloatingIPBuilder |
fixedIpAddress(String fixedIp) |
FloatingIPBuilder |
floatingIpAddress(String floatingIpAddress) |
FloatingIPBuilder |
from(FloatingIP in)
Creates a Builder using the param M as the default values
|
FloatingIPBuilder |
id(String id) |
FloatingIPBuilder |
instanceId(String instanceId) |
FloatingIPBuilder |
pool(String pool) |
public FloatingIPConcreteBuilder()
public FloatingIPConcreteBuilder(FloatingIP floatingIp)
floatingIp
- the floating ippublic FloatingIP build()
build
in interface Buildable.Builder<FloatingIPBuilder,FloatingIP>
public FloatingIPBuilder from(FloatingIP in)
from
in interface Buildable.Builder<FloatingIPBuilder,FloatingIP>
public FloatingIPBuilder id(String id)
id
in interface FloatingIPBuilder
FloatingIP.getId()
public FloatingIPBuilder fixedIpAddress(String fixedIp)
fixedIpAddress
in interface FloatingIPBuilder
FloatingIP.getFixedIpAddress()
public FloatingIPBuilder floatingIpAddress(String floatingIpAddress)
floatingIpAddress
in interface FloatingIPBuilder
FloatingIP.getFloatingIpAddress()
public FloatingIPBuilder instanceId(String instanceId)
instanceId
in interface FloatingIPBuilder
FloatingIP.getInstanceId()
public FloatingIPBuilder pool(String pool)
pool
in interface FloatingIPBuilder
FloatingIP.getPool()
Copyright © 2017. All rights reserved.