org.jclouds.vcloud.domain.network
Class FirewallService

java.lang.Object
  extended by org.jclouds.vcloud.domain.network.FirewallService

public class FirewallService
extends Object

The FirewallService element defines the firewall service capabilities of a network.


Constructor Summary
FirewallService(boolean enabled, Iterable<FirewallRule> firewallRules)
           
 
Method Summary
 boolean equals(Object obj)
           
 List<FirewallRule> getFirewallRules()
           
 int hashCode()
           
 boolean isEnabled()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FirewallService

public FirewallService(boolean enabled,
                       Iterable<FirewallRule> firewallRules)
Method Detail

getFirewallRules

public List<FirewallRule> getFirewallRules()
Returns:
Firewall rules for the network
Since:
vcloud api 0.8

isEnabled

@Nullable
public boolean isEnabled()
Returns:
true if the service is enabled
Since:
vcloud api 0.9

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2012 jclouds. All Rights Reserved.