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,
Set<Tag> tags) |
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() |
Set<Tag> |
getTags() |
int |
hashCode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
FirewallRule.Builder<?> |
toBuilder() |
String |
toString() |
protected FirewallRule(String id, @Nullable Iterable<String> CIDRs, int startPort, int endPort, @Nullable String icmpCode, @Nullable String icmpType, @Nullable String ipAddress, @Nullable String ipAddressId, @Nullable FirewallRule.Protocol protocol, @Nullable FirewallRule.State state, @Nullable Set<Tag> tags)
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-2016 The Apache Software Foundation. All Rights Reserved.