|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jclouds.ec2.domain.IpPermissionImpl
public class IpPermissionImpl
Nested Class Summary | |
---|---|
static class |
IpPermissionImpl.Builder
|
Constructor Summary | |
---|---|
IpPermissionImpl(IpProtocol ipProtocol,
int fromPort,
int toPort,
com.google.common.collect.Multimap<String,String> userIdGroupPairs,
Iterable<String> groupIds,
Iterable<String> ipRanges)
|
Method Summary | |
---|---|
static IpPermissionImpl.Builder |
builder()
|
int |
compareTo(IpPermission o)
|
boolean |
equals(Object obj)
|
int |
getFromPort()
Start of port range for the TCP and UDP protocols, or an ICMP type number. |
Set<String> |
getGroupIds()
List of security group Ids |
Set<UserIdGroupPair> |
getGroups()
Deprecated. |
IpProtocol |
getIpProtocol()
IP protocol |
Set<String> |
getIpRanges()
IP ranges. |
int |
getToPort()
End of port range for the TCP and UDP protocols, or an ICMP code. |
com.google.common.collect.Multimap<String,String> |
getUserIdGroupPairs()
List of security group and user ID pairs. |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IpPermissionImpl(IpProtocol ipProtocol, int fromPort, int toPort, com.google.common.collect.Multimap<String,String> userIdGroupPairs, Iterable<String> groupIds, Iterable<String> ipRanges)
Method Detail |
---|
public static IpPermissionImpl.Builder builder()
public int compareTo(IpPermission o)
compareTo
in interface Comparable<IpPermission>
public int getFromPort()
getFromPort
in interface IpPermission
public int getToPort()
getToPort
in interface IpPermission
@Deprecated public Set<UserIdGroupPair> getGroups()
getGroups
in interface IpPermission
IpPermission.getUserIdGroupPairs()
public com.google.common.collect.Multimap<String,String> getUserIdGroupPairs()
getUserIdGroupPairs
in interface IpPermission
public Set<String> getGroupIds()
getGroupIds
in interface IpPermission
public IpProtocol getIpProtocol()
getIpProtocol
in interface IpPermission
public Set<String> getIpRanges()
getIpRanges
in interface IpPermission
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |