@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchIndexResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
SearchIndexResult() |
Modifier and Type | Method and Description |
---|---|
SearchIndexResult |
clone() |
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.
|
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.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 String getNextToken()
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.
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.
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.
NOTE: This method appends the values to the existing list (if any). Use
setThings(java.util.Collection)
or withThings(java.util.Collection)
if you want to override the
existing values.
things
- The things that match the search query.public SearchIndexResult withThings(Collection<ThingDocument> things)
The things that match the search query.
things
- The things that match the search query.public List<ThingGroupDocument> getThingGroups()
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.
NOTE: This method appends the values to the existing list (if any). Use
setThingGroups(java.util.Collection)
or withThingGroups(java.util.Collection)
if you want to
override the existing values.
thingGroups
- The thing groups that match the search query.public SearchIndexResult withThingGroups(Collection<ThingGroupDocument> thingGroups)
The thing groups that match the search query.
thingGroups
- The thing groups that match the search query.public String toString()
toString
in class Object
Object.toString()
public SearchIndexResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.