org.jclouds.ec2.util
Class IpPermissions
java.lang.Object
org.jclouds.ec2.domain.IpPermissionImpl
org.jclouds.ec2.util.IpPermissions
- All Implemented Interfaces:
- Comparable<IpPermission>, IpPermission
- Direct Known Subclasses:
- IpPermissions.ToVPCSourceSelection
public class IpPermissions
- extends IpPermissionImpl
Shortcut to create ingress rules
- Author:
- Adrian Cole
Methods inherited from class org.jclouds.ec2.domain.IpPermissionImpl |
builder, compareTo, equals, getFromPort, getGroupIds, getIpProtocol, getIpRanges, getToPort, getUserIdGroupPairs, hashCode, toString |
IpPermissions
protected IpPermissions(IpProtocol ipProtocol,
int fromPort,
int toPort,
com.google.common.collect.Multimap<String,String> userIdGroupPairs,
Iterable<String> groupIds,
Iterable<String> ipRanges)
buildFormParametersForIndex
@Beta
public static com.google.common.collect.Multimap<String,String> buildFormParametersForIndex(int index,
IpPermission permission)
- don't rely on this being here.. it will move
permitICMP
public static IpPermissions.ICMPTypeSelection permitICMP()
permitAnyProtocol
public static IpPermissions.ToSourceSelection permitAnyProtocol()
permit
public static IpPermissions.PortSelection permit(IpProtocol protocol)
Copyright © 2009-2012 jclouds. All Rights Reserved.