com.amazonaws.services.ec2.model
Class DhcpConfiguration

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

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

Describes a DHCP configuration option.

See Also:
Serialized Form

Constructor Summary
DhcpConfiguration()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getKey()
          The name of a DHCP option.
 java.util.List<java.lang.String> getValues()
          One or more values for the DHCP option.
 int hashCode()
           
 void setKey(java.lang.String key)
          The name of a DHCP option.
 void setValues(java.util.Collection<java.lang.String> values)
          One or more values for the DHCP option.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DhcpConfiguration withKey(java.lang.String key)
          The name of a DHCP option.
 DhcpConfiguration withValues(java.util.Collection<java.lang.String> values)
          One or more values for the DHCP option.
 DhcpConfiguration withValues(java.lang.String... values)
          One or more values for the DHCP option.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DhcpConfiguration

public DhcpConfiguration()
Method Detail

getKey

public java.lang.String getKey()
The name of a DHCP option.

Returns:
The name of a DHCP option.

setKey

public void setKey(java.lang.String key)
The name of a DHCP option.

Parameters:
key - The name of a DHCP option.

withKey

public DhcpConfiguration withKey(java.lang.String key)
The name of a DHCP option.

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

Parameters:
key - The name of a DHCP option.
Returns:
A reference to this updated object so that method calls can be chained together.

getValues

public java.util.List<java.lang.String> getValues()
One or more values for the DHCP option.

Returns:
One or more values for the DHCP option.

setValues

public void setValues(java.util.Collection<java.lang.String> values)
One or more values for the DHCP option.

Parameters:
values - One or more values for the DHCP option.

withValues

public DhcpConfiguration withValues(java.lang.String... values)
One or more values for the DHCP option.

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

Parameters:
values - One or more values for the DHCP option.
Returns:
A reference to this updated object so that method calls can be chained together.

withValues

public DhcpConfiguration withValues(java.util.Collection<java.lang.String> values)
One or more values for the DHCP option.

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

Parameters:
values - One or more values for the DHCP option.
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.