Package com.emc.object.s3.request
Class ListBucketsRequest
- java.lang.Object
-
- com.emc.object.ObjectRequest
-
- com.emc.object.s3.request.ListBucketsRequest
-
public class ListBucketsRequest extends ObjectRequest
-
-
Constructor Summary
Constructors Constructor Description ListBucketsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integer
getLimit()
java.lang.String
getMarker()
java.util.Map<java.lang.String,java.lang.String>
getQueryParams()
Override to return the request-specific query parameters based on properties of the request.void
setLimit(java.lang.Integer limit)
void
setMarker(java.lang.String marker)
ListBucketsRequest
withLimit(java.lang.Integer limit)
ListBucketsRequest
withMarker(java.lang.String marker)
-
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
-
getLimit
public java.lang.Integer getLimit()
-
setLimit
public void setLimit(java.lang.Integer limit)
-
getMarker
public java.lang.String getMarker()
-
setMarker
public void setMarker(java.lang.String marker)
-
withLimit
public ListBucketsRequest withLimit(java.lang.Integer limit)
-
withMarker
public ListBucketsRequest withMarker(java.lang.String marker)
-
-