Class PaginatedItemsIterable<ResponseT,ItemT>
- java.lang.Object
-
- software.amazon.awssdk.core.pagination.sync.PaginatedItemsIterable<ResponseT,ItemT>
-
- Type Parameters:
ResponseT
- The type of a single response pageItemT
- The type of paginated member in a response page
- All Implemented Interfaces:
Iterable<ItemT>
,SdkIterable<ItemT>
public final class PaginatedItemsIterable<ResponseT,ItemT> extends Object implements SdkIterable<ItemT>
Iterable for the paginated items. This class can be used through iterate through all the items across multiple pages until there is no more response from the service.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
PaginatedItemsIterable.Builder<ResponseT,ItemT>
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <R,T>
PaginatedItemsIterable.Builder<R,T>builder()
Iterator<ItemT>
iterator()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Methods inherited from interface software.amazon.awssdk.core.pagination.sync.SdkIterable
stream
-
-