Class Page<T>

  • Type Parameters:
    T - the type of the elements in the page

    public class Page<T>
    extends java.lang.Object
    Represents a page of a response.
    • Constructor Summary

      Constructors 
      Constructor Description
      Page​(java.lang.String continuationToken, java.util.List<T> elements)  
    • Constructor Detail

      • Page

        public Page​(java.lang.String continuationToken,
                    java.util.List<T> elements)
        Parameters:
        continuationToken - null if there are no remaining pages to read, or a string that can be used to continue to read additional pages.
        elements - the elements in this response page.
    • Method Detail

      • getContinuationToken

        public java.lang.String getContinuationToken()
        Returns:
        null if there are no remaining pages to read, or a string that can be used to continue to read additional pages.
      • getElements

        public java.util.List<T> getElements()
        Returns:
        the elements in this response page.