org.jclouds.ec2.domain
Class UserIdGroupPair

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

public class UserIdGroupPair
extends Object
implements Comparable<UserIdGroupPair>

Author:
Adrian Cole
See Also:

Constructor Summary
UserIdGroupPair(String userId, String groupName)
           
 
Method Summary
 int compareTo(UserIdGroupPair o)
          
 boolean equals(Object obj)
           
 String getGroupName()
          Name of the security group.
 String getUserId()
          AWS User ID of an identity.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserIdGroupPair

public UserIdGroupPair(String userId,
                       String groupName)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

compareTo

public int compareTo(UserIdGroupPair o)

Specified by:
compareTo in interface Comparable<UserIdGroupPair>

getUserId

public String getUserId()
AWS User ID of an identity. Cannot be used when specifying a CIDR IP address.


getGroupName

public String getGroupName()
Name of the security group. Cannot be used when specifying a CIDR IP address.


hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


Copyright © 2009-2011 jclouds. All Rights Reserved.