public class SearchIndexResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
SearchIndexResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextToken()
The token used to get the next set of results, or
null if
there are no additional results. |
java.util.List<ThingGroupDocument> |
getThingGroups()
The thing groups that match the search query.
|
java.util.List<ThingDocument> |
getThings()
The things that match the search query.
|
int |
hashCode() |
void |
setNextToken(java.lang.String nextToken)
The token used to get the next set of results, or
null if
there are no additional results. |
void |
setThingGroups(java.util.Collection<ThingGroupDocument> thingGroups)
The thing groups that match the search query.
|
void |
setThings(java.util.Collection<ThingDocument> things)
The things that match the search query.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SearchIndexResult |
withNextToken(java.lang.String nextToken)
The token used to get the next set of results, or
null if
there are no additional results. |
SearchIndexResult |
withThingGroups(java.util.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(java.util.Collection<ThingDocument> things)
The things that match the search query.
|
SearchIndexResult |
withThings(ThingDocument... things)
The things that match the search query.
|
public java.lang.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(java.lang.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(java.lang.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 java.util.List<ThingDocument> getThings()
The things that match the search query.
The things that match the search query.
public void setThings(java.util.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(java.util.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 java.util.List<ThingGroupDocument> getThingGroups()
The thing groups that match the search query.
The thing groups that match the search query.
public void setThingGroups(java.util.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(java.util.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.