@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class QueryAssistantResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
QueryAssistantResult() |
Modifier and Type | Method and Description |
---|---|
QueryAssistantResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If there are additional results, this is the token for the next set of results.
|
List<ResultData> |
getResults()
The results of the query.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
|
void |
setResults(Collection<ResultData> results)
The results of the query.
|
String |
toString()
Returns a string representation of this object.
|
QueryAssistantResult |
withNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
|
QueryAssistantResult |
withResults(Collection<ResultData> results)
The results of the query.
|
QueryAssistantResult |
withResults(ResultData... results)
The results of the query.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
nextToken
- If there are additional results, this is the token for the next set of results.public String getNextToken()
If there are additional results, this is the token for the next set of results.
public QueryAssistantResult withNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
nextToken
- If there are additional results, this is the token for the next set of results.public List<ResultData> getResults()
The results of the query.
public void setResults(Collection<ResultData> results)
The results of the query.
results
- The results of the query.public QueryAssistantResult withResults(ResultData... results)
The results of the query.
NOTE: This method appends the values to the existing list (if any). Use
setResults(java.util.Collection)
or withResults(java.util.Collection)
if you want to override
the existing values.
results
- The results of the query.public QueryAssistantResult withResults(Collection<ResultData> results)
The results of the query.
results
- The results of the query.public String toString()
toString
in class Object
Object.toString()
public QueryAssistantResult clone()