org.jclouds.s3.domain
Interface ObjectMetadata

All Superinterfaces:
Comparable<ObjectMetadata>
All Known Subinterfaces:
MutableObjectMetadata
All Known Implementing Classes:
BucketListObjectMetadata, CopyObjectResult, MutableObjectMetadataImpl

public interface ObjectMetadata
extends Comparable<ObjectMetadata>

/** Amazon S3 is designed to store objects. Objects are stored in buckets and consist of a value, a key, metadata, and an access control policy.

Author:
Adrian Cole
See Also:

Nested Class Summary
static class ObjectMetadata.StorageClass
           
 
Method Summary
 String getBucket()
           
 String getCacheControl()
          Can be used to specify caching behavior along the request/reply chain.
 ContentMetadata getContentMetadata()
           
 String getETag()
           
 String getKey()
          The key is the handle that you assign to an object that allows you retrieve it later.
 Date getLastModified()
           
 CanonicalUser getOwner()
          Every bucket and object in Amazon S3 has an owner, the user that created the bucket or object.
 ObjectMetadata.StorageClass getStorageClass()
          Currently defaults to 'STANDARD' and not used.
 URI getUri()
           
 Map<String,String> getUserMetadata()
           
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getKey

String getKey()
The key is the handle that you assign to an object that allows you retrieve it later. A key is a sequence of Unicode characters whose UTF-8 encoding is at most 1024 bytes long. Each object in a bucket must have a unique key.

See Also:

getBucket

String getBucket()

getUri

URI getUri()

getOwner

CanonicalUser getOwner()
Every bucket and object in Amazon S3 has an owner, the user that created the bucket or object. The owner of a bucket or object cannot be changed. However, if the object is overwritten by another user (deleted and rewritten), the new object will have a new owner.


getStorageClass

ObjectMetadata.StorageClass getStorageClass()
Currently defaults to 'STANDARD' and not used.


getCacheControl

String getCacheControl()
Can be used to specify caching behavior along the request/reply chain.


getLastModified

Date getLastModified()

getETag

String getETag()

getUserMetadata

Map<String,String> getUserMetadata()

getContentMetadata

ContentMetadata getContentMetadata()


Copyright © 2009-2012 jclouds. All Rights Reserved.