public class IpPermissions extends IpPermission
Modifier and Type | Class and Description |
---|---|
static class |
IpPermissions.AndCodeSelection |
static class |
IpPermissions.ICMPTypeSelection |
static class |
IpPermissions.PortSelection |
static class |
IpPermissions.ToGroupSourceSelection |
static class |
IpPermissions.ToPortSelection |
static class |
IpPermissions.ToSourceSelection |
IpPermission.Builder
Modifier | Constructor and Description |
---|---|
protected |
IpPermissions(IpProtocol ipProtocol,
int fromPort,
int toPort,
com.google.common.collect.Multimap<String,String> tenantIdGroupPairs,
Iterable<String> groupIds,
Iterable<String> cidrBlocks,
Iterable<String> exclusionCidrBlocks) |
Modifier and Type | Method and Description |
---|---|
static IpPermissions.PortSelection |
permit(IpProtocol protocol) |
static IpPermissions.ToSourceSelection |
permitAnyProtocol() |
static IpPermissions.ICMPTypeSelection |
permitICMP() |
builder, compareTo, equals, getCidrBlocks, getExclusionCidrBlocks, getFromPort, getGroupIds, getIpProtocol, getTenantIdGroupNamePairs, getToPort, hashCode, string, toString
public static IpPermissions.ICMPTypeSelection permitICMP()
public static IpPermissions.ToSourceSelection permitAnyProtocol()
public static IpPermissions.PortSelection permit(IpProtocol protocol)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.