org.jclouds.vcloud.domain.network
Class NatService

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

public class NatService
extends Object

The NatService element defines the network address translation capabilities of a network.


Constructor Summary
NatService(boolean enabled, NatType type, NatPolicy policy, Iterable<? extends NatRule> natRules)
           
 
Method Summary
 boolean equals(Object obj)
           
 List<? extends NatRule> getNatRules()
           
 NatPolicy getPolicy()
           
 NatType getType()
           
 int hashCode()
           
 boolean isEnabled()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NatService

public NatService(boolean enabled,
                  @Nullable
                  NatType type,
                  @Nullable
                  NatPolicy policy,
                  Iterable<? extends NatRule> natRules)
Method Detail

getNatRules

public List<? extends NatRule> getNatRules()
Returns:
Nat rules for the network
Since:
vcloud api 0.8

isEnabled

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

getType

@Nullable
public NatType getType()
Returns:
specifies how Network Address Translation is implemented by the NAT service
Since:
vcloud api 0.9

getPolicy

@Nullable
public NatPolicy getPolicy()
Returns:
specifies how packets are handled by the NAT service.
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-2011 jclouds. All Rights Reserved.