Package com.emc.object.s3.request
Class ListVersionsRequest
- java.lang.Object
-
- com.emc.object.ObjectRequest
-
- com.emc.object.s3.request.AbstractBucketRequest
-
- com.emc.object.s3.request.ListVersionsRequest
-
public class ListVersionsRequest extends AbstractBucketRequest
-
-
Constructor Summary
Constructors Constructor Description ListVersionsRequest(java.lang.String bucketName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDelimiter()
EncodingType
getEncodingType()
java.lang.String
getKeyMarker()
java.lang.Integer
getMaxKeys()
java.lang.String
getPrefix()
java.util.Map<java.lang.String,java.lang.String>
getQueryParams()
Override to return the request-specific query parameters based on properties of the request.java.lang.String
getVersionIdMarker()
void
setDelimiter(java.lang.String delimiter)
void
setEncodingType(EncodingType encodingType)
void
setKeyMarker(java.lang.String keyMarker)
void
setMaxKeys(java.lang.Integer maxKeys)
void
setPrefix(java.lang.String prefix)
void
setVersionIdMarker(java.lang.String versionIdMarker)
ListVersionsRequest
withDelimiter(java.lang.String delimiter)
ListVersionsRequest
withEncodingType(EncodingType encodingType)
ListVersionsRequest
withKeyMarker(java.lang.String keyMarker)
ListVersionsRequest
withMaxKeys(java.lang.Integer maxKeys)
ListVersionsRequest
withPrefix(java.lang.String prefix)
ListVersionsRequest
withVersionIdMarker(java.lang.String versionIdMarker)
-
Methods inherited from class com.emc.object.s3.request.AbstractBucketRequest
getBucketName, setBucketName
-
Methods inherited from class com.emc.object.ObjectRequest
addCustomHeader, getCustomHeaders, getHeaders, getMethod, getNamespace, getPath, getProperties, getQueryString, getRawQueryString, getSubresource, property, setNamespace, setPath
-
-
-
-
Method Detail
-
getQueryParams
public java.util.Map<java.lang.String,java.lang.String> getQueryParams()
Description copied from class:ObjectRequest
Override to return the request-specific query parameters based on properties of the request. Do NOT include the subresource in this map; it will be inserted automatically. Note this implementation uses a TreeSet, which will sort the parameters by name. This is done to make URLs consistent for testing and should not change the semantics of any request.- Overrides:
getQueryParams
in classObjectRequest
-
getPrefix
public java.lang.String getPrefix()
-
setPrefix
public void setPrefix(java.lang.String prefix)
-
getDelimiter
public java.lang.String getDelimiter()
-
setDelimiter
public void setDelimiter(java.lang.String delimiter)
-
getMaxKeys
public java.lang.Integer getMaxKeys()
-
setMaxKeys
public void setMaxKeys(java.lang.Integer maxKeys)
-
getKeyMarker
public java.lang.String getKeyMarker()
-
setKeyMarker
public void setKeyMarker(java.lang.String keyMarker)
-
getVersionIdMarker
public java.lang.String getVersionIdMarker()
-
setVersionIdMarker
public void setVersionIdMarker(java.lang.String versionIdMarker)
-
getEncodingType
public EncodingType getEncodingType()
-
setEncodingType
public void setEncodingType(EncodingType encodingType)
-
withPrefix
public ListVersionsRequest withPrefix(java.lang.String prefix)
-
withDelimiter
public ListVersionsRequest withDelimiter(java.lang.String delimiter)
-
withMaxKeys
public ListVersionsRequest withMaxKeys(java.lang.Integer maxKeys)
-
withKeyMarker
public ListVersionsRequest withKeyMarker(java.lang.String keyMarker)
-
withVersionIdMarker
public ListVersionsRequest withVersionIdMarker(java.lang.String versionIdMarker)
-
withEncodingType
public ListVersionsRequest withEncodingType(EncodingType encodingType)
-
-