@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 List<DhcpConfiguration> getDhcpConfigurations()
One or more DHCP options in the set.
public void setDhcpConfigurations(Collection<DhcpConfiguration> dhcpConfigurations)
One or more DHCP options in the set.
dhcpConfigurations
- One or more DHCP options in the set.public DhcpOptions withDhcpConfigurations(DhcpConfiguration... dhcpConfigurations)
One or more DHCP options in the set.
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.
dhcpConfigurations
- One or more DHCP options in the set.public DhcpOptions withDhcpConfigurations(Collection<DhcpConfiguration> dhcpConfigurations)
One or more DHCP options in the set.
dhcpConfigurations
- One or more DHCP options in the set.public void setDhcpOptionsId(String dhcpOptionsId)
The ID of the set of DHCP options.
dhcpOptionsId
- The ID of the set of DHCP options.public String getDhcpOptionsId()
The ID of the set of DHCP options.
public DhcpOptions withDhcpOptionsId(String dhcpOptionsId)
The ID of the set of DHCP options.
dhcpOptionsId
- The ID of the set of DHCP options.public List<Tag> getTags()
Any tags assigned to the DHCP options set.
public void setTags(Collection<Tag> tags)
Any tags assigned to the DHCP options set.
tags
- Any tags assigned to the DHCP options set.public DhcpOptions withTags(Tag... tags)
Any tags assigned to the DHCP options set.
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.
tags
- Any tags assigned to the DHCP options set.public DhcpOptions withTags(Collection<Tag> tags)
Any tags assigned to the DHCP options set.
tags
- Any tags assigned to the DHCP options set.public String toString()
toString
in class Object
Object.toString()
public DhcpOptions clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.