org.jclouds.vcloud.domain.network.firewall
Class FirewallProtocols
java.lang.Object
org.jclouds.vcloud.domain.network.firewall.FirewallProtocols
public class FirewallProtocols
- extends Object
The Protocols element specifies the protocols to which firewall rules apply.
- Since:
- vcloud api 0.9 emulated for 0.8
FirewallProtocols
public FirewallProtocols(boolean tcp,
boolean udp)
isTcp
public boolean isTcp()
- Returns:
- true if the firewall rules apply to the TCP protocol
isUdp
public boolean isUdp()
- Returns:
- true if the firewall rules apply to the UDP protocol
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.