public interface AWSS3Client extends S3Client
Modifier and Type | Method and Description |
---|---|
void |
abortMultipartUpload(String bucketName,
String key,
String uploadId)
This operation aborts a multipart upload.
|
String |
completeMultipartUpload(String bucketName,
String key,
String uploadId,
Map<Integer,String> parts)
This operation completes a multipart upload by assembling previously uploaded parts.
|
DeleteResult |
deleteObjects(String bucketName,
Iterable<String> keys)
The Multi-Object Delete operation enables you to delete multiple objects from a bucket using a
single HTTP request.
|
String |
initiateMultipartUpload(String bucketName,
ObjectMetadata objectMetadata,
PutObjectOptions... options)
This operation initiates a multipart upload and returns an upload ID.
|
String |
uploadPart(String bucketName,
String key,
int partNumber,
String uploadId,
Payload part)
This operation uploads a part in a multipart upload.
|
bucketExists, copyObject, deleteBucketIfEmpty, deleteObject, disableBucketLogging, enableBucketLogging, getBucketACL, getBucketLocation, getBucketLogging, getBucketPayer, getObject, getObjectACL, headObject, listBucket, listOwnedBuckets, newS3Object, objectExists, putBucketACL, putBucketInRegion, putObject, putObjectACL, setBucketPayer
@Named(value="PutObject") String initiateMultipartUpload(String bucketName, ObjectMetadata objectMetadata, PutObjectOptions... options)
bucketName
- namespace of the object you are to uploadobjectMetadata
- metadata around the object you wish to uploadoptions
- controls optional parameters such as canned ACL@Named(value="AbortMultipartUpload") void abortMultipartUpload(String bucketName, String key, String uploadId)
bucketName
- namespace of the object you are deletingkey
- unique key in the s3Bucket identifying the objectuploadId
- id of the multipart upload in progress.@Named(value="PutObject") String uploadPart(String bucketName, String key, int partNumber, String uploadId, Payload part)
bucketName
- namespace of the object you are storingkey
- unique key in the s3Bucket identifying the objectpartNumber
- which part is this.uploadId
- id of the multipart upload in progress.part
- contains the data to create or overwrite@Named(value="PutObject") String completeMultipartUpload(String bucketName, String key, String uploadId, Map<Integer,String> parts)
bucketName
- namespace of the object you are deletingkey
- unique key in the s3Bucket identifying the objectuploadId
- id of the multipart upload in progress.parts
- a map of part id to eTag from the uploadPart(java.lang.String, java.lang.String, int, java.lang.String, org.jclouds.io.Payload)
command.@Named(value="DeleteObject") DeleteResult deleteObjects(String bucketName, Iterable<String> keys)
bucketName
- namespace of the objects you are deletingkeys
- set of unique keys identifying objectsCopyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.