@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DhcpOptions extends Object implements Serializable, Cloneable
The set of DHCP options.
Constructor and Description |
---|
DhcpOptions() |
Modifier and Type | Method and Description |
---|---|
DhcpOptions |
clone() |
boolean |
equals(Object obj) |
List<DhcpConfiguration> |
getDhcpConfigurations()
The DHCP options in the set.
|
String |
getDhcpOptionsId()
The ID of the set of DHCP options.
|
String |
getOwnerId()
The ID of the Amazon Web Services account that owns the DHCP options set.
|
List<Tag> |
getTags()
Any tags assigned to the DHCP options set.
|
int |
hashCode() |
void |
setDhcpConfigurations(Collection<DhcpConfiguration> dhcpConfigurations)
The DHCP options in the set.
|
void |
setDhcpOptionsId(String dhcpOptionsId)
The ID of the set of DHCP options.
|
void |
setOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns the DHCP options set.
|
void |
setTags(Collection<Tag> tags)
Any tags assigned to the DHCP options set.
|
String |
toString()
Returns a string representation of this object.
|
DhcpOptions |
withDhcpConfigurations(Collection<DhcpConfiguration> dhcpConfigurations)
The DHCP options in the set.
|
DhcpOptions |
withDhcpConfigurations(DhcpConfiguration... dhcpConfigurations)
The DHCP options in the set.
|
DhcpOptions |
withDhcpOptionsId(String dhcpOptionsId)
The ID of the set of DHCP options.
|
DhcpOptions |
withOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns the DHCP options set.
|
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()
The DHCP options in the set.
public void setDhcpConfigurations(Collection<DhcpConfiguration> dhcpConfigurations)
The DHCP options in the set.
dhcpConfigurations
- The DHCP options in the set.public DhcpOptions withDhcpConfigurations(DhcpConfiguration... dhcpConfigurations)
The 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
- The DHCP options in the set.public DhcpOptions withDhcpConfigurations(Collection<DhcpConfiguration> dhcpConfigurations)
The DHCP options in the set.
dhcpConfigurations
- The 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 void setOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns the DHCP options set.
ownerId
- The ID of the Amazon Web Services account that owns the DHCP options set.public String getOwnerId()
The ID of the Amazon Web Services account that owns the DHCP options set.
public DhcpOptions withOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns the DHCP options set.
ownerId
- The ID of the Amazon Web Services account that owns the DHCP options set.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()