Class QueryPagination
- java.lang.Object
-
- software.amazon.spapi.models.datakiosk.v2023_11_15.QueryPagination
-
public class QueryPagination extends java.lang.Object
When a query produces results that are not included in the data document, pagination occurs. This means the results are divided into pages. To retrieve the next page, you must pass a `CreateQuerySpecification` object with `paginationToken` set to this object's `nextToken` and with `query` set to this object's `query` in the subsequent `createQuery` request. When there are no more pages to fetch, the `nextToken` field will be absent.
-
-
Constructor Summary
Constructors Constructor Description QueryPagination()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getNextToken()
A token that can be used to fetch the next page of results.int
hashCode()
QueryPagination
nextToken(java.lang.String nextToken)
void
setNextToken(java.lang.String nextToken)
java.lang.String
toString()
-
-
-
Method Detail
-
nextToken
public QueryPagination nextToken(java.lang.String nextToken)
-
getNextToken
public java.lang.String getNextToken()
A token that can be used to fetch the next page of results.- Returns:
- nextToken
-
setNextToken
public void setNextToken(java.lang.String nextToken)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-