org.jclouds.ec2.domain
Class UserIdGroupPair
java.lang.Object
org.jclouds.ec2.domain.UserIdGroupPair
- All Implemented Interfaces:
- Comparable<UserIdGroupPair>
public class UserIdGroupPair
- extends Object
- implements Comparable<UserIdGroupPair>
- Author:
- Adrian Cole
- See Also:
UserIdGroupPair
public UserIdGroupPair(String userId,
String groupName)
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-2012 jclouds. All Rights Reserved.