org.jclouds.savvis.vpdc.domain
Class FirewallRule
java.lang.Object
org.jclouds.savvis.vpdc.domain.ResourceImpl
org.jclouds.savvis.vpdc.domain.FirewallRule
- All Implemented Interfaces:
- Comparable<Resource>, Resource
public class FirewallRule
- extends ResourceImpl
API returns a firewall rule in a firewall service
- Author:
- Kedar Dave
Constructor Summary |
FirewallRule(String id,
String name,
String type,
URI href,
String firewallType,
boolean isEnabled,
String source,
String destination,
String port,
String policy,
String description,
boolean isLogged,
String protocol)
|
FirewallRule
public FirewallRule(String id,
String name,
String type,
URI href,
String firewallType,
boolean isEnabled,
String source,
String destination,
String port,
String policy,
String description,
boolean isLogged,
String protocol)
builder
public static FirewallRule.Builder builder()
toBuilder
public FirewallRule.Builder toBuilder()
- Overrides:
toBuilder
in class ResourceImpl
equals
public boolean equals(Object obj)
- Overrides:
equals
in class ResourceImpl
isEnabled
public boolean isEnabled()
getSource
public String getSource()
getDestination
public String getDestination()
getFirewallType
public String getFirewallType()
getPort
public String getPort()
getPolicy
public String getPolicy()
getDescription
public String getDescription()
isLogged
public boolean isLogged()
getProtocol
public String getProtocol()
toString
public String toString()
- Overrides:
toString
in class ResourceImpl
Copyright © 2009-2011 jclouds. All Rights Reserved.