Package | Description |
---|---|
com.amazonaws.services.dynamodbv2.datamodeling | |
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 |
---|---|
ObjectMetadata |
S3Link.downloadTo(java.io.File destination)
Convenient method to synchronously download to the specified file from
the S3 object represented by this S3Link.
|
ObjectMetadata |
S3Link.downloadTo(java.io.File destination,
RequestMetricCollector requestMetricCollector)
Same as
S3Link.downloadTo(File) but allows specifying a
request metric collector. |
ObjectMetadata |
S3Link.downloadTo(java.io.OutputStream output)
Downloads the data from the object represented by this S3Link to the
specified output stream.
|
ObjectMetadata |
S3Link.downloadTo(java.io.OutputStream output,
RequestMetricCollector requestMetricCollector)
Same as
S3Link.downloadTo(OutputStream) but allows specifying a
request metric collector. |
private ObjectMetadata |
S3Link.downloadTo0(java.io.File destination,
RequestMetricCollector requestMetricCollector) |
private ObjectMetadata |
S3Link.downloadTo0(java.io.OutputStream output,
RequestMetricCollector requestMetricCollector) |
Modifier and Type | Method and Description |
---|---|
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) |
ObjectMetadata |
AmazonS3Client.getObjectMetadata(GetObjectMetadataRequest getObjectMetadataRequest) |
ObjectMetadata |
AmazonS3.getObjectMetadata(GetObjectMetadataRequest getObjectMetadataRequest)
Gets the metadata for the specified Amazon S3 object without
actually fetching the object itself.
|
ObjectMetadata |
AbstractAmazonS3.getObjectMetadata(GetObjectMetadataRequest getObjectMetadataRequest) |
ObjectMetadata |
AmazonS3Client.getObjectMetadata(java.lang.String bucketName,
java.lang.String key) |
ObjectMetadata |
AmazonS3.getObjectMetadata(java.lang.String bucketName,
java.lang.String key)
Gets the metadata for the specified Amazon S3 object without
actually fetching the object itself.
|
ObjectMetadata |
AbstractAmazonS3.getObjectMetadata(java.lang.String bucketName,
java.lang.String key) |
Modifier and Type | Method and Description |
---|---|
private static PutObjectResult |
AmazonS3Client.createPutObjectResult(ObjectMetadata metadata) |
protected static void |
AmazonS3Client.populateRequestMetadata(Request<?> request,
ObjectMetadata metadata)
Populates the specified request object with the appropriate headers from
the
ObjectMetadata object. |
PutObjectResult |
AmazonS3Client.putObject(java.lang.String bucketName,
java.lang.String key,
java.io.InputStream input,
ObjectMetadata metadata) |
PutObjectResult |
AmazonS3.putObject(java.lang.String bucketName,
java.lang.String key,
java.io.InputStream input,
ObjectMetadata metadata)
Uploads the specified input stream and object metadata to Amazon S3 under
the specified bucket and key name.
|
PutObjectResult |
AbstractAmazonS3.putObject(java.lang.String bucketName,
java.lang.String key,
java.io.InputStream input,
ObjectMetadata metadata) |
Modifier and Type | Method and Description |
---|---|
ObjectMetadata |
S3DirectSpi.getObject(GetObjectRequest req,
java.io.File dest) |
abstract ObjectMetadata |
S3Direct.getObject(GetObjectRequest req,
java.io.File dest) |
Modifier and Type | Method and Description |
---|---|
AmazonWebServiceResponse<ObjectMetadata> |
S3MetadataResponseHandler.handle(HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
private boolean |
SkipMd5CheckStrategy.metadataInvolvesSse(ObjectMetadata metadata)
If SSE-C or SSE-KMS is involved then the Etag will be the MD5 of the ciphertext not the
plaintext so we can't validate it client side.
|
protected void |
AbstractS3ResponseHandler.populateObjectMetadata(HttpResponse response,
ObjectMetadata metadata)
Populates the specified S3ObjectMetadata object with all object metadata
pulled from the headers in the specified response.
|
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.skipClientSideValidationPerGetResponse(ObjectMetadata metadata)
Determines whether the client should use the
Headers.ETAG header returned by S3 to
validate the integrity of the message client side based on the server response. |
boolean |
SkipMd5CheckStrategy.skipClientSideValidationPerPutResponse(ObjectMetadata metadata)
Determines whether the client should use the
Headers.ETAG header returned by S3 to
validate the integrity of the message client side based on the server response. |
private boolean |
SkipMd5CheckStrategy.skipClientSideValidationPerResponse(ObjectMetadata metadata) |
boolean |
SkipMd5CheckStrategy.skipClientSideValidationPerUploadPartResponse(ObjectMetadata metadata)
Determines whether the client should use the
Headers.ETAG header returned by S3 to
validate the integrity of the message client side based on the server response. |
Modifier and Type | Method and Description |
---|---|
(package private) ObjectMetadata |
S3ObjectWrapper.getObjectMetadata() |
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) |
private ObjectMetadata |
ContentCryptoMaterial.toObjectMetadata(ObjectMetadata metadata)
Returns the metadata in the latest format.
|
(package private) ObjectMetadata |
ContentCryptoMaterial.toObjectMetadata(ObjectMetadata metadata,
CryptoMode mode)
Returns the given metadata updated with this content crypto material.
|
private ObjectMetadata |
ContentCryptoMaterial.toObjectMetadataEO(ObjectMetadata metadata)
Returns the metadata in backward compatibility (old) format, so it can be
read by older version of the AWS SDK.
|
protected ObjectMetadata |
S3CryptoModuleBase.updateMetadataWithContentCryptoMaterial(ObjectMetadata metadata,
java.io.File file,
ContentCryptoMaterial instruction) |
Modifier and Type | Method and Description |
---|---|
(package private) static ContentCryptoMaterial |
ContentCryptoMaterial.fromObjectMetadata(ObjectMetadata metadata,
EncryptionMaterialsAccessor kekMaterialAccessor,
java.security.Provider securityProvider,
boolean keyWrapExpected,
AWSKMSClient kms) |
(package private) static ContentCryptoMaterial |
ContentCryptoMaterial.fromObjectMetadata(ObjectMetadata metadata,
EncryptionMaterialsAccessor kekMaterialAccessor,
java.security.Provider securityProvider,
long[] range,
ExtraMaterialsDescription extra,
boolean keyWrapExpected,
AWSKMSClient kms)
Factory method to return the content crypto material from the S3 object
meta data, using the specified key encrypting key material accessor and
an optional security provider.
|
private static ContentCryptoMaterial |
ContentCryptoMaterial.fromObjectMetadata0(ObjectMetadata metadata,
EncryptionMaterialsAccessor kekMaterialAccessor,
java.security.Provider securityProvider,
long[] range,
ExtraMaterialsDescription extra,
boolean keyWrapExpected,
AWSKMSClient kms) |
protected long |
S3CryptoModuleBase.plaintextLength(AbstractPutObjectRequest request,
ObjectMetadata metadata)
Returns the plaintext length from the request and metadata; or -1 if
unknown.
|
(package private) void |
S3ObjectWrapper.setObjectMetadata(ObjectMetadata metadata) |
private ObjectMetadata |
ContentCryptoMaterial.toObjectMetadata(ObjectMetadata metadata)
Returns the metadata in the latest format.
|
(package private) ObjectMetadata |
ContentCryptoMaterial.toObjectMetadata(ObjectMetadata metadata,
CryptoMode mode)
Returns the given metadata updated with this content crypto material.
|
private ObjectMetadata |
ContentCryptoMaterial.toObjectMetadataEO(ObjectMetadata metadata)
Returns the metadata in backward compatibility (old) format, so it can be
read by older version of the AWS SDK.
|
protected ObjectMetadata |
S3CryptoModuleBase.updateMetadataWithContentCryptoMaterial(ObjectMetadata metadata,
java.io.File file,
ContentCryptoMaterial instruction) |
Modifier and Type | Field and Description |
---|---|
private ObjectMetadata |
S3Object.metadata
The metadata stored by Amazon S3 for this object
|
private ObjectMetadata |
PutObjectResult.metadata
The metadata returned as a result of PutObject operation.
|
private ObjectMetadata |
AbstractPutObjectRequest.metadata
Optional metadata instructing Amazon S3 how to handle the uploaded data
(e.g.
|
private ObjectMetadata |
CopyObjectRequest.newObjectMetadata
Optional field specifying the object metadata for the new object
|
private ObjectMetadata |
UploadPartRequest.objectMetadata
Additional information about the part being uploaded, such as
referrer.
|
ObjectMetadata |
InitiateMultipartUploadRequest.objectMetadata
Additional information about the new object being created, such as
content type, content encoding, user metadata, etc.
|
private ObjectMetadata |
UploadObjectRequest.uploadPartMetadata
Optional metadata to be included in each upload part requests.
|
Modifier and Type | Method and Description |
---|---|
ObjectMetadata |
ObjectMetadata.clone()
Returns a clone of this
ObjectMetadata . |
ObjectMetadata |
PutObjectResult.getMetadata()
Returns the metadata retrieved as a response to
AmazonS3Client.putObject(PutObjectRequest) operation. |
ObjectMetadata |
AbstractPutObjectRequest.getMetadata()
Gets the optional metadata instructing Amazon S3 how to handle the
uploaded data (e.g.
|
ObjectMetadata |
CopyObjectRequest.getNewObjectMetadata()
Gets the optional object metadata to set for the new, copied object.
|
ObjectMetadata |
UploadPartRequest.getObjectMetadata()
Returns the additional information about the part being uploaded.
|
ObjectMetadata |
S3Object.getObjectMetadata()
Gets the metadata stored by Amazon S3 for this object.
|
ObjectMetadata |
InitiateMultipartUploadRequest.getObjectMetadata()
Returns the additional information about the new object being created,
such as content type, content encoding, user metadata, etc.
|
ObjectMetadata |
UploadObjectRequest.getUploadPartMetadata()
Gets the optional metadata to be included in each UploadPart request.
|
Modifier and Type | Method and Description |
---|---|
void |
PutObjectResult.setMetadata(ObjectMetadata metadata)
Sets the metadata retrieved as a response to
AmazonS3Client.putObject(PutObjectRequest) operation. |
void |
AbstractPutObjectRequest.setMetadata(ObjectMetadata metadata)
Sets the optional metadata instructing Amazon S3 how to handle the
uploaded data (e.g.
|
void |
CopyObjectRequest.setNewObjectMetadata(ObjectMetadata newObjectMetadata)
Sets the object metadata to use for the new, copied object.
|
void |
UploadPartRequest.setObjectMetadata(ObjectMetadata objectMetadata)
Sets the additional information about the part being uploaded.
|
void |
S3Object.setObjectMetadata(ObjectMetadata metadata)
Sets the object metadata for this object.
|
void |
InitiateMultipartUploadRequest.setObjectMetadata(ObjectMetadata objectMetadata)
Sets the additional information about the new object being created, such
as content type, content encoding, user metadata, etc.
|
void |
UploadObjectRequest.setUploadPartMetadata(ObjectMetadata partUploadMetadata)
Sets the optional metadata to be included in each UploadPart request.
|
PutObjectRequest |
PutObjectRequest.withMetadata(ObjectMetadata metadata) |
<T extends AbstractPutObjectRequest> |
AbstractPutObjectRequest.withMetadata(ObjectMetadata metadata)
Sets the optional metadata instructing Amazon S3 how to handle the
uploaded data (e.g.
|
CopyObjectRequest |
CopyObjectRequest.withNewObjectMetadata(ObjectMetadata newObjectMetadata)
Sets the object metadata to use for the new, copied object and returns
this object, enabling additional method calls to be chained together.
|
UploadPartRequest |
UploadPartRequest.withObjectMetadata(ObjectMetadata objectMetadata)
Fluent API for
UploadPartRequest.setObjectMetadata(ObjectMetadata) . |
InitiateMultipartUploadRequest |
InitiateMultipartUploadRequest.withObjectMetadata(ObjectMetadata objectMetadata)
Sets the additional information about the new object being created, such
as content type, content encoding, user metadata, etc.
|
<T extends UploadObjectRequest> |
UploadObjectRequest.withUploadPartMetadata(ObjectMetadata partUploadMetadata)
Fluent API for
UploadObjectRequest.setUploadPartMetadata(ObjectMetadata) . |
Constructor and Description |
---|
AbstractPutObjectRequest(java.lang.String bucketName,
java.lang.String key,
java.io.InputStream input,
ObjectMetadata metadata)
Constructs a new
AbstractPutObjectRequest object to upload a stream of data to
the specified bucket and key. |
EncryptedInitiateMultipartUploadRequest(java.lang.String bucketName,
java.lang.String key,
ObjectMetadata objectMetadata) |
EncryptedPutObjectRequest(java.lang.String bucketName,
java.lang.String key,
java.io.InputStream input,
ObjectMetadata metadata) |
InitiateMultipartUploadRequest(java.lang.String bucketName,
java.lang.String key,
ObjectMetadata objectMetadata)
Constructs a request to initiate a new multipart upload in the specified
bucket, stored by the specified key, and with the additional specified
object metadata.
|
ObjectMetadata(ObjectMetadata from) |
PutObjectRequest(java.lang.String bucketName,
java.lang.String key,
java.io.InputStream input,
ObjectMetadata metadata)
Constructs a new
PutObjectRequest object to upload a stream of data to
the specified bucket and key. |
UploadObjectRequest(java.lang.String bucketName,
java.lang.String key,
java.io.InputStream input,
ObjectMetadata metadata) |
Modifier and Type | Method and Description |
---|---|
ObjectMetadata |
Download.getObjectMetadata()
Returns the ObjectMetadata for the object being downloaded.
|
Modifier and Type | Method and Description |
---|---|
void |
ObjectMetadataProvider.provideObjectMetadata(java.io.File file,
ObjectMetadata metadata) |
Upload |
TransferManager.upload(java.lang.String bucketName,
java.lang.String key,
java.io.InputStream input,
ObjectMetadata objectMetadata)
Schedules a new transfer to upload data to Amazon S3.
|
Modifier and Type | Field and Description |
---|---|
private ObjectMetadata |
CopyCallable.metadata
Metadata of the object in the source bucket to be copied.
|
private ObjectMetadata |
DownloadImpl.objectMetadata |
Modifier and Type | Method and Description |
---|---|
ObjectMetadata |
DownloadImpl.getObjectMetadata()
Returns the ObjectMetadata for the object being downloaded.
|
Modifier and Type | Method and Description |
---|---|
private void |
CopyCallable.populateMetadataWithEncryptionParams(ObjectMetadata source,
ObjectMetadata destination) |
Constructor and Description |
---|
CopyCallable(TransferManager transferManager,
java.util.concurrent.ExecutorService threadPool,
CopyImpl copy,
CopyObjectRequest copyObjectRequest,
ObjectMetadata metadata,
ProgressListenerChain progressListenerChain) |
DownloadImpl(java.lang.String description,
TransferProgress transferProgress,
ProgressListenerChain progressListenerChain,
S3Object s3Object,
TransferStateChangeListener listener,
GetObjectRequest getObjectRequest,
java.io.File file,
ObjectMetadata objectMetadata,
boolean isDownloadParallel) |