public class FirewallRule extends Object implements Comparable<FirewallRule>
| Modifier and Type | Class and Description |
|---|---|
static class |
FirewallRule.Builder |
static class |
FirewallRule.Protocol |
static class |
FirewallRule.State |
| Constructor and Description |
|---|
FirewallRule(long id,
Set<String> CIDRs,
int startPort,
int endPort,
String icmpCode,
String icmpType,
String ipAddress,
long ipAddressId,
FirewallRule.Protocol protocol,
FirewallRule.State state) |
| Modifier and Type | Method and Description |
|---|---|
static FirewallRule.Builder |
builder() |
int |
compareTo(FirewallRule arg0) |
boolean |
equals(Object o) |
Set<String> |
getCIDRs() |
int |
getEndPort() |
String |
getIcmpCode() |
String |
getIcmpType() |
long |
getId() |
String |
getIpAddress() |
long |
getIpAddressId() |
FirewallRule.Protocol |
getProtocol() |
int |
getStartPort() |
FirewallRule.State |
getState() |
int |
hashCode() |
String |
toString() |
public FirewallRule(long id,
Set<String> CIDRs,
int startPort,
int endPort,
String icmpCode,
String icmpType,
String ipAddress,
long ipAddressId,
FirewallRule.Protocol protocol,
FirewallRule.State state)
public static FirewallRule.Builder builder()
public int compareTo(FirewallRule arg0)
compareTo in interface Comparable<FirewallRule>public long getId()
public int getStartPort()
public int getEndPort()
public String getIcmpCode()
public String getIcmpType()
public String getIpAddress()
public long getIpAddressId()
public FirewallRule.Protocol getProtocol()
public FirewallRule.State getState()
Copyright © 2009-2012 jclouds. All Rights Reserved.