public class DhcpOptions
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes a set of DHCP options.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<DhcpConfiguration> |
dhcpConfigurations
One or more DHCP options in the set.
|
private java.lang.String |
dhcpOptionsId
The ID of the set of DHCP options.
|
private SdkInternalList<Tag> |
tags
Any tags assigned to the DHCP options set.
|
Constructor and Description |
---|
DhcpOptions() |
Modifier and Type | Method and Description |
---|---|
DhcpOptions |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<DhcpConfiguration> |
getDhcpConfigurations()
One or more DHCP options in the set.
|
java.lang.String |
getDhcpOptionsId()
The ID of the set of DHCP options.
|
java.util.List<Tag> |
getTags()
Any tags assigned to the DHCP options set.
|
int |
hashCode() |
void |
setDhcpConfigurations(java.util.Collection<DhcpConfiguration> dhcpConfigurations)
One or more DHCP options in the set.
|
void |
setDhcpOptionsId(java.lang.String dhcpOptionsId)
The ID of the set of DHCP options.
|
void |
setTags(java.util.Collection<Tag> tags)
Any tags assigned to the DHCP options set.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DhcpOptions |
withDhcpConfigurations(java.util.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(java.lang.String dhcpOptionsId)
The ID of the set of DHCP options.
|
DhcpOptions |
withTags(java.util.Collection<Tag> tags)
Any tags assigned to the DHCP options set.
|
DhcpOptions |
withTags(Tag... tags)
Any tags assigned to the DHCP options set.
|
private java.lang.String dhcpOptionsId
The ID of the set of DHCP options.
private SdkInternalList<DhcpConfiguration> dhcpConfigurations
One or more DHCP options in the set.
private SdkInternalList<Tag> tags
Any tags assigned to the DHCP options set.
public void setDhcpOptionsId(java.lang.String dhcpOptionsId)
The ID of the set of DHCP options.
dhcpOptionsId
- The ID of the set of DHCP options.public java.lang.String getDhcpOptionsId()
The ID of the set of DHCP options.
public DhcpOptions withDhcpOptionsId(java.lang.String dhcpOptionsId)
The ID of the set of DHCP options.
dhcpOptionsId
- The ID of the set of DHCP options.public java.util.List<DhcpConfiguration> getDhcpConfigurations()
One or more DHCP options in the set.
public void setDhcpConfigurations(java.util.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(java.util.Collection<DhcpConfiguration> dhcpConfigurations)
One or more DHCP options in the set.
dhcpConfigurations
- One or more DHCP options in the set.public java.util.List<Tag> getTags()
Any tags assigned to the DHCP options set.
public void setTags(java.util.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(java.util.Collection<Tag> tags)
Any tags assigned to the DHCP options set.
tags
- Any tags assigned to the DHCP options set.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DhcpOptions clone()
clone
in class java.lang.Object