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>
@SdkProtectedApi
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 ClassesModifier 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, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface software.amazon.awssdk.core.pagination.sync.SdkIterable
stream
-
Method Details
-
builder
-
iterator
-