Package com.emc.object.s3.request
Class DeleteObjectsRequest
- java.lang.Object
-
- com.emc.object.ObjectRequest
-
- com.emc.object.s3.request.AbstractBucketRequest
-
- com.emc.object.s3.request.DeleteObjectsRequest
-
- All Implemented Interfaces:
EntityRequest
public class DeleteObjectsRequest extends AbstractBucketRequest implements EntityRequest
-
-
Constructor Summary
Constructors Constructor Description DeleteObjectsRequest(java.lang.String bucketName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getBypassGovernanceRetention()
java.lang.Long
getContentLength()
java.lang.String
getContentType()
DeleteObjects
getDeleteObjects()
java.lang.Object
getEntity()
java.util.Map<java.lang.String,java.util.List<java.lang.Object>>
getHeaders()
Override to return request-specific headers based on properties of the request.boolean
isChunkable()
void
setBypassGovernanceRetention(java.lang.Boolean bypassGovernanceRetention)
void
setDeleteObjects(DeleteObjects deleteObjects)
DeleteObjectsRequest
withBypassGovernanceRetention(java.lang.Boolean bypassGovernanceRetention)
DeleteObjectsRequest
withKeys(ObjectKey... keys)
DeleteObjectsRequest
withKeys(java.lang.String... keys)
DeleteObjectsRequest
withKeys(java.util.List<ObjectKey> keys)
-
Methods inherited from class com.emc.object.s3.request.AbstractBucketRequest
getBucketName, setBucketName
-
Methods inherited from class com.emc.object.ObjectRequest
addCustomHeader, getCustomHeaders, getMethod, getNamespace, getPath, getProperties, getQueryParams, getQueryString, getRawQueryString, getSubresource, property, setNamespace, setPath
-
-
-
-
Method Detail
-
getHeaders
public java.util.Map<java.lang.String,java.util.List<java.lang.Object>> getHeaders()
Description copied from class:ObjectRequest
Override to return request-specific headers based on properties of the request. Always call super() first and modify the result.- Overrides:
getHeaders
in classObjectRequest
-
getEntity
public java.lang.Object getEntity()
- Specified by:
getEntity
in interfaceEntityRequest
-
getContentType
public java.lang.String getContentType()
- Specified by:
getContentType
in interfaceEntityRequest
-
getContentLength
public java.lang.Long getContentLength()
- Specified by:
getContentLength
in interfaceEntityRequest
-
isChunkable
public boolean isChunkable()
- Specified by:
isChunkable
in interfaceEntityRequest
-
getDeleteObjects
public DeleteObjects getDeleteObjects()
-
setDeleteObjects
public void setDeleteObjects(DeleteObjects deleteObjects)
-
withKeys
public DeleteObjectsRequest withKeys(java.util.List<ObjectKey> keys)
-
withKeys
public DeleteObjectsRequest withKeys(ObjectKey... keys)
-
withKeys
public DeleteObjectsRequest withKeys(java.lang.String... keys)
-
getBypassGovernanceRetention
public boolean getBypassGovernanceRetention()
-
setBypassGovernanceRetention
public void setBypassGovernanceRetention(java.lang.Boolean bypassGovernanceRetention)
-
withBypassGovernanceRetention
public DeleteObjectsRequest withBypassGovernanceRetention(java.lang.Boolean bypassGovernanceRetention)
-
-