org.jclouds.cloudloadbalancers.domain
Class VirtualIP

java.lang.Object
  extended by org.jclouds.cloudloadbalancers.domain.VirtualIP
All Implemented Interfaces:
Comparable<VirtualIP>

public class VirtualIP
extends Object
implements Comparable<VirtualIP>

A virtual IP (VIP) makes a load balancer accessible by clients. The load balancing service supports either a public VIP, routable on the public Internet, or a ServiceNet address, routable only within the region in which the load balancer resides.

Author:
Adrian Cole
See Also:

Nested Class Summary
static class VirtualIP.Builder
           
static class VirtualIP.IPVersion
          Virtual IP Versions
static class VirtualIP.Type
          Virtual IP Types
 
Constructor Summary
VirtualIP(int id, String address, VirtualIP.Type type, VirtualIP.IPVersion ipVersion)
           
 
Method Summary
static VirtualIP.Builder builder()
           
 int compareTo(VirtualIP arg0)
           
 boolean equals(Object obj)
           
 String getAddress()
           
 int getId()
           
 VirtualIP.IPVersion getIpVersion()
           
 VirtualIP.Type getType()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VirtualIP

public VirtualIP(int id,
                 String address,
                 VirtualIP.Type type,
                 VirtualIP.IPVersion ipVersion)
Method Detail

builder

public static VirtualIP.Builder builder()

getId

public int getId()

getAddress

public String getAddress()

getType

public VirtualIP.Type getType()

getIpVersion

public VirtualIP.IPVersion getIpVersion()

compareTo

public int compareTo(VirtualIP arg0)
Specified by:
compareTo in interface Comparable<VirtualIP>

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2011 jclouds. All Rights Reserved.