Class ListContainerOptions

java.lang.Object
org.jclouds.blobstore.options.ListOptions
org.jclouds.blobstore.options.ListContainerOptions
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
ListContainerOptions.ImmutableListContainerOptions

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

Usage

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

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

BlobStore connection = // get connection Futureinvalid input: '<'ListResponse> list = connection.list("container",prefix("home/users").maxResults(1000));

  • Field Details

  • Constructor Details

    • ListContainerOptions

      public ListContainerOptions()
  • Method Details

    • getDir

      @Deprecated public String getDir()
      Deprecated.
      superseded by ListContainerOptions.getPrefix and ListContainerOptions.getDelimiter.
    • getDelimiter

      public String getDelimiter()
    • isRecursive

      public boolean isRecursive()
    • isDetailed

      public boolean isDetailed()
    • getPrefix

      public String getPrefix()
    • inDirectory

      @Deprecated public ListContainerOptions inDirectory(String dir)
      Deprecated.
      superseded by ListContainerOptions.prefix and ListContainerOptions.delimiter.
      This will list the contents of a virtual or real directory path.
    • afterMarker

      public ListContainerOptions 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.
      Overrides:
      afterMarker in class ListOptions
    • maxResults

      public ListContainerOptions 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.
      Overrides:
      maxResults in class ListOptions
    • recursive

      public ListContainerOptions recursive()
      return a listing of all objects inside the store, recursively.
    • withDetails

      public ListContainerOptions withDetails()
      populate each result with detailed such as metadata even if it incurs extra requests to the service.
    • prefix

      public ListContainerOptions prefix(String prefix)
      Only list keys that start with the supplied prefix
    • delimiter

      public ListContainerOptions delimiter(String delimiterString)
      specify the delimiter to be used when listing
    • clone

      public ListContainerOptions clone()
      Overrides:
      clone in class ListOptions
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object