org.jclouds.ec2.util
Class IpPermissions.ToVPCSourceSelection

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
All Implemented Interfaces:
Comparable<IpPermission>, IpPermission
Direct Known Subclasses:
IpPermissions.ToSourceSelection
Enclosing class:
IpPermissions

public static class IpPermissions.ToVPCSourceSelection
extends IpPermissions


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
 
Constructor Summary
protected IpPermissions.ToVPCSourceSelection(IpProtocol ipProtocol, int fromPort, int toPort)
           
 
Method Summary
 IpPermissions originatingFromSecurityGroupId(String groupId)
           
 IpPermissions toVPCSecurityGroups(Iterable<String> groupIds)
           
 
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, getIpProtocol, getIpRanges, getToPort, getUserIdGroupPairs, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IpPermissions.ToVPCSourceSelection

protected IpPermissions.ToVPCSourceSelection(IpProtocol ipProtocol,
                                             int fromPort,
                                             int toPort)
Method Detail

originatingFromSecurityGroupId

public IpPermissions originatingFromSecurityGroupId(String groupId)

toVPCSecurityGroups

public IpPermissions toVPCSecurityGroups(Iterable<String> groupIds)


Copyright © 2009-2012 jclouds. All Rights Reserved.