Class PaginatedItemsPublisher<ResponseT,ItemT>

java.lang.Object
software.amazon.awssdk.core.pagination.async.PaginatedItemsPublisher<ResponseT,ItemT>
Type Parameters:
ResponseT - The type of a single response page
ItemT - The type of paginated member in a response page
All Implemented Interfaces:
org.reactivestreams.Publisher<ItemT>, SdkPublisher<ItemT>

public final class PaginatedItemsPublisher<ResponseT,ItemT> extends Object implements SdkPublisher<ItemT>
A publisher to request for a stream of paginated items. The class can be used to request data for paginated items across multiple pages.
  • Method Details

    • builder

      public static PaginatedItemsPublisher.Builder builder()
    • subscribe

      public void subscribe(org.reactivestreams.Subscriber<? super ItemT> subscriber)
      Specified by:
      subscribe in interface org.reactivestreams.Publisher<ResponseT>