org.jclouds.vcloud.domain.network
Class DhcpService

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

public class DhcpService
extends Object

specifies the properties of the network’s DHCP service


Constructor Summary
DhcpService(boolean enabled, Integer defaultLeaseTime, Integer maxLeaseTime, IpRange ipRange)
           
 
Method Summary
 boolean equals(Object obj)
           
 Integer getDefaultLeaseTime()
          default duration of a DCHP address lease
 IpRange getIpRange()
           
 Integer getMaxLeaseTime()
          maximum duration of a DCHP address lease.
 int hashCode()
           
 boolean isEnabled()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DhcpService

public DhcpService(boolean enabled,
                   @Nullable
                   Integer defaultLeaseTime,
                   @Nullable
                   Integer maxLeaseTime,
                   @Nullable
                   IpRange ipRange)
Method Detail

isEnabled

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

getDefaultLeaseTime

@Nullable
public Integer getDefaultLeaseTime()
default duration of a DCHP address lease

Since:
vcloud api 0.9

getMaxLeaseTime

@Nullable
public Integer getMaxLeaseTime()
maximum duration of a DCHP address lease.

Since:
vcloud api 0.9

getIpRange

@Nullable
public IpRange getIpRange()
Returns:
range of IP addresses available to DHCP clients
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.