@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeDhcpOptionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeDhcpOptionsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeDhcpOptionsResult |
clone() |
boolean |
equals(Object obj) |
List<DhcpOptions> |
getDhcpOptions()
Information about one or more DHCP options sets.
|
String |
getNextToken()
The token to use to retrieve the next page of results.
|
int |
hashCode() |
void |
setDhcpOptions(Collection<DhcpOptions> dhcpOptions)
Information about one or more DHCP options sets.
|
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
DescribeDhcpOptionsResult |
withDhcpOptions(Collection<DhcpOptions> dhcpOptions)
Information about one or more DHCP options sets.
|
DescribeDhcpOptionsResult |
withDhcpOptions(DhcpOptions... dhcpOptions)
Information about one or more DHCP options sets.
|
DescribeDhcpOptionsResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<DhcpOptions> getDhcpOptions()
Information about one or more DHCP options sets.
public void setDhcpOptions(Collection<DhcpOptions> dhcpOptions)
Information about one or more DHCP options sets.
dhcpOptions
- Information about one or more DHCP options sets.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)
or withDhcpOptions(java.util.Collection)
if you want to
override the existing values.
dhcpOptions
- Information about one or more DHCP options sets.public DescribeDhcpOptionsResult withDhcpOptions(Collection<DhcpOptions> dhcpOptions)
Information about one or more DHCP options sets.
dhcpOptions
- Information about one or more DHCP options sets.public void setNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null
when there are no
more results to return.public String getNextToken()
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
null
when there are no
more results to return.public DescribeDhcpOptionsResult withNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null
when there are no
more results to return.public String toString()
toString
in class Object
Object.toString()
public DescribeDhcpOptionsResult clone()