Package | Description |
---|---|
org.jclouds.s3 |
This package contains an Amazon S3 client implemented by
HttpCommandExecutorService commands. |
org.jclouds.s3.config |
This package contains modules who manage the dependencies of the S3Context, S3Client, and S3 Map views.
|
org.jclouds.s3.functions |
This package contains response handlers for S3 commands.
|
org.jclouds.s3.xml |
This package contains xml logic that parses S3 responses.
|
Modifier and Type | Method and Description |
---|---|
void |
S3Client.abortMultipartUpload(String bucketName,
String key,
String uploadId)
This operation aborts a multipart upload.
|
boolean |
S3Client.bucketExists(String bucketName)
Issues a HEAD command to determine if the bucket exists or not.
|
String |
S3Client.completeMultipartUpload(String bucketName,
String key,
String uploadId,
Map<Integer,String> parts)
This operation completes a multipart upload by assembling previously uploaded parts.
|
ObjectMetadata |
S3Client.copyObject(String sourceBucket,
String sourceObject,
String destinationBucket,
String destinationObject,
CopyObjectOptions... options)
Copies one object to another bucket, retaining UserMetadata from the source.
|
boolean |
S3Client.deleteBucketIfEmpty(String bucketName)
Deletes the bucket, if it is empty.
|
void |
S3Client.deleteObject(String bucketName,
String key)
Removes the object and metadata associated with the key.
|
DeleteResult |
S3Client.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.
|
void |
S3Client.disableBucketLogging(String bucketName)
Disables logging for a bucket.
|
void |
S3Client.enableBucketLogging(String bucketName,
BucketLogging logging)
Enables logging for a bucket.
|
AccessControlList |
S3Client.getBucketACL(String bucketName)
A GET request operation directed at an object or bucket URI with the "acl" parameter retrieves
the Access Control List (ACL) settings for that S3 item.
|
String |
S3Client.getBucketLocation(String bucketName)
A GET location request operation using a bucket URI lists the location constraint of the
bucket.
|
BucketLogging |
S3Client.getBucketLogging(String bucketName)
Inspects the logging status for a bucket.
|
Payer |
S3Client.getBucketPayer(String bucketName)
A GET request operation on a requestPayment resource returns the request payment configuration
of a bucket.
|
S3Object |
S3Client.getObject(String bucketName,
String key,
GetOptions... options)
Retrieves the S3Object associated with the Key or KeyNotFoundException if not available;
To use GET, you must have READ access to the object.
|
AccessControlList |
S3Client.getObjectACL(String bucketName,
String key)
A GET request operation directed at an object or bucket URI with the "acl" parameter retrieves
the Access Control List (ACL) settings for that S3 item.
|
ObjectMetadata |
S3Client.headObject(String bucketName,
String key)
Retrieves the
metadata of
the object associated with the key or null if not available. |
String |
S3Client.initiateMultipartUpload(String bucketName,
ObjectMetadata objectMetadata,
PutObjectOptions... options)
This operation initiates a multipart upload and returns an upload ID.
|
ListBucketResponse |
S3Client.listBucket(String bucketName,
ListBucketOptions... options)
Retrieve a
S3Bucket listing. |
Map<Integer,String> |
S3Client.listMultipartParts(String bucketName,
String key,
String uploadId) |
ListMultipartUploadsResponse |
S3Client.listMultipartUploads(String bucketName,
String delimiter,
Integer maxUploads,
String keyMarker,
String prefix,
String uploadIdMarker) |
boolean |
S3Client.objectExists(String bucketName,
String key) |
boolean |
S3Client.putBucketACL(String bucketName,
AccessControlList acl)
Update a bucket's Access Control List settings.
|
boolean |
S3Client.putBucketInRegion(String region,
String bucketName,
PutBucketOptions... options)
Create and name your own bucket in which to store your objects.
|
String |
S3Client.putObject(String bucketName,
S3Object object,
PutObjectOptions... options)
Store data by creating or overwriting an object.
|
boolean |
S3Client.putObjectACL(String bucketName,
String key,
AccessControlList acl)
Update an object's Access Control List settings.
|
void |
S3Client.setBucketPayer(String bucketName,
Payer payer)
The PUT request operation with a requestPayment URI configures an existing bucket to be
Requester Pays or not.
|
boolean |
S3Client.updateBucketCannedACL(String bucketName,
CannedAccessPolicy acl)
Update a bucket's Access Control List settings.
|
boolean |
S3Client.updateObjectCannedACL(String bucketName,
String key,
CannedAccessPolicy acl)
Update an object's Access Control List settings.
|
String |
S3Client.uploadPart(String bucketName,
String key,
int partNumber,
String uploadId,
Payload part)
This operation uploads a part in a multipart upload.
|
String |
S3Client.uploadPartCopy(String bucketName,
String key,
int partNumber,
String uploadId,
String sourceBucket,
String sourceObject,
long startOffset,
long endOffset) |
Modifier and Type | Method and Description |
---|---|
protected com.google.common.cache.LoadingCache<String,com.google.common.base.Optional<String>> |
S3HttpApiModule.bucketToRegion(com.google.common.cache.CacheLoader<String,com.google.common.base.Optional<String>> loader) |
protected com.google.common.cache.CacheLoader<String,com.google.common.base.Optional<String>> |
S3HttpApiModule.provideBucketToRegion(com.google.common.base.Supplier<Set<String>> regionSupplier,
S3Client client) |
protected com.google.common.base.Supplier<URI> |
S3HttpApiModule.provideBucketURI(com.google.common.base.Supplier<String> defaultRegion,
RegionToEndpointOrProviderIfNull regionToEndpoint) |
protected com.google.common.base.Supplier<String> |
S3HttpApiModule.provideDefaultRegionForBucket(com.google.common.base.Supplier<String> defaultRegion) |
Modifier and Type | Method and Description |
---|---|
protected com.google.common.cache.LoadingCache<String,com.google.common.base.Optional<String>> |
S3HttpApiModule.bucketToRegion(com.google.common.cache.CacheLoader<String,com.google.common.base.Optional<String>> loader) |
protected com.google.common.base.Supplier<URI> |
S3HttpApiModule.provideBucketURI(com.google.common.base.Supplier<String> defaultRegion,
RegionToEndpointOrProviderIfNull regionToEndpoint) |
Constructor and Description |
---|
BindRegionToXmlPayload(com.google.common.base.Supplier<String> defaultRegionForEndpointSupplier,
com.google.common.base.Supplier<String> defaultRegionForServiceSupplier,
com.google.common.base.Supplier<Set<String>> regionsSupplier) |
GetRegionForBucket(com.google.common.cache.LoadingCache<String,com.google.common.base.Optional<String>> bucketToRegion) |
Constructor and Description |
---|
LocationConstraintHandler(com.google.common.cache.LoadingCache<String,com.google.common.base.Optional<String>> bucketToRegion) |
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.