org.jclouds.cloudloadbalancers.domain
Class VirtualIP
java.lang.Object
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:
VirtualIP
public VirtualIP(int id,
String address,
VirtualIP.Type type,
VirtualIP.IPVersion ipVersion)
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.