|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclouds.googlecomputeengine.domain.Firewall.Rule
public static final class Firewall.Rule
A Firewall rule. Rule specifies a protocol and port-range tuple that describes a permitted connection.
| Nested Class Summary | |
|---|---|
static class |
Firewall.Rule.Builder
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
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 int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic com.google.common.base.Objects.ToStringHelper string()
public String toString()
toString in class Objectpublic static Firewall.Rule.Builder builder()
public Firewall.Rule.Builder toBuilder()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||