public class DhcpOptions extends Object implements Serializable, Cloneable
Describes a set of DHCP options.
| Constructor and Description |
|---|
DhcpOptions() |
| Modifier and Type | Method and Description |
|---|---|
DhcpOptions |
clone() |
boolean |
equals(Object obj) |
List<DhcpConfiguration> |
getDhcpConfigurations()
One or more DHCP options in the set.
|
String |
getDhcpOptionsId()
The ID of the set of DHCP options.
|
List<Tag> |
getTags()
Any tags assigned to the DHCP options set.
|
int |
hashCode() |
void |
setDhcpConfigurations(Collection<DhcpConfiguration> dhcpConfigurations)
One or more DHCP options in the set.
|
void |
setDhcpOptionsId(String dhcpOptionsId)
The ID of the set of DHCP options.
|
void |
setTags(Collection<Tag> tags)
Any tags assigned to the DHCP options set.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DhcpOptions |
withDhcpConfigurations(Collection<DhcpConfiguration> dhcpConfigurations)
One or more DHCP options in the set.
|
DhcpOptions |
withDhcpConfigurations(DhcpConfiguration... dhcpConfigurations)
One or more DHCP options in the set.
|
DhcpOptions |
withDhcpOptionsId(String dhcpOptionsId)
The ID of the set of DHCP options.
|
DhcpOptions |
withTags(Collection<Tag> tags)
Any tags assigned to the DHCP options set.
|
DhcpOptions |
withTags(Tag... tags)
Any tags assigned to the DHCP options set.
|
public String getDhcpOptionsId()
public void setDhcpOptionsId(String dhcpOptionsId)
dhcpOptionsId - The ID of the set of DHCP options.public DhcpOptions withDhcpOptionsId(String dhcpOptionsId)
Returns a reference to this object so that method calls can be chained together.
dhcpOptionsId - The ID of the set of DHCP options.public List<DhcpConfiguration> getDhcpConfigurations()
public void setDhcpConfigurations(Collection<DhcpConfiguration> dhcpConfigurations)
dhcpConfigurations - One or more DHCP options in the set.public DhcpOptions withDhcpConfigurations(DhcpConfiguration... dhcpConfigurations)
NOTE: This method appends the values to the existing list (if
any). Use setDhcpConfigurations(java.util.Collection) or
withDhcpConfigurations(java.util.Collection) if you want to
override the existing values.
Returns a reference to this object so that method calls can be chained together.
dhcpConfigurations - One or more DHCP options in the set.public DhcpOptions withDhcpConfigurations(Collection<DhcpConfiguration> dhcpConfigurations)
Returns a reference to this object so that method calls can be chained together.
dhcpConfigurations - One or more DHCP options in the set.public List<Tag> getTags()
public void setTags(Collection<Tag> tags)
tags - Any tags assigned to the DHCP options set.public DhcpOptions withTags(Tag... tags)
NOTE: This method appends the values to the existing list (if
any). Use setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the existing
values.
Returns a reference to this object so that method calls can be chained together.
tags - Any tags assigned to the DHCP options set.public DhcpOptions withTags(Collection<Tag> tags)
Returns a reference to this object so that method calls can be chained together.
tags - Any tags assigned to the DHCP options set.public String toString()
toString in class ObjectObject.toString()public DhcpOptions clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.