/** * Deletes multiple versions. * * @param versionIds * the identifiers of the object versions that will be deleted. * @param bucketName * the name of the versioned bucket containing the object to be deleted. * @param objectKey * the key representing the object in S3. * * @throws S3ServiceException */ public void deleteVersionsOfObject(final String[] versionIds, String bucketName, String objectKey) throws S3ServiceException { deleteVersionsOfObjectWithMFA(versionIds, null, null, bucketName, objectKey); }
/** * Deletes multiple versions. * * @param versionIds * the identifiers of the object versions that will be deleted. * @param bucketName * the name of the versioned bucket containing the object to be deleted. * @param objectKey * the key representing the object in S3. * * @throws S3ServiceException */ public void deleteVersionsOfObject(final String[] versionIds, String bucketName, String objectKey) throws S3ServiceException { deleteVersionsOfObjectWithMFA(versionIds, null, null, bucketName, objectKey); }