com.amazonaws.services.ec2.model
Class DhcpOptions

java.lang.Object
  extended by com.amazonaws.services.ec2.model.DhcpOptions
All Implemented Interfaces:
java.io.Serializable

public class DhcpOptions
extends java.lang.Object
implements java.io.Serializable

Describes a set of DHCP options.

See Also:
Serialized Form

Constructor Summary
DhcpOptions()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DhcpOptions

public DhcpOptions()
Method Detail

getDhcpOptionsId

public java.lang.String getDhcpOptionsId()
The ID of the set of DHCP options.

Returns:
The ID of the set of DHCP options.

setDhcpOptionsId

public void setDhcpOptionsId(java.lang.String dhcpOptionsId)
The ID of the set of DHCP options.

Parameters:
dhcpOptionsId - The ID of the set of DHCP options.

withDhcpOptionsId

public DhcpOptions withDhcpOptionsId(java.lang.String dhcpOptionsId)
The ID of the set of DHCP options.

Returns a reference to this object so that method calls can be chained together.

Parameters:
dhcpOptionsId - The ID of the set of DHCP options.
Returns:
A reference to this updated object so that method calls can be chained together.

getDhcpConfigurations

public java.util.List<DhcpConfiguration> getDhcpConfigurations()
One or more DHCP options in the set.

Returns:
One or more DHCP options in the set.

setDhcpConfigurations

public void setDhcpConfigurations(java.util.Collection<DhcpConfiguration> dhcpConfigurations)
One or more DHCP options in the set.

Parameters:
dhcpConfigurations - One or more DHCP options in the set.

withDhcpConfigurations

public DhcpOptions withDhcpConfigurations(DhcpConfiguration... dhcpConfigurations)
One or more DHCP options in the set.

Returns a reference to this object so that method calls can be chained together.

Parameters:
dhcpConfigurations - One or more DHCP options in the set.
Returns:
A reference to this updated object so that method calls can be chained together.

withDhcpConfigurations

public DhcpOptions withDhcpConfigurations(java.util.Collection<DhcpConfiguration> dhcpConfigurations)
One or more DHCP options in the set.

Returns a reference to this object so that method calls can be chained together.

Parameters:
dhcpConfigurations - One or more DHCP options in the set.
Returns:
A reference to this updated object so that method calls can be chained together.

getTags

public java.util.List<Tag> getTags()
Any tags assigned to the DHCP options set.

Returns:
Any tags assigned to the DHCP options set.

setTags

public void setTags(java.util.Collection<Tag> tags)
Any tags assigned to the DHCP options set.

Parameters:
tags - Any tags assigned to the DHCP options set.

withTags

public DhcpOptions withTags(Tag... tags)
Any tags assigned to the DHCP options set.

Returns a reference to this object so that method calls can be chained together.

Parameters:
tags - Any tags assigned to the DHCP options set.
Returns:
A reference to this updated object so that method calls can be chained together.

withTags

public DhcpOptions withTags(java.util.Collection<Tag> tags)
Any tags assigned to the DHCP options set.

Returns a reference to this object so that method calls can be chained together.

Parameters:
tags - Any tags assigned to the DHCP options set.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.