org.jclouds.ec2.util
Class IpPermissions.ToSourceSelection

java.lang.Object
  extended by org.jclouds.ec2.domain.IpPermissionImpl
      extended by org.jclouds.ec2.util.IpPermissions
          extended by org.jclouds.ec2.util.IpPermissions.ToVPCSourceSelection
              extended by org.jclouds.ec2.util.IpPermissions.ToSourceSelection
All Implemented Interfaces:
Comparable<IpPermission>, IpPermission
Direct Known Subclasses:
IpPermissions.AndCodeSelection, IpPermissions.ICMPTypeSelection, IpPermissions.PortSelection, IpPermissions.ToPortSelection
Enclosing class:
IpPermissions

public static class IpPermissions.ToSourceSelection
extends IpPermissions.ToVPCSourceSelection


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jclouds.ec2.util.IpPermissions
IpPermissions.AndCodeSelection, IpPermissions.ICMPTypeSelection, IpPermissions.PortSelection, IpPermissions.ToPortSelection, IpPermissions.ToSourceSelection, IpPermissions.ToVPCSourceSelection
 
Nested classes/interfaces inherited from class org.jclouds.ec2.domain.IpPermissionImpl
IpPermissionImpl.Builder
 
Method Summary
 IpPermissions originatingFromCidrBlock(String cidrIp)
           
 IpPermissions originatingFromCidrBlocks(Iterable<String> cidrIps)
           
 IpPermissions originatingFromUserAndSecurityGroup(String userId, String groupName)
           
 IpPermissions toEC2SecurityGroups(com.google.common.collect.Multimap<String,String> userIdGroupNamePairs)
           
 
Methods inherited from class org.jclouds.ec2.util.IpPermissions.ToVPCSourceSelection
originatingFromSecurityGroupId, toVPCSecurityGroups
 
Methods inherited from class org.jclouds.ec2.util.IpPermissions
buildFormParametersForIndex, permit, permitAnyProtocol, permitICMP
 
Methods inherited from class org.jclouds.ec2.domain.IpPermissionImpl
builder, compareTo, equals, getFromPort, getGroupIds, getGroups, getIpProtocol, getIpRanges, getToPort, getUserIdGroupPairs, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

originatingFromCidrBlock

public IpPermissions originatingFromCidrBlock(String cidrIp)

originatingFromCidrBlocks

public IpPermissions originatingFromCidrBlocks(Iterable<String> cidrIps)

originatingFromUserAndSecurityGroup

public IpPermissions originatingFromUserAndSecurityGroup(String userId,
                                                         String groupName)

toEC2SecurityGroups

public IpPermissions toEC2SecurityGroups(com.google.common.collect.Multimap<String,String> userIdGroupNamePairs)


Copyright © 2009-2011 jclouds. All Rights Reserved.