Class DescribeHostsResult
- All Implemented Interfaces:
Serializable
,Cloneable
Contains the output of DescribeHosts.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getHosts()
Information about the Dedicated hosts.The token to use to retrieve the next page of results.int
hashCode()
void
setHosts
(Collection<Host> hosts) Information about the Dedicated hosts.void
setNextToken
(String nextToken) The token to use to retrieve the next page of results.toString()
Returns a string representation of this object; useful for testing and debugging.Information about the Dedicated hosts.withHosts
(Collection<Host> hosts) Information about the Dedicated hosts.withNextToken
(String nextToken) The token to use to retrieve the next page of results.
-
Constructor Details
-
DescribeHostsResult
public DescribeHostsResult()
-
-
Method Details
-
getHosts
Information about the Dedicated hosts.
- Returns:
- Information about the Dedicated hosts.
-
setHosts
Information about the Dedicated hosts.
- Parameters:
hosts
- Information about the Dedicated hosts.
-
withHosts
Information about the Dedicated hosts.
NOTE: This method appends the values to the existing list (if any). Use
setHosts(java.util.Collection)
orwithHosts(java.util.Collection)
if you want to override the existing values.- Parameters:
hosts
- Information about the Dedicated hosts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withHosts
Information about the Dedicated hosts.
- Parameters:
hosts
- Information about the Dedicated hosts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.- Parameters:
nextToken
- The token to use to retrieve the next page of results. This value isnull
when there are no more results to return.
-
getNextToken
The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.- Returns:
- The token to use to retrieve the next page of results. This value
is
null
when there are no more results to return.
-
withNextToken
The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.- Parameters:
nextToken
- The token to use to retrieve the next page of results. This value isnull
when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-