@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<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 |
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 |
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 String toString()
toString
in class Object
Object.toString()
public SearchIndexResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.