public class SearchIndexResult extends Object implements Serializable
| Constructor and Description |
|---|
SearchIndexResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getNextToken()
The token used to get the next set of results, or null if there
are no additional results.
|
List<ThingGroupDocument> |
getThingGroups()
The thing groups that match the search query.
|
List<ThingDocument> |
getThings()
The things that match the search query.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token used to get the next set of results, or null if there
are no additional results.
|
void |
setThingGroups(Collection<ThingGroupDocument> thingGroups)
The thing groups that match the search query.
|
void |
setThings(Collection<ThingDocument> things)
The things that match the search query.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SearchIndexResult |
withNextToken(String nextToken)
The token used to get the next set of results, or null if there
are no additional results.
|
SearchIndexResult |
withThingGroups(Collection<ThingGroupDocument> thingGroups)
The thing groups that match the search query.
|
SearchIndexResult |
withThingGroups(ThingGroupDocument... thingGroups)
The thing groups that match the search query.
|
SearchIndexResult |
withThings(Collection<ThingDocument> things)
The things that match the search query.
|
SearchIndexResult |
withThings(ThingDocument... things)
The things that match the search query.
|
public String getNextToken()
The token used to get the next set of results, or null if there are no additional results.
The token used to get the next set of results, or null if there are no additional results.
public void setNextToken(String nextToken)
The token used to get the next set of results, or null if there are no additional results.
nextToken - The token used to get the next set of results, or null if there are no additional results.
public SearchIndexResult withNextToken(String nextToken)
The token used to get the next set of results, or null if there are no additional results.
Returns a reference to this object so that method calls can be chained together.
nextToken - The token used to get the next set of results, or null if there are no additional results.
public List<ThingDocument> getThings()
The things that match the search query.
The things that match the search query.
public void setThings(Collection<ThingDocument> things)
The things that match the search query.
things - The things that match the search query.
public SearchIndexResult withThings(ThingDocument... things)
The things that match the search query.
Returns a reference to this object so that method calls can be chained together.
things - The things that match the search query.
public SearchIndexResult withThings(Collection<ThingDocument> things)
The things that match the search query.
Returns a reference to this object so that method calls can be chained together.
things - The things that match the search query.
public List<ThingGroupDocument> getThingGroups()
The thing groups that match the search query.
The thing groups that match the search query.
public void setThingGroups(Collection<ThingGroupDocument> thingGroups)
The thing groups that match the search query.
thingGroups - The thing groups that match the search query.
public SearchIndexResult withThingGroups(ThingGroupDocument... thingGroups)
The thing groups that match the search query.
Returns a reference to this object so that method calls can be chained together.
thingGroups - The thing groups that match the search query.
public SearchIndexResult withThingGroups(Collection<ThingGroupDocument> thingGroups)
The thing groups that match the search query.
Returns a reference to this object so that method calls can be chained together.
thingGroups - The thing groups that match the search query.
public String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.