org.jclouds.cloudstack.domain
Class FirewallRule

java.lang.Object
  extended by org.jclouds.cloudstack.domain.FirewallRule
All Implemented Interfaces:
Comparable<FirewallRule>

public class FirewallRule
extends Object
implements Comparable<FirewallRule>

Author:
Andrei Savu

Nested Class Summary
static class FirewallRule.Builder
           
static class FirewallRule.Protocol
           
static class FirewallRule.State
           
 
Constructor Summary
FirewallRule(long id, Set<String> CIDRs, int startPort, int endPort, String icmpCode, String icmpType, String ipAddress, long ipAddressId, FirewallRule.Protocol protocol, FirewallRule.State state)
           
 
Method Summary
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()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FirewallRule

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)
Method Detail

builder

public static FirewallRule.Builder builder()

compareTo

public int compareTo(FirewallRule arg0)
Specified by:
compareTo in interface Comparable<FirewallRule>

getId

public long getId()

getCIDRs

public Set<String> getCIDRs()

getStartPort

public int getStartPort()

getEndPort

public int getEndPort()

getIcmpCode

public String getIcmpCode()

getIcmpType

public String getIcmpType()

getIpAddress

public String getIpAddress()

getIpAddressId

public long getIpAddressId()

getProtocol

public FirewallRule.Protocol getProtocol()

getState

public FirewallRule.State getState()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2012 jclouds. All Rights Reserved.