Package | Description |
---|---|
org.jclouds.s3 |
This package contains an Amazon S3 client implemented by
HttpCommandExecutorService commands. |
org.jclouds.s3.options |
This package contains request options for S3 REST commands.
|
Modifier and Type | Method and Description |
---|---|
ObjectMetadata |
S3Client.copyObject(String sourceBucket,
String sourceObject,
String destinationBucket,
String destinationObject,
CopyObjectOptions... options)
Copies one object to another bucket, retaining UserMetadata from the source.
|
com.google.common.util.concurrent.ListenableFuture<ObjectMetadata> |
S3AsyncClient.copyObject(String sourceBucket,
String sourceObject,
String destinationBucket,
String destinationObject,
CopyObjectOptions... options) |
Modifier and Type | Field and Description |
---|---|
static CopyObjectOptions |
CopyObjectOptions.NONE |
Modifier and Type | Method and Description |
---|---|
CopyObjectOptions |
CopyObjectOptions.ifSourceETagDoesntMatch(String eTag)
The object should not have a eTag hash corresponding with the parameter
eTag . |
static CopyObjectOptions |
CopyObjectOptions.Builder.ifSourceETagDoesntMatch(String eTag) |
CopyObjectOptions |
CopyObjectOptions.ifSourceETagMatches(String eTag)
The object's eTag hash should match the parameter
eTag . |
static CopyObjectOptions |
CopyObjectOptions.Builder.ifSourceETagMatches(String eTag) |
CopyObjectOptions |
CopyObjectOptions.ifSourceModifiedSince(Date ifModifiedSince)
Only return the object if it has changed since this time.
|
static CopyObjectOptions |
CopyObjectOptions.Builder.ifSourceModifiedSince(Date ifModifiedSince) |
CopyObjectOptions |
CopyObjectOptions.ifSourceUnmodifiedSince(Date ifUnmodifiedSince)
Only return the object if it hasn't changed since this time.
|
static CopyObjectOptions |
CopyObjectOptions.Builder.ifSourceUnmodifiedSince(Date ifUnmodifiedSince) |
CopyObjectOptions |
CopyObjectOptions.overrideAcl(CannedAccessPolicy acl)
Override the default ACL (private) with the specified one.
|
static CopyObjectOptions |
CopyObjectOptions.Builder.overrideAcl(CannedAccessPolicy acl) |
CopyObjectOptions |
CopyObjectOptions.overrideMetadataWith(Map<String,String> metadata)
Use the provided metadata instead of what is on the source object.
|
static CopyObjectOptions |
CopyObjectOptions.Builder.overrideMetadataWith(Map<String,String> metadata) |
Copyright © 2009-2013 jclouds. All Rights Reserved.