org.jclouds.ec2.domain
Class Permission

java.lang.Object
  extended by org.jclouds.ec2.domain.Permission

public class Permission
extends Object

Author:
Adrian Cole
See Also:

Constructor Summary
Permission(Iterable<String> userIds, Iterable<String> groups)
           
 
Method Summary
 boolean equals(Object obj)
           
 Set<String> getGroups()
           
 Set<String> getUserIds()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Permission

public Permission(Iterable<String> userIds,
                  Iterable<String> groups)
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

getGroups

public Set<String> getGroups()
Returns:
Name of the group. Currently supports \"all.\"

getUserIds

public Set<String> getUserIds()
Returns:
AWS Access Key ID.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2011 jclouds. All Rights Reserved.