org.jclouds.cloudservers.domain
Class SharedIpGroup
java.lang.Object
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
SharedIpGroup
public SharedIpGroup()
SharedIpGroup
public SharedIpGroup(int id,
String name)
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.