public class IpPermission extends Object
Modifier and Type | Class and Description |
---|---|
static class |
IpPermission.Builder |
Constructor and Description |
---|
IpPermission(IpProtocol ipProtocol,
int fromPort,
int toPort,
com.google.common.collect.Multimap<String,String> userIdGroupPairs,
Iterable<String> groupIds,
Iterable<String> ipRanges) |
Modifier and Type | Method and Description |
---|---|
static IpPermission.Builder |
builder() |
boolean |
equals(Object obj) |
int |
getFromPort()
Start of port range for the TCP and UDP protocols, or an ICMP type number.
|
Set<String> |
getGroupIds()
List of security group Ids
|
IpProtocol |
getIpProtocol()
IP protocol
|
Set<String> |
getIpRanges()
IP ranges.
|
int |
getToPort()
End of port range for the TCP and UDP protocols, or an ICMP code.
|
com.google.common.collect.Multimap<String,String> |
getUserIdGroupPairs()
List of security group and user ID pairs.
|
int |
hashCode() |
String |
toString() |
public static IpPermission.Builder builder()
public int getFromPort()
public int getToPort()
public com.google.common.collect.Multimap<String,String> getUserIdGroupPairs()
public IpProtocol getIpProtocol()
Copyright © 2009-2013 jclouds. All Rights Reserved.