Package com.amazonaws.services.ec2.model
Class DescribeDhcpOptionsResult
- java.lang.Object
-
- com.amazonaws.services.ec2.model.DescribeDhcpOptionsResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class DescribeDhcpOptionsResult extends Object implements Serializable, Cloneable
Contains the output of DescribeDhcpOptions.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeDhcpOptionsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeDhcpOptionsResultclone()booleanequals(Object obj)List<DhcpOptions>getDhcpOptions()Information about one or more DHCP options sets.inthashCode()voidsetDhcpOptions(Collection<DhcpOptions> dhcpOptions)Information about one or more DHCP options sets.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeDhcpOptionsResultwithDhcpOptions(DhcpOptions... dhcpOptions)Information about one or more DHCP options sets.DescribeDhcpOptionsResultwithDhcpOptions(Collection<DhcpOptions> dhcpOptions)Information about one or more DHCP options sets.
-
-
-
Method Detail
-
getDhcpOptions
public List<DhcpOptions> getDhcpOptions()
Information about one or more DHCP options sets.
- Returns:
- Information about one or more DHCP options sets.
-
setDhcpOptions
public void setDhcpOptions(Collection<DhcpOptions> dhcpOptions)
Information about one or more DHCP options sets.
- Parameters:
dhcpOptions- Information about one or more DHCP options sets.
-
withDhcpOptions
public DescribeDhcpOptionsResult withDhcpOptions(DhcpOptions... dhcpOptions)
Information about one or more DHCP options sets.
NOTE: This method appends the values to the existing list (if any). Use
setDhcpOptions(java.util.Collection)orwithDhcpOptions(java.util.Collection)if you want to override the existing values.- Parameters:
dhcpOptions- Information about one or more DHCP options sets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withDhcpOptions
public DescribeDhcpOptionsResult withDhcpOptions(Collection<DhcpOptions> dhcpOptions)
Information about one or more DHCP options sets.
- Parameters:
dhcpOptions- Information about one or more DHCP options sets.- Returns:
- Returns a reference to this 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeDhcpOptionsResult clone()
-
-