public class DhcpConfiguration
extends java.lang.Object
implements java.io.Serializable
Describes a DHCP configuration option.
Constructor and Description |
---|
DhcpConfiguration() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getKey()
The name of a DHCP option.
|
java.util.List<java.lang.String> |
getValues()
One or more values for the DHCP option.
|
int |
hashCode() |
void |
setKey(java.lang.String key)
The name of a DHCP option.
|
void |
setValues(java.util.Collection<java.lang.String> values)
One or more values for the DHCP option.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DhcpConfiguration |
withKey(java.lang.String key)
The name of a DHCP option.
|
DhcpConfiguration |
withValues(java.util.Collection<java.lang.String> values)
One or more values for the DHCP option.
|
DhcpConfiguration |
withValues(java.lang.String... values)
One or more values for the DHCP option.
|
public java.lang.String getKey()
public void setKey(java.lang.String key)
key
- The name of a DHCP option.public DhcpConfiguration withKey(java.lang.String key)
Returns a reference to this object so that method calls can be chained together.
key
- The name of a DHCP option.public java.util.List<java.lang.String> getValues()
public void setValues(java.util.Collection<java.lang.String> values)
values
- One or more values for the DHCP option.public DhcpConfiguration withValues(java.lang.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(java.util.Collection<java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.