Class ListOptions

  • All Implemented Interfaces:
    Cloneable
    Direct Known Subclasses:
    ListContainerOptions, ListOptions.ImmutableListOptions

    public class ListOptions
    extends Object
    implements Cloneable
    Contains options supported in the list container operation.

    Usage

    The recommended way to instantiate a ListOptions object is to statically import ListOptions.* and invoke a static creation method followed by an instance mutator (if needed):

    import static org.jclouds.blobstore.options.ListOptions.Builder.*

    BlobStore connection = // get connection Future> list = connection.list(maxResults(1000));

    • Constructor Detail

      • ListOptions

        public ListOptions()
    • Method Detail

      • getMaxResults

        public Integer getMaxResults()
      • getMarker

        public String getMarker()
      • afterMarker

        public ListOptions afterMarker​(String marker)
        Place to continue a listing at. This must be the value returned from the last list object, as not all blobstores use lexicographic lists.
      • maxResults

        public ListOptions maxResults​(int maxKeys)
        The maximum number of values you'd like to see in the response body. The server might return fewer than this many values, but will not return more.