| Modifier and Type | Class and Description |
|---|---|
static class |
Firewall.Rule.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Firewall.Rule.Builder |
builder() |
boolean |
equals(Object obj) |
org.jclouds.net.domain.IpProtocol |
getIpProtocol()
This can either be a well known protocol string (tcp, udp or icmp) or the IP protocol number.
|
com.google.common.collect.RangeSet<Integer> |
getPorts()
Each entry must be either an integer or a range.
|
int |
hashCode() |
static Firewall.Rule |
permitTcpRule(Integer port) |
static Firewall.Rule |
permitTcpRule(Integer start,
Integer end) |
static Firewall.Rule |
permitUdpRule(Integer port) |
static Firewall.Rule |
permitUdpRule(Integer start,
Integer end) |
com.google.common.base.Objects.ToStringHelper |
string() |
Firewall.Rule.Builder |
toBuilder() |
String |
toString() |
public static Firewall.Rule permitTcpRule(Integer start, Integer end)
public static Firewall.Rule permitTcpRule(Integer port)
public static Firewall.Rule permitUdpRule(Integer start, Integer end)
public static Firewall.Rule permitUdpRule(Integer port)
public org.jclouds.net.domain.IpProtocol getIpProtocol()
public com.google.common.collect.RangeSet<Integer> getPorts()
public com.google.common.base.Objects.ToStringHelper string()
public static Firewall.Rule.Builder builder()
public Firewall.Rule.Builder toBuilder()
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.