public interface AWSS3Client extends S3Client
AWSS3AsyncClient
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.
|
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
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 ACLvoid 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.String uploadPart(String bucketName, String key, int partNumber, String uploadId, Payload part)
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.Copyright © 2009-2012 jclouds. All Rights Reserved.