|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclouds.net.domain.IpPermission
@Beta public class IpPermission
Ingress access to a destination protocol on particular ports by source, which could be an ip range (cidrblock), set of explicit security group ids in the current tenant, or security group names in another tenant.
IpPermissions| Nested Class Summary | |
|---|---|
static class |
IpPermission.Builder
|
| Constructor Summary | |
|---|---|
IpPermission(IpProtocol ipProtocol,
int fromPort,
int toPort,
com.google.common.collect.Multimap<String,String> tenantIdGroupNamePairs,
Iterable<String> groupIds,
Iterable<String> cidrBlocks)
|
|
| Method Summary | |
|---|---|
static IpPermission.Builder |
builder()
|
int |
compareTo(IpPermission o)
|
boolean |
equals(Object o)
|
Set<String> |
getCidrBlocks()
source of traffic is a cidrRange |
int |
getFromPort()
Start of destination port range for the TCP and UDP protocols, or an ICMP type number. |
Set<String> |
getGroupIds()
source of traffic allowed is on basis of another groupid in the same tenant |
IpProtocol |
getIpProtocol()
destination IP protocol |
com.google.common.collect.Multimap<String,String> |
getTenantIdGroupNamePairs()
source of traffic allowed is on basis of another group in a tenant, as opposed to by cidr |
int |
getToPort()
End of destination port range for the TCP and UDP protocols, or an ICMP code. |
int |
hashCode()
|
protected com.google.common.base.Objects.ToStringHelper |
string()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IpPermission(IpProtocol ipProtocol,
int fromPort,
int toPort,
com.google.common.collect.Multimap<String,String> tenantIdGroupNamePairs,
Iterable<String> groupIds,
Iterable<String> cidrBlocks)
| Method Detail |
|---|
public static IpPermission.Builder builder()
public int compareTo(IpPermission o)
compareTo in interface Comparable<IpPermission>public IpProtocol getIpProtocol()
public int getFromPort()
public int getToPort()
public com.google.common.collect.Multimap<String,String> getTenantIdGroupNamePairs()
public Set<String> getGroupIds()
public Set<String> getCidrBlocks()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Objectprotected com.google.common.base.Objects.ToStringHelper string()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||