org.jclouds.openstack.nova.domain
Class FloatingIP

java.lang.Object
  extended by org.jclouds.openstack.nova.domain.Resource
      extended by org.jclouds.openstack.nova.domain.FloatingIP

public class FloatingIP
extends Resource

Check Floating IP Wiki page. Available since OpenStack Diablo release and API 1.1.

Author:
chamerling

Constructor Summary
FloatingIP(int id, String ip, String fixedIP, int instanceID)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getFixedIP()
           
 int getId()
           
 int getInstanceID()
           
 String getIp()
           
 int hashCode()
           
 void setFixedIP(String fixedIP)
           
 void setId(int id)
           
 void setInstanceID(int instanceID)
           
 void setIp(String ip)
           
 String toString()
           
 
Methods inherited from class org.jclouds.openstack.nova.domain.Resource
getSelfURI, getURI
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FloatingIP

public FloatingIP(int id,
                  String ip,
                  String fixedIP,
                  int instanceID)
Method Detail

getId

public int getId()
Returns:
the id

setId

public void setId(int id)
Parameters:
id - the id to set

getIp

public String getIp()
Returns:
the ip

setIp

public void setIp(String ip)
Parameters:
ip - the ip to set

getFixedIP

public String getFixedIP()
Returns:
the fixedIP

setFixedIP

public void setFixedIP(String fixedIP)
Parameters:
fixedIP - the fixedIP to set

getInstanceID

public int getInstanceID()
Returns:
the instanceID

setInstanceID

public void setInstanceID(int instanceID)
Parameters:
instanceID - the instanceID to set

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2009-2012 jclouds. All Rights Reserved.