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
Modifier and TypeClassDescriptionstatic interface
-
Method Summary
Modifier and TypeMethodDescriptionstatic <R,
T> PaginatedItemsIterable.Builder <R, T> builder()
iterator()
Methods inherited from class java.lang.Object
equals, 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