Uses of Class
com.amazonaws.services.s3.model.ObjectMetadata
-
Packages that use ObjectMetadata Package Description com.amazonaws.services.dynamodbv2.datamodeling com.amazonaws.services.s3 Synchronous client for accessing Amazon S3.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. -
-
Uses of ObjectMetadata in com.amazonaws.services.dynamodbv2.datamodeling
Methods in com.amazonaws.services.dynamodbv2.datamodeling that return ObjectMetadata Modifier and Type Method Description ObjectMetadata
S3Link. downloadTo(File destination)
Convenient method to synchronously download to the specified file from the S3 object represented by this S3Link.ObjectMetadata
S3Link. downloadTo(File destination, RequestMetricCollector requestMetricCollector)
Same asS3Link.downloadTo(File)
but allows specifying a request metric collector.ObjectMetadata
S3Link. downloadTo(OutputStream output)
Downloads the data from the object represented by this S3Link to the specified output stream.ObjectMetadata
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 ObjectMetadata Modifier and Type Method Description ObjectMetadata
AbstractAmazonS3. getObject(GetObjectRequest getObjectRequest, File destinationFile)
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)
ObjectMetadata
AmazonS3EncryptionClient. getObject(GetObjectRequest req, File dest)
ObjectMetadata
AbstractAmazonS3. getObjectMetadata(GetObjectMetadataRequest getObjectMetadataRequest)
ObjectMetadata
AbstractAmazonS3. getObjectMetadata(String bucketName, String key)
ObjectMetadata
AmazonS3. getObjectMetadata(GetObjectMetadataRequest getObjectMetadataRequest)
Gets the metadata for the specified Amazon S3 object without actually fetching the object itself.ObjectMetadata
AmazonS3. getObjectMetadata(String bucketName, String key)
Gets the metadata for the specified Amazon S3 object without actually fetching the object itself.ObjectMetadata
AmazonS3Client. getObjectMetadata(GetObjectMetadataRequest getObjectMetadataRequest)
ObjectMetadata
AmazonS3Client. getObjectMetadata(String bucketName, String key)
Methods in com.amazonaws.services.s3 with parameters of type ObjectMetadata Modifier and Type Method Description protected static void
AmazonS3Client. populateRequestMetadata(Request<?> request, ObjectMetadata metadata)
Populates the specified request object with the appropriate headers from theObjectMetadata
object.PutObjectResult
AbstractAmazonS3. putObject(String bucketName, String key, InputStream input, ObjectMetadata metadata)
PutObjectResult
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.PutObjectResult
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 ObjectMetadata Modifier and Type Method Description ObjectMetadata
CryptoModuleDispatcher. getObjectSecurely(GetObjectRequest req, File destinationFile)
abstract ObjectMetadata
S3CryptoModule. getObjectSecurely(GetObjectRequest req, File dest)
protected 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 ObjectMetadata Modifier and Type Method Description protected long
S3CryptoModuleBase. plaintextLength(AbstractPutObjectRequest request, ObjectMetadata metadata)
Returns the plaintext length from the request and metadata; or -1 if unknown.protected 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 ObjectMetadata Modifier and Type Field Description ObjectMetadata
InitiateMultipartUploadRequest. 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 ObjectMetadata Modifier and Type Method Description ObjectMetadata
ObjectMetadata. clone()
Returns a clone of thisObjectMetadata
.ObjectMetadata
AbstractPutObjectRequest. getMetadata()
Gets the optional metadata instructing Amazon S3 how to handle the uploaded data (e.g.ObjectMetadata
PutObjectResult. getMetadata()
Returns the metadata retrieved as a response toAmazonS3Client.putObject(PutObjectRequest)
operation.ObjectMetadata
CopyObjectRequest. getNewObjectMetadata()
Gets the optional object metadata to set for the new, copied object.ObjectMetadata
InitiateMultipartUploadRequest. getObjectMetadata()
Returns the additional information about the new object being created, such as content type, content encoding, user metadata, etc.ObjectMetadata
S3Object. getObjectMetadata()
Gets the metadata stored by Amazon S3 for this object.ObjectMetadata
UploadPartRequest. getObjectMetadata()
Returns the additional information about the part being uploaded.ObjectMetadata
UploadObjectRequest. getUploadPartMetadata()
Gets the optional metadata to be included in each UploadPart request.Methods in com.amazonaws.services.s3.model with parameters of type ObjectMetadata Modifier and Type Method Description void
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
PutObjectRequest. withMetadata(ObjectMetadata metadata)
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.InitiateMultipartUploadRequest
InitiateMultipartUploadRequest. withObjectMetadata(ObjectMetadata objectMetadata)
Sets the additional information about the new object being created, such as content type, content encoding, user metadata, etc.UploadPartRequest
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 ObjectMetadata Constructor Description 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 ObjectMetadata Modifier and Type Method Description ObjectMetadata
Download. getObjectMetadata()
Returns the ObjectMetadata for the object being downloaded.Methods in com.amazonaws.services.s3.transfer with parameters of type ObjectMetadata Modifier and Type Method Description void
ObjectMetadataProvider. provideObjectMetadata(File file, ObjectMetadata metadata)
Upload
TransferManager. upload(String bucketName, String key, InputStream input, ObjectMetadata objectMetadata)
Schedules a new transfer to upload data to Amazon S3.
-