Class ListOptions

java.lang.Object
org.jclouds.http.options.BaseHttpRequestOptions
org.jclouds.digitalocean2.domain.options.ListOptions
All Implemented Interfaces:
HttpRequestOptions
Direct Known Subclasses:
ImageListOptions

public class ListOptions extends BaseHttpRequestOptions
Options to customize how paginated lists are returned.
  • Field Details

  • Constructor Details

    • ListOptions

      public ListOptions()
  • Method Details

    • perPage

      public ListOptions perPage(int perPage)
      Configures the number of entries to return in each page.
    • page

      public ListOptions page(int page)
      Configures the number of the page to be returned.