public interface S3AsyncClient
ExecutionException
as documented in
Future.get()
.S3Client
,
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.ListenableFuture<Boolean> |
bucketExists(String bucketName) |
com.google.common.util.concurrent.ListenableFuture<ObjectMetadata> |
copyObject(String sourceBucket,
String sourceObject,
String destinationBucket,
String destinationObject,
CopyObjectOptions... options) |
com.google.common.util.concurrent.ListenableFuture<Boolean> |
deleteBucketIfEmpty(String bucketName) |
com.google.common.util.concurrent.ListenableFuture<Void> |
deleteObject(String bucketName,
String key) |
com.google.common.util.concurrent.ListenableFuture<Void> |
disableBucketLogging(String bucketName) |
com.google.common.util.concurrent.ListenableFuture<Void> |
enableBucketLogging(String bucketName,
BucketLogging logging) |
com.google.common.util.concurrent.ListenableFuture<AccessControlList> |
getBucketACL(String bucketName) |
com.google.common.util.concurrent.ListenableFuture<String> |
getBucketLocation(String bucketName) |
com.google.common.util.concurrent.ListenableFuture<BucketLogging> |
getBucketLogging(String bucketName) |
com.google.common.util.concurrent.ListenableFuture<Payer> |
getBucketPayer(String bucketName) |
com.google.common.util.concurrent.ListenableFuture<S3Object> |
getObject(String bucketName,
String key,
GetOptions... options) |
com.google.common.util.concurrent.ListenableFuture<AccessControlList> |
getObjectACL(String bucketName,
String key) |
com.google.common.util.concurrent.ListenableFuture<ObjectMetadata> |
headObject(String bucketName,
String key) |
com.google.common.util.concurrent.ListenableFuture<ListBucketResponse> |
listBucket(String bucketName,
ListBucketOptions... options) |
com.google.common.util.concurrent.ListenableFuture<? extends Set<BucketMetadata>> |
listOwnedBuckets() |
S3Object |
newS3Object()
Creates a default implementation of S3Object
|
com.google.common.util.concurrent.ListenableFuture<Boolean> |
objectExists(String bucketName,
String key) |
com.google.common.util.concurrent.ListenableFuture<Boolean> |
putBucketACL(String bucketName,
AccessControlList acl) |
com.google.common.util.concurrent.ListenableFuture<Boolean> |
putBucketInRegion(String region,
String bucketName,
PutBucketOptions... options) |
com.google.common.util.concurrent.ListenableFuture<String> |
putObject(String bucketName,
S3Object object,
PutObjectOptions... options) |
com.google.common.util.concurrent.ListenableFuture<Boolean> |
putObjectACL(String bucketName,
String key,
AccessControlList acl) |
com.google.common.util.concurrent.ListenableFuture<Void> |
setBucketPayer(String bucketName,
Payer payer) |
static final String VERSION
@Provides S3Object newS3Object()
@Named(value="s3:GetObject") com.google.common.util.concurrent.ListenableFuture<S3Object> getObject(String bucketName, String key, GetOptions... options)
@Named(value="s3:GetObject") com.google.common.util.concurrent.ListenableFuture<ObjectMetadata> headObject(String bucketName, String key)
@Named(value="s3:GetObject") com.google.common.util.concurrent.ListenableFuture<Boolean> objectExists(String bucketName, String key)
@Named(value="s3:DeleteObject") com.google.common.util.concurrent.ListenableFuture<Void> deleteObject(String bucketName, String key)
@Named(value="s3:PutObject") com.google.common.util.concurrent.ListenableFuture<String> putObject(String bucketName, S3Object object, PutObjectOptions... options)
@Named(value="s3:CreateBucket") com.google.common.util.concurrent.ListenableFuture<Boolean> putBucketInRegion(@Nullable String region, String bucketName, PutBucketOptions... options)
@Named(value="s3:DeleteBucket") com.google.common.util.concurrent.ListenableFuture<Boolean> deleteBucketIfEmpty(String bucketName)
@Named(value="s3:ListBucket") com.google.common.util.concurrent.ListenableFuture<Boolean> bucketExists(String bucketName)
@Named(value="s3:GetBucketLocation") com.google.common.util.concurrent.ListenableFuture<String> getBucketLocation(String bucketName)
@Named(value="s3:GetBucketRequestPayment") com.google.common.util.concurrent.ListenableFuture<Payer> getBucketPayer(String bucketName)
@Named(value="s3:PutBucketRequestPayment") com.google.common.util.concurrent.ListenableFuture<Void> setBucketPayer(String bucketName, Payer payer)
@Named(value="s3:ListBucket") com.google.common.util.concurrent.ListenableFuture<ListBucketResponse> listBucket(String bucketName, ListBucketOptions... options)
@Named(value="s3:ListAllMyBuckets") com.google.common.util.concurrent.ListenableFuture<? extends Set<BucketMetadata>> listOwnedBuckets()
S3Client.listOwnedBuckets()
@Named(value="s3:PutObject") com.google.common.util.concurrent.ListenableFuture<ObjectMetadata> copyObject(String sourceBucket, String sourceObject, String destinationBucket, String destinationObject, CopyObjectOptions... options)
@Named(value="s3:GetBucketAcl") com.google.common.util.concurrent.ListenableFuture<AccessControlList> getBucketACL(String bucketName)
@Named(value="s3:PutBucketAcl") com.google.common.util.concurrent.ListenableFuture<Boolean> putBucketACL(String bucketName, AccessControlList acl)
@Named(value="s3:GetObjectAcl") com.google.common.util.concurrent.ListenableFuture<AccessControlList> getObjectACL(String bucketName, String key)
@Named(value="s3:PutObjectAcl") com.google.common.util.concurrent.ListenableFuture<Boolean> putObjectACL(String bucketName, String key, AccessControlList acl)
@Named(value="s3:GetBucketLogging") com.google.common.util.concurrent.ListenableFuture<BucketLogging> getBucketLogging(String bucketName)
@Named(value="s3:PutBucketLogging") com.google.common.util.concurrent.ListenableFuture<Void> enableBucketLogging(String bucketName, BucketLogging logging)
Copyright © 2009-2013 jclouds. All Rights Reserved.