Package org.jclouds.blobstore.options
Class ListContainerOptions
java.lang.Object
org.jclouds.blobstore.options.ListOptions
org.jclouds.blobstore.options.ListContainerOptions
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
ListContainerOptions.ImmutableListContainerOptions
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));
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
Nested classes/interfaces inherited from class org.jclouds.blobstore.options.ListOptions
ListOptions.ImmutableListOptions
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionafterMarker
(String marker) Place to continue a listing at.clone()
specify the delimiter to be used when listingboolean
getDir()
Deprecated.superseded by ListContainerOptions.getPrefix and ListContainerOptions.getDelimiter.int
hashCode()
inDirectory
(String dir) Deprecated.superseded by ListContainerOptions.prefix and ListContainerOptions.delimiter.boolean
boolean
maxResults
(int maxKeys) The maximum number of values you'd like to see in the response body.Only list keys that start with the supplied prefixreturn a listing of all objects inside the store, recursively.toString()
populate each result with detailed such as metadata even if it incurs extra requests to the service.Methods inherited from class org.jclouds.blobstore.options.ListOptions
getMarker, getMaxResults
-
Field Details
-
NONE
-
-
Constructor Details
-
ListContainerOptions
public ListContainerOptions()
-
-
Method Details
-
getDir
Deprecated.superseded by ListContainerOptions.getPrefix and ListContainerOptions.getDelimiter. -
getDelimiter
-
isRecursive
public boolean isRecursive() -
isDetailed
public boolean isDetailed() -
getPrefix
-
inDirectory
Deprecated.superseded by ListContainerOptions.prefix and ListContainerOptions.delimiter.This will list the contents of a virtual or real directory path. -
afterMarker
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 classListOptions
-
maxResults
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 classListOptions
-
recursive
return a listing of all objects inside the store, recursively. -
withDetails
populate each result with detailed such as metadata even if it incurs extra requests to the service. -
prefix
Only list keys that start with the supplied prefix -
delimiter
specify the delimiter to be used when listing -
clone
- Overrides:
clone
in classListOptions
-
toString
-
hashCode
public int hashCode() -
equals
-