Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.ec2.model
Class DescribeDhcpOptionsRequest

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

public class DescribeDhcpOptionsRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the DescribeDhcpOptions operation.

Gives you information about one or more sets of DHCP options. You can specify one or more DHCP options set IDs, or no IDs (to describe all your sets of DHCP options). The returned information consists of:

See Also:
AmazonEC2.describeDhcpOptions(DescribeDhcpOptionsRequest), Serialized Form

Constructor Summary
DescribeDhcpOptionsRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<String> getDhcpOptionsIds()
          Returns the value of the DhcpOptionsIds property for this object.
 List<Filter> getFilters()
          A list of filters used to match properties for DhcpOptions.
 int hashCode()
           
 void setDhcpOptionsIds(Collection<String> dhcpOptionsIds)
          Sets the value of the DhcpOptionsIds property for this object.
 void setFilters(Collection<Filter> filters)
          A list of filters used to match properties for DhcpOptions.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeDhcpOptionsRequest withDhcpOptionsIds(Collection<String> dhcpOptionsIds)
          Sets the value of the DhcpOptionsIds property for this object.
 DescribeDhcpOptionsRequest withDhcpOptionsIds(String... dhcpOptionsIds)
          Sets the value of the DhcpOptionsIds property for this object.
 DescribeDhcpOptionsRequest withFilters(Collection<Filter> filters)
          A list of filters used to match properties for DhcpOptions.
 DescribeDhcpOptionsRequest withFilters(Filter... filters)
          A list of filters used to match properties for DhcpOptions.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeDhcpOptionsRequest

public DescribeDhcpOptionsRequest()
Method Detail

getDhcpOptionsIds

public List<String> getDhcpOptionsIds()
Returns the value of the DhcpOptionsIds property for this object.

Returns:
The value of the DhcpOptionsIds property for this object.

setDhcpOptionsIds

public void setDhcpOptionsIds(Collection<String> dhcpOptionsIds)
Sets the value of the DhcpOptionsIds property for this object.

Parameters:
dhcpOptionsIds - The new value for the DhcpOptionsIds property for this object.

withDhcpOptionsIds

public DescribeDhcpOptionsRequest withDhcpOptionsIds(String... dhcpOptionsIds)
Sets the value of the DhcpOptionsIds property for this object.

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

Parameters:
dhcpOptionsIds - The new value for the DhcpOptionsIds property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

withDhcpOptionsIds

public DescribeDhcpOptionsRequest withDhcpOptionsIds(Collection<String> dhcpOptionsIds)
Sets the value of the DhcpOptionsIds property for this object.

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

Parameters:
dhcpOptionsIds - The new value for the DhcpOptionsIds property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getFilters

public List<Filter> getFilters()
A list of filters used to match properties for DhcpOptions. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

Returns:
A list of filters used to match properties for DhcpOptions. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

setFilters

public void setFilters(Collection<Filter> filters)
A list of filters used to match properties for DhcpOptions. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

Parameters:
filters - A list of filters used to match properties for DhcpOptions. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

withFilters

public DescribeDhcpOptionsRequest withFilters(Filter... filters)
A list of filters used to match properties for DhcpOptions. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

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

Parameters:
filters - A list of filters used to match properties for DhcpOptions. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.
Returns:
A reference to this updated object so that method calls can be chained together.

withFilters

public DescribeDhcpOptionsRequest withFilters(Collection<Filter> filters)
A list of filters used to match properties for DhcpOptions. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

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

Parameters:
filters - A list of filters used to match properties for DhcpOptions. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

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

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


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