com.baidubce.services.bos.model
Class DeleteMultipleObjectsRequest
java.lang.Object
com.baidubce.model.AbstractBceRequest
com.baidubce.services.bos.model.GenericBucketRequest
com.baidubce.services.bos.model.GenericObjectRequest
com.baidubce.services.bos.model.DeleteMultipleObjectsRequest
public class DeleteMultipleObjectsRequest
- extends GenericObjectRequest
Provides options for deleting a multiple objects.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeleteMultipleObjectsRequest
public DeleteMultipleObjectsRequest()
getJsonDeleteObjects
public String getJsonDeleteObjects()
- Gets the jsonDeleteObjects expected to be deleted.
- Returns:
- json format for delete multiple objects.
setJsonDeleteObjects
public void setJsonDeleteObjects(String jsonDeleteObjects)
- Sets the jsonDeleteObjects expected to be deleted.
- Parameters:
jsonDeleteObjects
- The json format for delete multiple objects.
getObjectKeys
public List<String> getObjectKeys()
- Gets the object key list expected to be deleted.
- Returns:
- the object key list expected to be deleted.
setObjectKeys
public void setObjectKeys(List<String> objectKeys)
- Sets the object key list expected to be deleted.
- Parameters:
objectKeys
- The object key list expected to be deleted.
withRequestCredentials
public DeleteMultipleObjectsRequest withRequestCredentials(BceCredentials credentials)
- Specified by:
withRequestCredentials
in class AbstractBceRequest
withBucketName
public DeleteMultipleObjectsRequest withBucketName(String bucketName)
- Specified by:
withBucketName
in class GenericBucketRequest
withKey
public DeleteMultipleObjectsRequest withKey(String key)
- Specified by:
withKey
in class GenericObjectRequest
Copyright © 2018. All rights reserved.