public class DhcpOptions
extends java.lang.Object
implements java.io.Serializable
Describes a set of DHCP options.
Constructor and Description |
---|
DhcpOptions() |
Modifier and Type | Method and Description |
---|---|
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.
|
public java.lang.String getDhcpOptionsId()
public void setDhcpOptionsId(java.lang.String dhcpOptionsId)
dhcpOptionsId
- The ID of the set of DHCP options.public DhcpOptions withDhcpOptionsId(java.lang.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 java.util.List<DhcpConfiguration> getDhcpConfigurations()
public void setDhcpConfigurations(java.util.Collection<DhcpConfiguration> dhcpConfigurations)
dhcpConfigurations
- One or more DHCP options in the set.public DhcpOptions withDhcpConfigurations(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 DhcpOptions withDhcpConfigurations(java.util.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 java.util.List<Tag> getTags()
public void setTags(java.util.Collection<Tag> tags)
tags
- Any tags assigned to the DHCP options set.public DhcpOptions withTags(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 DhcpOptions withTags(java.util.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.