org.jclouds.cloudservers.domain
Class SharedIpGroup

java.lang.Object
  extended by org.jclouds.cloudservers.domain.SharedIpGroup

public class SharedIpGroup
extends Object

A shared IP group is a collection of servers that can share IPs with other members of the group. Any server in a group can share one or more public IPs with any other server in the group. With the exception of the first server in a shared IP group, servers must be launched into shared IP groups. A server may only be a member of one shared IP group.

Author:
Adrian Cole

Constructor Summary
SharedIpGroup()
           
SharedIpGroup(int id, String name)
           
 
Method Summary
 boolean equals(Object obj)
           
 int getId()
           
 String getName()
           
 List<Integer> getServers()
           
 int hashCode()
           
 void setId(int id)
           
 void setName(String name)
           
 void setServers(List<Integer> servers)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SharedIpGroup

public SharedIpGroup()

SharedIpGroup

public SharedIpGroup(int id,
                     String name)
Method Detail

setId

public void setId(int id)

getId

public int getId()

setName

public void setName(String name)

getName

public String getName()

setServers

public void setServers(List<Integer> servers)

getServers

public List<Integer> getServers()

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-2012 jclouds. All Rights Reserved.