public class GetBucketRequest
extends java.lang.Object
Constructor and Description |
---|
GetBucketRequest(java.lang.String bucket) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBucket() |
Checksum |
getChecksum() |
org.apache.http.entity.ContentType |
getContentType() |
java.lang.String |
getDelimiter() |
java.util.Map<java.lang.String,java.lang.String> |
getHeaders() |
int |
getMaxKeys() |
java.lang.String |
getNextMarker() |
java.lang.String |
getPath() |
java.lang.String |
getPrefix() |
java.util.Map<java.lang.String,java.lang.String> |
getQueryParams() |
long |
getSize() |
java.io.InputStream |
getStream() |
HttpVerb |
getVerb() |
GetBucketRequest |
withDelimiter(java.lang.String delimiter) |
GetBucketRequest |
withMaxKeys(int maxKeys)
Limit how many objects will be returned in a request before pagination is enforced.
|
GetBucketRequest |
withNextMarker(java.lang.String nextMarker)
If a GetBucketRequest has been paginated this method is used to get the next set of objects.
|
GetBucketRequest |
withPrefix(java.lang.String prefix)
Use the prefix method for getting a list of 'directories' without getting the objects within that directory.
|
public GetBucketRequest(java.lang.String bucket)
bucket
- The name of the bucket that will have it's objects listed.public GetBucketRequest withNextMarker(java.lang.String nextMarker)
nextMarker
- The marker specified in GetBucketResponse.getResult()
public GetBucketRequest withPrefix(java.lang.String prefix)
prefix
- The prefix to filter the objects for.public GetBucketRequest withMaxKeys(int maxKeys)
maxKeys
- The number of objects to request in a single request from DS3.public GetBucketRequest withDelimiter(java.lang.String delimiter)
public java.lang.String getBucket()
public java.lang.String getNextMarker()
public java.lang.String getPrefix()
public int getMaxKeys()
public java.lang.String getPath()
public HttpVerb getVerb()
public java.lang.String getDelimiter()
public org.apache.http.entity.ContentType getContentType()
getContentType
in interface Ds3Request
public java.io.InputStream getStream()
getStream
in interface Ds3Request
public long getSize()
getSize
in interface Ds3Request
public Checksum getChecksum()
getChecksum
in interface Ds3Request
public final java.util.Map<java.lang.String,java.lang.String> getQueryParams()
getQueryParams
in interface Ds3Request
public final java.util.Map<java.lang.String,java.lang.String> getHeaders()
getHeaders
in interface Ds3Request