public class FirewallRule extends Object implements Comparable<FirewallRule>
Modifier and Type | Class and Description |
---|---|
static class |
FirewallRule.Builder<T extends FirewallRule.Builder<T>> |
static class |
FirewallRule.Protocol |
static class |
FirewallRule.State |
Modifier | Constructor and Description |
---|---|
protected |
FirewallRule(String id,
Iterable<String> CIDRs,
int startPort,
int endPort,
String icmpCode,
String icmpType,
String ipAddress,
String ipAddressId,
FirewallRule.Protocol protocol,
FirewallRule.State state) |
Modifier and Type | Method and Description |
---|---|
static FirewallRule.Builder<?> |
builder() |
int |
compareTo(FirewallRule other) |
boolean |
equals(Object obj) |
Set<String> |
getCIDRs() |
int |
getEndPort() |
String |
getIcmpCode() |
String |
getIcmpType() |
String |
getId() |
String |
getIpAddress() |
String |
getIpAddressId() |
FirewallRule.Protocol |
getProtocol() |
int |
getStartPort() |
FirewallRule.State |
getState() |
int |
hashCode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
FirewallRule.Builder<?> |
toBuilder() |
String |
toString() |
public static FirewallRule.Builder<?> builder()
public FirewallRule.Builder<?> toBuilder()
public String getId()
public int getStartPort()
public int getEndPort()
@Nullable public FirewallRule.Protocol getProtocol()
@Nullable public FirewallRule.State getState()
protected com.google.common.base.Objects.ToStringHelper string()
public int compareTo(FirewallRule other)
compareTo
in interface Comparable<FirewallRule>
Copyright © 2009-2013 jclouds. All Rights Reserved.