Package | Description |
---|---|
com.amazonaws.services.s3 |
Synchronous client for accessing Amazon S3.
|
com.amazonaws.services.s3.model |
Classes modeling the various types represented by Amazon S3.
|
com.amazonaws.services.s3.transfer |
Transfer management.
|
Modifier and Type | Method and Description |
---|---|
S3Object |
AmazonS3EncryptionClient.getObject(GetObjectRequest req) |
S3Object |
AmazonS3.getObject(GetObjectRequest getObjectRequest)
Gets the object stored in Amazon S3 under the specified bucket and
key.
|
S3Object |
AmazonS3Client.getObject(GetObjectRequest getObjectRequest) |
ObjectMetadata |
AmazonS3EncryptionClient.getObject(GetObjectRequest req,
File dest) |
ObjectMetadata |
AmazonS3.getObject(GetObjectRequest getObjectRequest,
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 |
AmazonS3Client.getObject(GetObjectRequest getObjectRequest,
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(String bucketName)
Sets the name of the bucket containing the object to be downloaded.
|
GetObjectRequest |
GetObjectRequest.withKey(String key)
Sets the key under which the object to be downloaded is stored.
|
GetObjectRequest |
GetObjectRequest.withMatchingETagConstraint(String eTag)
Sets a single ETag constraint to this request.
|
GetObjectRequest |
GetObjectRequest.withModifiedSinceConstraint(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(String eTag)
Sets a single ETag constraint to this request.
|
GetObjectRequest |
GetObjectRequest.withProgressListener(ProgressListener progressListener)
Deprecated.
|
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.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(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(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 | Method and Description |
---|---|
Download |
TransferManager.download(GetObjectRequest getObjectRequest,
File file)
Schedules a new transfer to download data from Amazon S3 and save it to
the specified file.
|
Download |
TransferManager.download(GetObjectRequest getObjectRequest,
File file,
com.amazonaws.services.s3.transfer.internal.S3ProgressListener progressListener)
Schedules a new transfer to download data from Amazon S3 and save it to
the specified file.
|
Copyright © 2014. All rights reserved.