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 ObjectMetadataS3Link. downloadTo(File destination)Convenient method to synchronously download to the specified file from the S3 object represented by this S3Link.ObjectMetadataS3Link. downloadTo(File destination, RequestMetricCollector requestMetricCollector)Same asS3Link.downloadTo(File)but allows specifying a request metric collector.ObjectMetadataS3Link. downloadTo(OutputStream output)Downloads the data from the object represented by this S3Link to the specified output stream.ObjectMetadataS3Link. 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 ObjectMetadataAbstractAmazonS3. getObject(GetObjectRequest getObjectRequest, File destinationFile)ObjectMetadataAmazonS3. 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.ObjectMetadataAmazonS3Client. getObject(GetObjectRequest getObjectRequest, File destinationFile)ObjectMetadataAmazonS3EncryptionClient. getObject(GetObjectRequest req, File dest)ObjectMetadataAbstractAmazonS3. getObjectMetadata(GetObjectMetadataRequest getObjectMetadataRequest)ObjectMetadataAbstractAmazonS3. getObjectMetadata(String bucketName, String key)ObjectMetadataAmazonS3. getObjectMetadata(GetObjectMetadataRequest getObjectMetadataRequest)Gets the metadata for the specified Amazon S3 object without actually fetching the object itself.ObjectMetadataAmazonS3. getObjectMetadata(String bucketName, String key)Gets the metadata for the specified Amazon S3 object without actually fetching the object itself.ObjectMetadataAmazonS3Client. getObjectMetadata(GetObjectMetadataRequest getObjectMetadataRequest)ObjectMetadataAmazonS3Client. getObjectMetadata(String bucketName, String key)Methods in com.amazonaws.services.s3 with parameters of type ObjectMetadata Modifier and Type Method Description protected static voidAmazonS3Client. populateRequestMetadata(Request<?> request, ObjectMetadata metadata)Populates the specified request object with the appropriate headers from theObjectMetadataobject.PutObjectResultAbstractAmazonS3. putObject(String bucketName, String key, InputStream input, ObjectMetadata metadata)PutObjectResultAmazonS3. 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.PutObjectResultAmazonS3Client. 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 ObjectMetadataCryptoModuleDispatcher. getObjectSecurely(GetObjectRequest req, File destinationFile)abstract ObjectMetadataS3CryptoModule. getObjectSecurely(GetObjectRequest req, File dest)protected ObjectMetadataS3CryptoModuleBase. 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 longS3CryptoModuleBase. plaintextLength(AbstractPutObjectRequest request, ObjectMetadata metadata)Returns the plaintext length from the request and metadata; or -1 if unknown.protected ObjectMetadataS3CryptoModuleBase. 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 ObjectMetadataInitiateMultipartUploadRequest. objectMetadataAdditional 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 ObjectMetadataObjectMetadata. clone()Returns a clone of thisObjectMetadata.ObjectMetadataAbstractPutObjectRequest. getMetadata()Gets the optional metadata instructing Amazon S3 how to handle the uploaded data (e.g. custom user metadata, hooks for specifying content type, etc.).ObjectMetadataPutObjectResult. getMetadata()Returns the metadata retrieved as a response toAmazonS3Client.putObject(PutObjectRequest)operation.ObjectMetadataCopyObjectRequest. getNewObjectMetadata()Gets the optional object metadata to set for the new, copied object.ObjectMetadataInitiateMultipartUploadRequest. getObjectMetadata()Returns the additional information about the new object being created, such as content type, content encoding, user metadata, etc.ObjectMetadataS3Object. getObjectMetadata()Gets the metadata stored by Amazon S3 for this object.ObjectMetadataUploadPartRequest. getObjectMetadata()Returns the additional information about the part being uploaded.ObjectMetadataUploadObjectRequest. 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 voidAbstractPutObjectRequest. setMetadata(ObjectMetadata metadata)Sets the optional metadata instructing Amazon S3 how to handle the uploaded data (e.g. custom user metadata, hooks for specifying content type, etc.).voidPutObjectResult. setMetadata(ObjectMetadata metadata)Sets the metadata retrieved as a response toAmazonS3Client.putObject(PutObjectRequest)operation.voidCopyObjectRequest. setNewObjectMetadata(ObjectMetadata newObjectMetadata)Sets the object metadata to use for the new, copied object.voidInitiateMultipartUploadRequest. setObjectMetadata(ObjectMetadata objectMetadata)Sets the additional information about the new object being created, such as content type, content encoding, user metadata, etc.voidS3Object. setObjectMetadata(ObjectMetadata metadata)Sets the object metadata for this object.voidUploadPartRequest. setObjectMetadata(ObjectMetadata objectMetadata)Sets the additional information about the part being uploaded.voidUploadObjectRequest. 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. custom user metadata, hooks for specifying content type, etc.).PutObjectRequestPutObjectRequest. withMetadata(ObjectMetadata metadata)CopyObjectRequestCopyObjectRequest. 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.InitiateMultipartUploadRequestInitiateMultipartUploadRequest. withObjectMetadata(ObjectMetadata objectMetadata)Sets the additional information about the new object being created, such as content type, content encoding, user metadata, etc.UploadPartRequestUploadPartRequest. 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 newAbstractPutObjectRequestobject 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 newPutObjectRequestobject 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 ObjectMetadataDownload. 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 voidObjectMetadataProvider. provideObjectMetadata(File file, ObjectMetadata metadata)UploadTransferManager. upload(String bucketName, String key, InputStream input, ObjectMetadata objectMetadata)Schedules a new transfer to upload data to Amazon S3.
-