Package org.jclouds.s3.domain.internal
Class BucketListObjectMetadata
java.lang.Object
org.jclouds.s3.domain.internal.BucketListObjectMetadata
- All Implemented Interfaces:
Comparable<ObjectMetadata>,ObjectMetadata
Returns the metadata parsable from a bucket listing
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jclouds.s3.domain.ObjectMetadata
ObjectMetadata.StorageClass -
Constructor Summary
ConstructorsConstructorDescriptionBucketListObjectMetadata(String key, String bucket, URI uri, Date lastModified, String eTag, byte[] md5, long contentLength, CanonicalUser owner, ObjectMetadata.StorageClass storageClass) -
Method Summary
Modifier and TypeMethodDescriptionintbooleanCan be used to specify caching behavior along the request/reply chain.getETag()getKey()The key is the handle that you assign to an object that allows you retrieve it later.getOwner()Every bucket and object in Amazon S3 has an owner, the user that created the bucket or object.Currently defaults to 'STANDARD' and not used.getUri()inthashCode()toString()
-
Constructor Details
-
BucketListObjectMetadata
public BucketListObjectMetadata(String key, String bucket, URI uri, Date lastModified, String eTag, byte[] md5, long contentLength, CanonicalUser owner, ObjectMetadata.StorageClass storageClass)
-
-
Method Details
-
getUri
- Specified by:
getUriin interfaceObjectMetadata
-
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.- Specified by:
getKeyin interfaceObjectMetadata- See Also:
-
getBucket
- Specified by:
getBucketin interfaceObjectMetadata
-
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.- Specified by:
getOwnerin interfaceObjectMetadata
-
getStorageClass
Currently defaults to 'STANDARD' and not used.- Specified by:
getStorageClassin interfaceObjectMetadata
-
getCacheControl
Can be used to specify caching behavior along the request/reply chain.- Specified by:
getCacheControlin interfaceObjectMetadata
-
getLastModified
- Specified by:
getLastModifiedin interfaceObjectMetadata
-
getETag
- Specified by:
getETagin interfaceObjectMetadata
-
compareTo
- Specified by:
compareToin interfaceComparable<ObjectMetadata>
-
getUserMetadata
- Specified by:
getUserMetadatain interfaceObjectMetadata
-
getContentMetadata
- Specified by:
getContentMetadatain interfaceObjectMetadata
-
hashCode
public int hashCode() -
equals
-
toString
-