Class PaginatedResponsesIterator<ResponseT>
- java.lang.Object
-
- software.amazon.awssdk.core.pagination.sync.PaginatedResponsesIterator<ResponseT>
-
- Type Parameters:
ResponseT- The type of a single response page
- All Implemented Interfaces:
Iterator<ResponseT>
@SdkProtectedApi public final class PaginatedResponsesIterator<ResponseT> extends Object implements Iterator<ResponseT>
Iterator for all response pages in a paginated operation. This class is used to iterate through all the pages of an operation. SDK makes service calls to retrieve the next page when next() method is called.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePaginatedResponsesIterator.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PaginatedResponsesIterator.Builderbuilder()booleanhasNext()ResponseTnext()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
-