Package | Description |
---|---|
com.amazonaws.services.s3 |
Synchronous client for accessing Amazon S3.
|
com.amazonaws.services.s3.internal | |
com.amazonaws.services.s3.internal.crypto | |
com.amazonaws.services.s3.model |
Classes modeling the various types represented by Amazon S3.
|
com.amazonaws.services.s3.transfer |
Transfer management.
|
com.amazonaws.services.s3.transfer.internal |
Modifier and Type | Method and Description |
---|---|
S3Object |
AmazonS3EncryptionClient.getObject(GetObjectRequest req) |
S3Object |
AmazonS3EncryptionClient.S3DirectImpl.getObject(GetObjectRequest req) |
S3Object |
AmazonS3Client.getObject(GetObjectRequest getObjectRequest) |
S3Object |
AmazonS3.getObject(GetObjectRequest getObjectRequest)
Gets the object stored in Amazon S3 under the specified bucket and
key.
|
S3Object |
AbstractAmazonS3.getObject(GetObjectRequest getObjectRequest) |
ObjectMetadata |
AmazonS3EncryptionClient.getObject(GetObjectRequest req,
java.io.File dest) |
ObjectMetadata |
AmazonS3EncryptionClient.S3DirectImpl.getObject(GetObjectRequest req,
java.io.File dest) |
ObjectMetadata |
AmazonS3Client.getObject(GetObjectRequest getObjectRequest,
java.io.File destinationFile) |
ObjectMetadata |
AmazonS3.getObject(GetObjectRequest getObjectRequest,
java.io.File destinationFile)
Gets the object metadata for the object stored
in Amazon S3 under the specified bucket and key,
and saves the object contents to the
specified file.
|
ObjectMetadata |
AbstractAmazonS3.getObject(GetObjectRequest getObjectRequest,
java.io.File destinationFile) |
Modifier and Type | Method and Description |
---|---|
static long |
ServiceUtils.getLastByteInPart(AmazonS3 s3,
GetObjectRequest getObjectRequest,
java.lang.Integer partNumber)
Returns the last byte number in a part of an object.
|
S3Object |
S3DirectSpi.getObject(GetObjectRequest req) |
abstract S3Object |
S3Direct.getObject(GetObjectRequest req) |
ObjectMetadata |
S3DirectSpi.getObject(GetObjectRequest req,
java.io.File dest) |
abstract ObjectMetadata |
S3Direct.getObject(GetObjectRequest req,
java.io.File dest) |
static java.lang.Integer |
ServiceUtils.getPartCount(GetObjectRequest getObjectRequest,
AmazonS3 s3)
Returns the part count of the object represented by the getObjectRequest.
|
boolean |
SkipMd5CheckStrategy.skipClientSideValidation(GetObjectRequest request,
ObjectMetadata returnedMetadata)
Conveience method to determine whether to do client side validation of a GetObject call based
on both the request and the response.
|
boolean |
SkipMd5CheckStrategy.skipClientSideValidationPerRequest(GetObjectRequest request)
Based on the given
GetObjectRequest , returns whether the specified request should
skip MD5 check on the requested object content. |
Modifier and Type | Method and Description |
---|---|
(package private) GetObjectRequest |
S3CryptoModuleBase.createInstructionGetRequest(S3ObjectId id)
Creates a get object request for an instruction file using
the default instruction file suffix.
|
(package private) GetObjectRequest |
S3CryptoModuleBase.createInstructionGetRequest(S3ObjectId s3objectId,
java.lang.String instFileSuffix)
Creates and return a get object request for an instruction file.
|
Modifier and Type | Method and Description |
---|---|
private S3Object |
S3CryptoModuleAE.decipher(GetObjectRequest req,
long[] desiredRange,
long[] cryptoRange,
S3Object retrieved) |
private S3Object |
S3CryptoModuleAE.decipherWithInstFileSuffix(GetObjectRequest req,
long[] desiredRange,
long[] cryptoRange,
S3Object retrieved,
java.lang.String instFileSuffix)
Same as
S3CryptoModuleAE.decipher(GetObjectRequest, long[], long[], S3Object)
but makes use of an instruction file with the specified suffix. |
private S3Object |
S3CryptoModuleAE.decipherWithInstructionFile(GetObjectRequest req,
long[] desiredRange,
long[] cryptoRange,
S3ObjectWrapper retrieved,
S3ObjectWrapper instructionFile) |
private S3Object |
S3CryptoModuleAE.decipherWithMetadata(GetObjectRequest req,
long[] desiredRange,
long[] cryptoRange,
S3ObjectWrapper retrieved) |
S3Object |
S3CryptoModuleEO.getObjectSecurely(GetObjectRequest getObjectRequest) |
S3Object |
S3CryptoModuleAE.getObjectSecurely(GetObjectRequest req) |
abstract S3Object |
S3CryptoModule.getObjectSecurely(GetObjectRequest req) |
S3Object |
CryptoModuleDispatcher.getObjectSecurely(GetObjectRequest req) |
ObjectMetadata |
S3CryptoModuleEO.getObjectSecurely(GetObjectRequest getObjectRequest,
java.io.File destinationFile) |
ObjectMetadata |
S3CryptoModuleAE.getObjectSecurely(GetObjectRequest getObjectRequest,
java.io.File destinationFile) |
abstract ObjectMetadata |
S3CryptoModule.getObjectSecurely(GetObjectRequest req,
java.io.File dest) |
ObjectMetadata |
CryptoModuleDispatcher.getObjectSecurely(GetObjectRequest req,
java.io.File destinationFile) |
Modifier and Type | Class and Description |
---|---|
class |
EncryptedGetObjectRequest
An extension of
GetObjectRequest to allow additional encryption
material description to be specified on a per-request basis. |
Modifier and Type | Method and Description |
---|---|
GetObjectRequest |
GetObjectRequest.withBucketName(java.lang.String bucketName)
Sets the name of the bucket containing the object to be downloaded.
|
GetObjectRequest |
GetObjectRequest.withKey(java.lang.String key)
Sets the key under which the object to be downloaded is stored.
|
GetObjectRequest |
GetObjectRequest.withMatchingETagConstraint(java.lang.String eTag)
Sets a single ETag constraint to this request.
|
GetObjectRequest |
GetObjectRequest.withModifiedSinceConstraint(java.util.Date date)
Sets the optional modified constraint that restricts this request
to executing only if the object has been modified after the
specified date.
|
GetObjectRequest |
GetObjectRequest.withNonmatchingETagConstraint(java.lang.String eTag)
Sets a single ETag constraint to this request.
|
GetObjectRequest |
GetObjectRequest.withPartNumber(java.lang.Integer partNumber)
Sets the optional part number that indicates the part to be downloaded in a multipart object.
|
GetObjectRequest |
GetObjectRequest.withProgressListener(ProgressListener progressListener)
Deprecated.
|
GetObjectRequest |
GetObjectRequest.withRange(long start)
Sets the optional inclusive start range within the desired object that the
rest of which will be downloaded by this request.
|
GetObjectRequest |
GetObjectRequest.withRange(long start,
long end)
Sets the optional inclusive byte range within the desired object that
will be downloaded by this request.
|
GetObjectRequest |
GetObjectRequest.withRequesterPays(boolean isRequesterPays)
Used for conducting this operation from a Requester Pays Bucket.
|
GetObjectRequest |
GetObjectRequest.withResponseHeaders(ResponseHeaderOverrides responseHeaders)
Sets the headers to be overridden in the service response and returns
this object, for method chaining.
|
GetObjectRequest |
GetObjectRequest.withS3ObjectId(S3ObjectId s3ObjectId)
Fluent API to set the S3 object id for this request.
|
GetObjectRequest |
GetObjectRequest.withSSECustomerKey(SSECustomerKey sseKey)
Sets the optional customer-provided server-side encryption key to use to
decrypt this object, and returns the updated GetObjectRequest so that
additional method calls may be chained together.
|
GetObjectRequest |
GetObjectRequest.withUnmodifiedSinceConstraint(java.util.Date date)
Sets the optional unmodified constraint that restricts this request
to executing only if the object has not been modified after
the specified date.
|
GetObjectRequest |
GetObjectRequest.withVersionId(java.lang.String versionId)
Sets the optional version ID specifying which version of the object to
download and returns this object, enabling additional method calls to be
chained together.
|
Modifier and Type | Field and Description |
---|---|
private GetObjectRequest |
DownloadTaskImpl.getObjectRequest |
private GetObjectRequest |
DownloadCallable.req |
Modifier and Type | Method and Description |
---|---|
private void |
DownloadCallable.adjustRequest(GetObjectRequest req)
This method is called only if it is a resumed download.
|
private Download |
TransferManager.doDownload(GetObjectRequest getObjectRequest,
java.io.File file,
TransferStateChangeListener stateListener,
S3ProgressListener s3progressListener,
boolean resumeExistingDownload,
long timeoutMillis,
java.lang.Integer lastFullyDownloadedPart,
long lastModifiedTimeRecordedDuringPause)
Same as public interface, but adds a state listener so that callers can
be notified of state changes to the download.
|
Download |
TransferManager.download(GetObjectRequest getObjectRequest,
java.io.File file)
Schedules a new transfer to download data from Amazon S3 and save it to
the specified file.
|
Download |
TransferManager.download(GetObjectRequest getObjectRequest,
java.io.File file,
long timeoutMillis)
Schedules a new transfer to download data from Amazon S3 and save it to
the specified file.
|
Download |
TransferManager.download(GetObjectRequest getObjectRequest,
java.io.File file,
S3ProgressListener progressListener)
Schedules a new transfer to download data from Amazon S3 and save it to
the specified file.
|
Download |
TransferManager.download(GetObjectRequest getObjectRequest,
java.io.File file,
S3ProgressListener progressListener,
long timeoutMillis)
Schedules a new transfer to download data from Amazon S3 and save it to
the specified file.
|
Constructor and Description |
---|
DownloadCallable(AmazonS3 s3,
java.util.concurrent.CountDownLatch latch,
GetObjectRequest req,
boolean resumeExistingDownload,
DownloadImpl download,
java.io.File dstfile,
long origStartingByte,
long expectedFileLength,
long timeout,
java.util.concurrent.ScheduledExecutorService executor,
java.lang.Integer lastFullyDownloadedPartNumber,
boolean isDownloadParallel) |
DownloadTaskImpl(AmazonS3 s3,
DownloadImpl download,
GetObjectRequest getObjectRequest) |
Modifier and Type | Field and Description |
---|---|
private GetObjectRequest |
DownloadImpl.getObjectRequest |
private GetObjectRequest |
DownloadPartCallable.getPartRequest |
Modifier and Type | Method and Description |
---|---|
private PersistableDownload |
DownloadImpl.captureDownloadState(GetObjectRequest getObjectRequest,
java.io.File file)
Returns the captured state of the download; or null if it should not be
captured (for security reason).
|
static boolean |
TransferManagerUtils.isDownloadParallelizable(AmazonS3 s3,
GetObjectRequest getObjectRequest,
java.lang.Integer partCount)
Returns true if the specified download request can use parallel part
downloads for increased performance.
|
Constructor and Description |
---|
DownloadImpl(java.lang.String description,
TransferProgress transferProgress,
ProgressListenerChain progressListenerChain,
S3Object s3Object,
TransferStateChangeListener listener,
GetObjectRequest getObjectRequest,
java.io.File file)
Deprecated.
|
DownloadImpl(java.lang.String description,
TransferProgress transferProgress,
ProgressListenerChain progressListenerChain,
S3Object s3Object,
TransferStateChangeListener listener,
GetObjectRequest getObjectRequest,
java.io.File file,
ObjectMetadata objectMetadata,
boolean isDownloadParallel) |
DownloadPartCallable(AmazonS3 s3,
GetObjectRequest getPartRequest,
java.lang.String destinationFileName) |