org.jclouds.vcloud.domain.network
Class DhcpService
java.lang.Object
org.jclouds.vcloud.domain.network.DhcpService
public class DhcpService
- extends Object
specifies the properties of the network’s DHCP service
DhcpService
public DhcpService(boolean enabled,
@Nullable
Integer defaultLeaseTime,
@Nullable
Integer maxLeaseTime,
@Nullable
IpRange ipRange)
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-2012 jclouds. All Rights Reserved.