Package org.jclouds.cloudstack.domain
Class FirewallRule
java.lang.Object
org.jclouds.cloudstack.domain.FirewallRule
- All Implemented Interfaces:
Comparable<FirewallRule>
Class FirewallRule
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
FirewallRule.Builder<T extends FirewallRule.Builder<T>>
static enum
static enum
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
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) -
Method Summary
-
Constructor Details
-
FirewallRule
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)
-
-
Method Details
-
builder
-
toBuilder
-
getId
-
getCIDRs
-
getStartPort
public int getStartPort() -
getEndPort
public int getEndPort() -
getIcmpCode
-
getIcmpType
-
getIpAddress
-
getIpAddressId
-
getProtocol
-
getState
-
getTags
-
hashCode
public int hashCode() -
equals
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string() -
toString
-
compareTo
- Specified by:
compareTo
in interfaceComparable<FirewallRule>
-