Class FloatingIP.UpdateBuilder
java.lang.Object
org.jclouds.openstack.neutron.v2.domain.FloatingIP.UpdateBuilder
- Enclosing class:
FloatingIP
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionavailabilityZone
(String availabilityZone) Provides the availability zone for this Floating IP.build()
fixedIpAddress
(String fixedIpAddress) Provides the fixed ip address for this Floating IP.floatingIpAddress
(String floatingIpAddress) Provide the floating ip address for this Floating IP.floatingNetworkId
(String floatingNetworkId) Provides the floating network id for this Floating IP.Provides the port id for this Floating IP.Provide the project ID for this Floating IP.protected FloatingIP.UpdateBuilder
self()
Provide the tenantId for this Floating IP.
-
Field Details
-
floatingIP
-
-
Method Details
-
floatingIpAddress
Provide the floating ip address for this Floating IP. An address for the floating ip will be automatically allocated, unless the floating_ip_address attribute is specified in the request body. If the requested floating IP address does not fall in the external network's subnet range, a 400 error will be returned. If the requested floating IP address is already in use, a 409 error code will be returned.- Returns:
- the Builder.
- See Also:
-
build
- Returns:
- a UpdateFloatingIP constructed with this Builder.
-
self
-
projectId
Provide the project ID for this Floating IP.- Returns:
- the Builder.
- See Also:
-
tenantId
Provide the tenantId for this Floating IP. Admin-only. When keystone is enabled, it is not mandatory to specify tenant_id for resources in create requests, as the tenant identifier will be derived from the Authentication token. Please note that the default authorization settings only allow administrative users to create resources on behalf of a different tenant.- Returns:
- the Builder.
- See Also:
-
floatingNetworkId
Provides the floating network id for this Floating IP. Mandatory when creating a floating IP. Floating IPs can only be created on external networks. If the network specified by floating_network_id is not external (for example, router:external=false), a 400 error is returned.- Returns:
- the Builder.
- See Also:
-
fixedIpAddress
Provides the fixed ip address for this Floating IP. As an OpenStack Networking port might be associated with multiple IP addresses, the particular IP address to associate with the floating IP can be specified using the fixed_ip_address request body parameter. The default logic of this operation is to associate the floating IP with a single IP address configured on a port; hence, if a port has multiple IP addresses, it is mandatory to specify the fixed_ip_address attribute. If an invalid IP address is specified in fixed_ip_address a 400 error will be returned.- Returns:
- the Builder.
- See Also:
-
portId
Provides the port id for this Floating IP. Users can associate the floating IP with an internal port using the port_id attribute in the request body. If an invalid port identifier is specified, a 404 error will be returned. The internal OpenStack Networking port associated with the Floating IP must have at least an IP address configured, otherwise a 400 error will be returned.- Returns:
- the Builder.
- See Also:
-
availabilityZone
Provides the availability zone for this Floating IP.- Returns:
- the Builder.
- See Also:
-