Class NeutronFloatingIP
- java.lang.Object
-
- org.openstack4j.openstack.networking.domain.NeutronFloatingIP
-
- All Implemented Interfaces:
Serializable,Buildable<NetFloatingIPBuilder>,ModelEntity,NetFloatingIP
public class NeutronFloatingIP extends Object implements NetFloatingIP
An OpenStack Neutron Floating IP Model.- Author:
- Nathan Anderson
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNeutronFloatingIP.FloatingIPConcreteBuilderThe Class FloatingIPConcreteBuilder.static classNeutronFloatingIP.FloatingIPsThe Class FloatingIPs.-
Nested classes/interfaces inherited from interface org.openstack4j.common.Buildable
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
-
-
Constructor Summary
Constructors Constructor Description NeutronFloatingIP()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NetFloatingIPBuilderbuilder()Builder.booleanequals(Object o)DategetCreatedAt()Time the IP was created.StringgetDescription()Get text description of the resource;StringgetFixedIpAddress()Gets the fixed ip address.StringgetFloatingIpAddress()Gets the floating ip address.StringgetFloatingNetworkId()Gets the floating network id.StringgetId()Gets the id.StringgetPortId()Gets the port id.StringgetProjectId()Gets the project id.StringgetQosPolicyId()ID of the QoS policy.IntegergetRevisionNumber()Revision number of a resource.StringgetRouterId()Gets the router id.StringgetStatus()Gets the floating ip statusList<String>getTags()List of tags associated with the IP address.StringgetTenantId()Gets the tenant id.DategetUpdatedAt()Time the IP was last updated.inthashCode()voidsetFixedIpAddress(String fixedIpAddress)voidsetFloatingIpAddress(String floatingIpAddress)voidsetFloatingNetworkId(String floatingNetworkId)voidsetId(String id)voidsetPortId(String portId)voidsetRouterId(String routerId)voidsetStatus(String status)voidsetTenantId(String tenantId)NetFloatingIPBuildertoBuilder()StringtoString()
-
-
-
Method Detail
-
builder
public static NetFloatingIPBuilder builder()
Builder.- Returns:
- the net floating ip builder
-
toBuilder
public NetFloatingIPBuilder toBuilder()
- Specified by:
toBuilderin interfaceBuildable<NetFloatingIPBuilder>
-
getId
public String getId()
Gets the id.- Specified by:
getIdin interfaceNetFloatingIP- Returns:
- the id
-
setId
public void setId(String id)
-
getRouterId
public String getRouterId()
Gets the router id.- Specified by:
getRouterIdin interfaceNetFloatingIP- Returns:
- the router id
-
setRouterId
public void setRouterId(String routerId)
-
getTenantId
public String getTenantId()
Gets the tenant id.- Specified by:
getTenantIdin interfaceNetFloatingIP- Returns:
- the tenant id
-
setTenantId
public void setTenantId(String tenantId)
-
getProjectId
public String getProjectId()
Description copied from interface:NetFloatingIPGets the project id.- Specified by:
getProjectIdin interfaceNetFloatingIP
-
getFloatingNetworkId
public String getFloatingNetworkId()
Gets the floating network id.- Specified by:
getFloatingNetworkIdin interfaceNetFloatingIP- Returns:
- the floating network id
-
setFloatingNetworkId
public void setFloatingNetworkId(String floatingNetworkId)
-
getFloatingIpAddress
public String getFloatingIpAddress()
Gets the floating ip address.- Specified by:
getFloatingIpAddressin interfaceNetFloatingIP- Returns:
- the floating ip address
-
setFloatingIpAddress
public void setFloatingIpAddress(String floatingIpAddress)
-
getFixedIpAddress
public String getFixedIpAddress()
Gets the fixed ip address.- Specified by:
getFixedIpAddressin interfaceNetFloatingIP- Returns:
- the fixed ip address
-
setFixedIpAddress
public void setFixedIpAddress(String fixedIpAddress)
-
getPortId
public String getPortId()
Gets the port id.- Specified by:
getPortIdin interfaceNetFloatingIP- Returns:
- the port id
-
setPortId
public void setPortId(String portId)
-
getQosPolicyId
public String getQosPolicyId()
Description copied from interface:NetFloatingIPID of the QoS policy.- Specified by:
getQosPolicyIdin interfaceNetFloatingIP
-
getRevisionNumber
public Integer getRevisionNumber()
Description copied from interface:NetFloatingIPRevision number of a resource.- Specified by:
getRevisionNumberin interfaceNetFloatingIP
-
getStatus
public String getStatus()
Gets the floating ip status- Specified by:
getStatusin interfaceNetFloatingIP- Returns:
- the floating ip status
-
setStatus
public void setStatus(String status)
-
getDescription
public String getDescription()
Description copied from interface:NetFloatingIPGet text description of the resource;- Specified by:
getDescriptionin interfaceNetFloatingIP
-
getTags
public List<String> getTags()
Description copied from interface:NetFloatingIPList of tags associated with the IP address.- Specified by:
getTagsin interfaceNetFloatingIP
-
getCreatedAt
public Date getCreatedAt()
Description copied from interface:NetFloatingIPTime the IP was created.- Specified by:
getCreatedAtin interfaceNetFloatingIP
-
getUpdatedAt
public Date getUpdatedAt()
Description copied from interface:NetFloatingIPTime the IP was last updated.- Specified by:
getUpdatedAtin interfaceNetFloatingIP
-
-