org.jclouds.openstack.nova.v2_0.domain
Class FloatingIP

java.lang.Object
  extended by org.jclouds.openstack.nova.v2_0.domain.FloatingIP
All Implemented Interfaces:
Comparable<FloatingIP>

public class FloatingIP
extends Object
implements Comparable<FloatingIP>

A Floating IP is an IP address that can be created and associated with a Server instance. Floating IPs can also be disassociated and deleted from a Server instance.

Author:
Jeremy Daggett, chamerling

Nested Class Summary
static class FloatingIP.Builder<T extends FloatingIP.Builder<T>>
           
 
Constructor Summary
protected FloatingIP(String id, String ip, String fixedIp, String instanceId)
           
 
Method Summary
static FloatingIP.Builder<?> builder()
           
 int compareTo(FloatingIP o)
           
 boolean equals(Object obj)
           
 String getFixedIp()
           
 String getId()
           
 String getInstanceId()
           
 String getIp()
           
 int hashCode()
           
protected  com.google.common.base.Objects.ToStringHelper string()
           
 FloatingIP.Builder<?> toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FloatingIP

@ConstructorProperties(value={"id","ip","fixed_ip","instance_id"})
protected FloatingIP(String id,
                                                String ip,
                                                @Nullable
                                                String fixedIp,
                                                @Nullable
                                                String instanceId)
Method Detail

builder

public static FloatingIP.Builder<?> builder()

toBuilder

public FloatingIP.Builder<?> toBuilder()

getId

public String getId()

getIp

public String getIp()

getFixedIp

@Nullable
public String getFixedIp()

getInstanceId

@Nullable
public String getInstanceId()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

string

protected com.google.common.base.Objects.ToStringHelper string()

toString

public String toString()
Overrides:
toString in class Object

compareTo

public int compareTo(FloatingIP o)
Specified by:
compareTo in interface Comparable<FloatingIP>


Copyright © 2009-2012 jclouds. All Rights Reserved.