Class Pagination
- java.lang.Object
-
- software.amazon.spapi.models.fba.inventory.v1.Pagination
-
public class Pagination extends java.lang.Object
The process of returning the results to a request in batches of a defined size called pages. This is done to exercise some control over result size and overall throughput. It's a form of traffic management.
-
-
Constructor Summary
Constructors Constructor Description Pagination()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getNextToken()
A generated string used to retrieve the next page of the result.int
hashCode()
Pagination
nextToken(java.lang.String nextToken)
void
setNextToken(java.lang.String nextToken)
java.lang.String
toString()
-
-
-
Method Detail
-
nextToken
public Pagination nextToken(java.lang.String nextToken)
-
getNextToken
public java.lang.String getNextToken()
A generated string used to retrieve the next page of the result. If nextToken is returned, pass the value of nextToken to the next request. If nextToken is not returned, there are no more items to return.- 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
-
-