Class ListOptions

java.lang.Object
org.jclouds.http.options.BaseHttpRequestOptions
org.jclouds.azure.storage.options.ListOptions
All Implemented Interfaces:
HttpRequestOptions
Direct Known Subclasses:
ListBlobsOptions

public class ListOptions extends BaseHttpRequestOptions
Options used to control paginated results (aka list commands).
See Also:
  • Field Details

  • Constructor Details

    • ListOptions

      public ListOptions()
  • Method Details

    • includeMetadata

      public ListOptions includeMetadata()
      Include this parameter to specify that the container's metadata be returned as part of the response body. Note that metadata requested with this parameter must be stored in accordance with the naming restrictions imposed by the 2009-09-19 version of the Blob service. Beginning with this version, all metadata names must adhere to the naming conventions for C# identifiers.
    • getIncludeMetadata

      public boolean getIncludeMetadata()
    • prefix

      public ListOptions prefix(String prefix)
      Filters the results to return only objects whose name begins with the specified prefix.
    • getPrefix

      public String getPrefix()
    • marker

      public ListOptions marker(String marker)
      A string value that identifies the portion of the list to be returned with the next list operation. The operation returns a marker value within the response body if the list returned was not complete. The marker value may then be used in a subsequent call to request the next set of list items.

      The marker value is opaque to the client.

    • getMarker

      public String getMarker()
    • maxResults

      public ListOptions maxResults(int maxresults)
      Specifies the maximum number of containers to return. If maxresults is not specified, the server will return up to 5,000 items. If the parameter is set to a value greater than 5,000, the server will return a Bad Request (400) error
    • getMaxResults

      public Integer getMaxResults()