org.jclouds.vcloud.domain.network
Class NatService
java.lang.Object
org.jclouds.vcloud.domain.network.NatService
public class NatService
- extends Object
The NatService element defines the network address translation capabilities of a network.
NatService
public NatService(boolean enabled,
@Nullable
NatType type,
@Nullable
NatPolicy policy,
Iterable<NatRule> natRules)
getNatRules
public List<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-2012 jclouds. All Rights Reserved.