Package com.amazonaws.services.ec2.model
Class DhcpConfiguration
java.lang.Object
com.amazonaws.services.ec2.model.DhcpConfiguration
- All Implemented Interfaces:
Serializable,Cloneable
Describes a DHCP configuration option.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleangetKey()The name of a DHCP option.One or more values for the DHCP option.inthashCode()voidThe name of a DHCP option.voidsetValues(Collection<String> values) One or more values for the DHCP option.toString()Returns a string representation of this object; useful for testing and debugging.The name of a DHCP option.withValues(String... values) One or more values for the DHCP option.withValues(Collection<String> values) One or more values for the DHCP option.
-
Constructor Details
-
DhcpConfiguration
public DhcpConfiguration()
-
-
Method Details
-
setKey
The name of a DHCP option.
- Parameters:
key- The name of a DHCP option.
-
getKey
The name of a DHCP option.
- Returns:
- The name of a DHCP option.
-
withKey
The name of a DHCP option.
- Parameters:
key- The name of a DHCP option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getValues
One or more values for the DHCP option.
- Returns:
- One or more values for the DHCP option.
-
setValues
One or more values for the DHCP option.
- Parameters:
values- One or more values for the DHCP option.
-
withValues
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)orwithValues(java.util.Collection)if you want to override the existing values.- Parameters:
values- One or more values for the DHCP option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withValues
One or more values for the DHCP option.
- Parameters:
values- One or more values for the DHCP option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-