Class PageImpl<T>

  • Type Parameters:
    T - type of Azure resource
    All Implemented Interfaces:
    com.microsoft.azure.Page<T>

    public class PageImpl<T>
    extends Object
    implements com.microsoft.azure.Page<T>
    An instance of this class defines a page of Azure resources and a link to get the next page of resources, if any.
    • Constructor Detail

      • PageImpl

        public PageImpl()
    • Method Detail

      • nextPageLink

        public String nextPageLink()
        Gets the link to the next page.
        Specified by:
        nextPageLink in interface com.microsoft.azure.Page<T>
        Returns:
        the link to the next page.
      • items

        public List<T> items()
        Gets the list of items.
        Specified by:
        items in interface com.microsoft.azure.Page<T>
        Returns:
        the list of items in List.
      • setNextPageLink

        public PageImpl<T> setNextPageLink​(String nextPageLink)
        Sets the link to the next page.
        Parameters:
        nextPageLink - the link to the next page.
        Returns:
        this Page object itself.
      • setItems

        public PageImpl<T> setItems​(List<T> items)
        Sets the list of items.
        Parameters:
        items - the list of items in List.
        Returns:
        this Page object itself.