Package org.jclouds.ec2.util
Class IpPermissions.ToSourceSelection
- java.lang.Object
-
- org.jclouds.net.domain.IpPermission
-
- org.jclouds.ec2.util.IpPermissions
-
- org.jclouds.ec2.util.IpPermissions.ToVPCSourceSelection
-
- org.jclouds.ec2.util.IpPermissions.ToSourceSelection
-
- All Implemented Interfaces:
Comparable<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.net.domain.IpPermission
IpPermission.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IpPermissions
originatingFromCidrBlock(String cidrIp)
IpPermissions
originatingFromCidrBlocks(Iterable<String> cidrIps)
IpPermissions
originatingFromUserAndSecurityGroup(String userId, String groupName)
IpPermissions
toEC2SecurityGroups(com.google.common.collect.Multimap<String,String> tenantIdGroupNamePairs)
-
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.net.domain.IpPermission
builder, compareTo, equals, getCidrBlocks, getExclusionCidrBlocks, getFromPort, getGroupIds, getIpProtocol, getTenantIdGroupNamePairs, getToPort, hashCode, string, toString
-
-
-
-
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> tenantIdGroupNamePairs)
-
-