org.jclouds.ec2.domain
Interface IpPermission

All Superinterfaces:
Comparable<IpPermission>
All Known Implementing Classes:
IpPermissionImpl, IpPermissions, IpPermissions.AndCodeSelection, IpPermissions.ICMPTypeSelection, IpPermissions.PortSelection, IpPermissions.ToPortSelection, IpPermissions.ToSourceSelection, IpPermissions.ToVPCSourceSelection

public interface IpPermission
extends Comparable<IpPermission>

Author:
Adrian Cole
See Also:

Method Summary
 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
 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.
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getFromPort

int getFromPort()
Start of port range for the TCP and UDP protocols, or an ICMP type number. An ICMP type number of -1 indicates a wildcard (i.e., any ICMP type number).


getToPort

int getToPort()
End of port range for the TCP and UDP protocols, or an ICMP code. An ICMP code of -1 indicates a wildcard (i.e., any ICMP code).


getUserIdGroupPairs

com.google.common.collect.Multimap<String,String> getUserIdGroupPairs()
List of security group and user ID pairs.


getGroupIds

Set<String> getGroupIds()
List of security group Ids


getIpProtocol

IpProtocol getIpProtocol()
IP protocol


getIpRanges

Set<String> getIpRanges()
IP ranges.



Copyright © 2009-2012 jclouds. All Rights Reserved.