Uses of Class
com.amazonaws.services.s3.model.ObjectMetadata
Packages that use ObjectMetadata
Package
Description
Synchronous client for accessing Amazon S3.
Classes modeling the various types represented by Amazon S3.
Transfer management.
-
Uses of ObjectMetadata in com.amazonaws.services.dynamodbv2.datamodeling
Methods in com.amazonaws.services.dynamodbv2.datamodeling that return ObjectMetadataModifier and TypeMethodDescriptionS3Link.downloadTo
(File destination) Convenient method to synchronously download to the specified file from the S3 object represented by this S3Link.S3Link.downloadTo
(File destination, RequestMetricCollector requestMetricCollector) Same asS3Link.downloadTo(File)
but allows specifying a request metric collector.S3Link.downloadTo
(OutputStream output) Downloads the data from the object represented by this S3Link to the specified output stream.S3Link.downloadTo
(OutputStream output, RequestMetricCollector requestMetricCollector) Same asS3Link.downloadTo(OutputStream)
but allows specifying a request metric collector. -
Uses of ObjectMetadata in com.amazonaws.services.s3
Methods in com.amazonaws.services.s3 that return ObjectMetadataModifier and TypeMethodDescriptionAbstractAmazonS3.getObject
(GetObjectRequest getObjectRequest, File destinationFile) 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.AmazonS3Client.getObject
(GetObjectRequest getObjectRequest, File destinationFile) AmazonS3EncryptionClient.getObject
(GetObjectRequest req, File dest) AbstractAmazonS3.getObjectMetadata
(GetObjectMetadataRequest getObjectMetadataRequest) AbstractAmazonS3.getObjectMetadata
(String bucketName, String key) AmazonS3.getObjectMetadata
(GetObjectMetadataRequest getObjectMetadataRequest) Gets the metadata for the specified Amazon S3 object without actually fetching the object itself.AmazonS3.getObjectMetadata
(String bucketName, String key) Gets the metadata for the specified Amazon S3 object without actually fetching the object itself.AmazonS3Client.getObjectMetadata
(GetObjectMetadataRequest getObjectMetadataRequest) AmazonS3Client.getObjectMetadata
(String bucketName, String key) Methods in com.amazonaws.services.s3 with parameters of type ObjectMetadataModifier and TypeMethodDescriptionprotected static void
AmazonS3Client.populateRequestMetadata
(Request<?> request, ObjectMetadata metadata) Populates the specified request object with the appropriate headers from theObjectMetadata
object.AbstractAmazonS3.putObject
(String bucketName, String key, InputStream input, ObjectMetadata metadata) AmazonS3.putObject
(String bucketName, String key, InputStream input, ObjectMetadata metadata) Uploads the specified input stream and object metadata to Amazon S3 under the specified bucket and key name.AmazonS3Client.putObject
(String bucketName, String key, InputStream input, ObjectMetadata metadata) -
Uses of ObjectMetadata in com.amazonaws.services.s3.internal.crypto
Methods in com.amazonaws.services.s3.internal.crypto that return ObjectMetadataModifier and TypeMethodDescriptionCryptoModuleDispatcher.getObjectSecurely
(GetObjectRequest req, File destinationFile) abstract ObjectMetadata
S3CryptoModule.getObjectSecurely
(GetObjectRequest req, File dest) protected final ObjectMetadata
S3CryptoModuleBase.updateMetadataWithContentCryptoMaterial
(ObjectMetadata metadata, File file, com.amazonaws.services.s3.internal.crypto.ContentCryptoMaterial instruction) Methods in com.amazonaws.services.s3.internal.crypto with parameters of type ObjectMetadataModifier and TypeMethodDescriptionprotected final long
S3CryptoModuleBase.plaintextLength
(AbstractPutObjectRequest request, ObjectMetadata metadata) Returns the plaintext length from the request and metadata; or -1 if unknown.protected final ObjectMetadata
S3CryptoModuleBase.updateMetadataWithContentCryptoMaterial
(ObjectMetadata metadata, File file, com.amazonaws.services.s3.internal.crypto.ContentCryptoMaterial instruction) -
Uses of ObjectMetadata in com.amazonaws.services.s3.model
Fields in com.amazonaws.services.s3.model declared as ObjectMetadataModifier and TypeFieldDescriptionInitiateMultipartUploadRequest.objectMetadata
Additional information about the new object being created, such as content type, content encoding, user metadata, etc.Methods in com.amazonaws.services.s3.model that return ObjectMetadataModifier and TypeMethodDescriptionObjectMetadata.clone()
Returns a clone of thisObjectMetadata
.AbstractPutObjectRequest.getMetadata()
Gets the optional metadata instructing Amazon S3 how to handle the uploaded data (e.g.PutObjectResult.getMetadata()
Returns the metadata retrieved as a response toAmazonS3Client.putObject(PutObjectRequest)
operation.CopyObjectRequest.getNewObjectMetadata()
Gets the optional object metadata to set for the new, copied object.InitiateMultipartUploadRequest.getObjectMetadata()
Returns the additional information about the new object being created, such as content type, content encoding, user metadata, etc.S3Object.getObjectMetadata()
Gets the metadata stored by Amazon S3 for this object.UploadPartRequest.getObjectMetadata()
Returns the additional information about the part being uploaded.UploadObjectRequest.getUploadPartMetadata()
Gets the optional metadata to be included in each UploadPart request.Methods in com.amazonaws.services.s3.model with parameters of type ObjectMetadataModifier and TypeMethodDescriptionvoid
AbstractPutObjectRequest.setMetadata
(ObjectMetadata metadata) Sets the optional metadata instructing Amazon S3 how to handle the uploaded data (e.g.void
PutObjectResult.setMetadata
(ObjectMetadata metadata) Sets the metadata retrieved as a response toAmazonS3Client.putObject(PutObjectRequest)
operation.void
CopyObjectRequest.setNewObjectMetadata
(ObjectMetadata newObjectMetadata) Sets the object metadata to use for the new, copied 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
S3Object.setObjectMetadata
(ObjectMetadata metadata) Sets the object metadata for this object.void
UploadPartRequest.setObjectMetadata
(ObjectMetadata objectMetadata) Sets the additional information about the part being uploaded.void
UploadObjectRequest.setUploadPartMetadata
(ObjectMetadata partUploadMetadata) Sets the optional metadata to be included in each UploadPart request.<T extends AbstractPutObjectRequest>
TAbstractPutObjectRequest.withMetadata
(ObjectMetadata metadata) Sets the optional metadata instructing Amazon S3 how to handle the uploaded data (e.g.PutObjectRequest.withMetadata
(ObjectMetadata metadata) 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.InitiateMultipartUploadRequest.withObjectMetadata
(ObjectMetadata objectMetadata) Sets the additional information about the new object being created, such as content type, content encoding, user metadata, etc.UploadPartRequest.withObjectMetadata
(ObjectMetadata objectMetadata) Fluent API forUploadPartRequest.setObjectMetadata(ObjectMetadata)
.<T extends UploadObjectRequest>
TUploadObjectRequest.withUploadPartMetadata
(ObjectMetadata partUploadMetadata) Fluent API forUploadObjectRequest.setUploadPartMetadata(ObjectMetadata)
.Constructors in com.amazonaws.services.s3.model with parameters of type ObjectMetadataModifierConstructorDescriptionprotected
AbstractPutObjectRequest
(String bucketName, String key, InputStream input, ObjectMetadata metadata) Constructs a newAbstractPutObjectRequest
object to upload a stream of data to the specified bucket and key.EncryptedInitiateMultipartUploadRequest
(String bucketName, String key, ObjectMetadata objectMetadata) EncryptedPutObjectRequest
(String bucketName, String key, InputStream input, ObjectMetadata metadata) InitiateMultipartUploadRequest
(String bucketName, 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.PutObjectRequest
(String bucketName, String key, InputStream input, ObjectMetadata metadata) Constructs a newPutObjectRequest
object to upload a stream of data to the specified bucket and key.UploadObjectRequest
(String bucketName, String key, InputStream input, ObjectMetadata metadata) -
Uses of ObjectMetadata in com.amazonaws.services.s3.transfer
Methods in com.amazonaws.services.s3.transfer that return ObjectMetadataModifier and TypeMethodDescriptionDownload.getObjectMetadata()
Returns the ObjectMetadata for the object being downloaded.Methods in com.amazonaws.services.s3.transfer with parameters of type ObjectMetadataModifier and TypeMethodDescriptionvoid
ObjectMetadataProvider.provideObjectMetadata
(File file, ObjectMetadata metadata) TransferManager.upload
(String bucketName, String key, InputStream input, ObjectMetadata objectMetadata) Schedules a new transfer to upload data to Amazon S3.