public class DhcpConfiguration extends Object implements Serializable
Describes a DHCP configuration option.
Constructor and Description |
---|
DhcpConfiguration() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getKey()
The name of a DHCP option.
|
List<String> |
getValues()
One or more values for the DHCP option.
|
int |
hashCode() |
void |
setKey(String key)
The name of a DHCP option.
|
void |
setValues(Collection<String> values)
One or more values for the DHCP option.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DhcpConfiguration |
withKey(String key)
The name of a DHCP option.
|
DhcpConfiguration |
withValues(Collection<String> values)
One or more values for the DHCP option.
|
DhcpConfiguration |
withValues(String... values)
One or more values for the DHCP option.
|
public String getKey()
public void setKey(String key)
key
- The name of a DHCP option.public DhcpConfiguration withKey(String key)
Returns a reference to this object so that method calls can be chained together.
key
- The name of a DHCP option.public List<String> getValues()
public void setValues(Collection<String> values)
values
- One or more values for the DHCP option.public DhcpConfiguration withValues(String... values)
Returns a reference to this object so that method calls can be chained together.
values
- One or more values for the DHCP option.public DhcpConfiguration withValues(Collection<String> values)
Returns a reference to this object so that method calls can be chained together.
values
- One or more values for the DHCP option.public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.