@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()
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 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()
One or more values for the DHCP option.
public void setValues(Collection<String> values)
One or more values for the DHCP option.
values
- One or more values for the DHCP option.public DhcpConfiguration withValues(String... values)
One or more 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
- One or more values for the DHCP option.public DhcpConfiguration withValues(Collection<String> values)
One or more values for the DHCP option.
values
- One or more values for the DHCP option.public String toString()
toString
in class Object
Object.toString()
public DhcpConfiguration clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.