org.jclouds.savvis.vpdc.domain
Class FirewallRule

java.lang.Object
  extended by org.jclouds.savvis.vpdc.domain.ResourceImpl
      extended by 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

Nested Class Summary
static class FirewallRule.Builder
           
 
Field Summary
 
Fields inherited from class org.jclouds.savvis.vpdc.domain.ResourceImpl
href, id, name, type
 
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)
           
 
Method Summary
static FirewallRule.Builder builder()
           
 boolean equals(Object obj)
           
 String getDescription()
           
 String getDestination()
           
 String getFirewallType()
           
 String getPolicy()
           
 String getPort()
           
 String getProtocol()
           
 String getSource()
           
 boolean isEnabled()
           
 boolean isLogged()
           
 FirewallRule.Builder toBuilder()
           
 String toString()
           
 
Methods inherited from class org.jclouds.savvis.vpdc.domain.ResourceImpl
compareTo, getHref, getId, getName, getType, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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

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.