@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DhcpConfiguration extends Object implements Serializable, Cloneable
Describes a DHCP configuration option.
Constructor and Description |
---|
DhcpConfiguration() |
Modifier and Type | Method and Description |
---|---|
DhcpConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The name of a DHCP option.
|
List<String> |
getValues()
The values for the DHCP option.
|
int |
hashCode() |
void |
setKey(String key)
The name of a DHCP option.
|
void |
setValues(Collection<String> values)
The values for the DHCP option.
|
String |
toString()
Returns a string representation of this object.
|
DhcpConfiguration |
withKey(String key)
The name of a DHCP option.
|
DhcpConfiguration |
withValues(Collection<String> values)
The values for the DHCP option.
|
DhcpConfiguration |
withValues(String... values)
The values for the DHCP option.
|
public void setKey(String key)
The name of a DHCP option.
key
- The name of a DHCP option.public String getKey()
The name of a DHCP option.
public DhcpConfiguration withKey(String key)
The name of a DHCP option.
key
- The name of a DHCP option.public List<String> getValues()
The values for the DHCP option.
public void setValues(Collection<String> values)
The values for the DHCP option.
values
- The values for the DHCP option.public DhcpConfiguration withValues(String... values)
The values for the DHCP option.
NOTE: This method appends the values to the existing list (if any). Use
setValues(java.util.Collection)
or withValues(java.util.Collection)
if you want to override the
existing values.
values
- The values for the DHCP option.public DhcpConfiguration withValues(Collection<String> values)
The values for the DHCP option.
values
- The values for the DHCP option.public String toString()
toString
in class Object
Object.toString()
public DhcpConfiguration clone()