Package org.jclouds.cloudstack.domain
Class FirewallRule
- java.lang.Object
-
- org.jclouds.cloudstack.domain.FirewallRule
-
- All Implemented Interfaces:
Comparable<FirewallRule>
public class FirewallRule extends Object implements Comparable<FirewallRule>
Class FirewallRule
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFirewallRule.Builder<T extends FirewallRule.Builder<T>>static classFirewallRule.Protocolstatic classFirewallRule.State
-
Constructor Summary
Constructors Modifier Constructor Description protectedFirewallRule(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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FirewallRule.Builder<?>builder()intcompareTo(FirewallRule other)booleanequals(Object obj)Set<String>getCIDRs()intgetEndPort()StringgetIcmpCode()StringgetIcmpType()StringgetId()StringgetIpAddress()StringgetIpAddressId()FirewallRule.ProtocolgetProtocol()intgetStartPort()FirewallRule.StategetState()Set<Tag>getTags()inthashCode()protected com.google.common.base.MoreObjects.ToStringHelperstring()FirewallRule.Builder<?>toBuilder()StringtoString()
-
-
-
Constructor Detail
-
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 Detail
-
builder
public static FirewallRule.Builder<?> builder()
-
toBuilder
public FirewallRule.Builder<?> toBuilder()
-
getId
public String getId()
-
getStartPort
public int getStartPort()
-
getEndPort
public int getEndPort()
-
getProtocol
@Nullable public FirewallRule.Protocol getProtocol()
-
getState
@Nullable public FirewallRule.State getState()
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
compareTo
public int compareTo(FirewallRule other)
- Specified by:
compareToin interfaceComparable<FirewallRule>
-
-