Class 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 Future> list = connection.list("container",prefix("home/users").maxResults(1000));

    • Constructor Detail

      • ListContainerOptions

        public ListContainerOptions()
    • Method Detail

      • 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.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object