com.amazonaws.services.ec2.model
Class DhcpConfiguration

java.lang.Object
  extended by com.amazonaws.services.ec2.model.DhcpConfiguration

public class DhcpConfiguration
extends java.lang.Object

The DhcpConfiguration data type


Constructor Summary
DhcpConfiguration()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getKey()
          Contains the name of a DHCP option.
 java.util.List<java.lang.String> getValues()
          Contains a set of values for a DHCP option.
 int hashCode()
           
 void setKey(java.lang.String key)
          Contains the name of a DHCP option.
 void setValues(java.util.Collection<java.lang.String> values)
          Contains a set of values for a DHCP option.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DhcpConfiguration withKey(java.lang.String key)
          Contains the name of a DHCP option.
 DhcpConfiguration withValues(java.util.Collection<java.lang.String> values)
          Contains a set of values for a DHCP option.
 DhcpConfiguration withValues(java.lang.String... values)
          Contains a set of values for a 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()
Contains the name of a DHCP option.

Returns:
Contains the name of a DHCP option.

setKey

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

Parameters:
key - Contains the name of a DHCP option.

withKey

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

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

Parameters:
key - Contains 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()
Contains a set of values for a DHCP option.

Returns:
Contains a set of values for a DHCP option.

setValues

public void setValues(java.util.Collection<java.lang.String> values)
Contains a set of values for a DHCP option.

Parameters:
values - Contains a set of values for a DHCP option.

withValues

public DhcpConfiguration withValues(java.lang.String... values)
Contains a set of values for a DHCP option.

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

Parameters:
values - Contains a set of values for a 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)
Contains a set of values for a DHCP option.

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

Parameters:
values - Contains a set of values for a 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.