Package org.jclouds.s3.domain
Class ObjectMetadataBuilder
- java.lang.Object
-
- org.jclouds.s3.domain.ObjectMetadataBuilder
-
public class ObjectMetadataBuilder extends Object
Allows you to createObjectMetadata
objects.
-
-
Constructor Summary
Constructors Constructor Description ObjectMetadataBuilder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectMetadataBuilder
bucket(String bucket)
ObjectMetadata
build()
ObjectMetadataBuilder
cacheControl(String cacheControl)
ObjectMetadataBuilder
contentDisposition(String contentDisposition)
ObjectMetadataBuilder
contentEncoding(String contentEncoding)
ObjectMetadataBuilder
contentLanguage(String contentLanguage)
ObjectMetadataBuilder
contentLength(Long contentLength)
ObjectMetadataBuilder
contentMD5(byte[] md5)
ObjectMetadataBuilder
contentType(String contentType)
static ObjectMetadataBuilder
create()
ObjectMetadataBuilder
eTag(String eTag)
ObjectMetadataBuilder
key(String key)
ObjectMetadataBuilder
lastModified(Date lastModified)
ObjectMetadataBuilder
owner(CanonicalUser owner)
ObjectMetadataBuilder
storageClass(ObjectMetadata.StorageClass storageClass)
ObjectMetadataBuilder
uri(URI uri)
ObjectMetadataBuilder
userMetadata(Map<String,String> userMetadata)
-
-
-
Method Detail
-
create
public static ObjectMetadataBuilder create()
-
key
public ObjectMetadataBuilder key(String key)
-
bucket
public ObjectMetadataBuilder bucket(String bucket)
-
owner
public ObjectMetadataBuilder owner(CanonicalUser owner)
-
eTag
public ObjectMetadataBuilder eTag(String eTag)
-
uri
public ObjectMetadataBuilder uri(URI uri)
-
lastModified
public ObjectMetadataBuilder lastModified(Date lastModified)
-
storageClass
public ObjectMetadataBuilder storageClass(ObjectMetadata.StorageClass storageClass)
-
cacheControl
public ObjectMetadataBuilder cacheControl(String cacheControl)
-
userMetadata
public ObjectMetadataBuilder userMetadata(Map<String,String> userMetadata)
-
contentDisposition
public ObjectMetadataBuilder contentDisposition(String contentDisposition)
-
contentEncoding
public ObjectMetadataBuilder contentEncoding(String contentEncoding)
-
contentLanguage
public ObjectMetadataBuilder contentLanguage(String contentLanguage)
-
contentLength
public ObjectMetadataBuilder contentLength(Long contentLength)
-
contentMD5
public ObjectMetadataBuilder contentMD5(byte[] md5)
-
contentType
public ObjectMetadataBuilder contentType(String contentType)
-
build
public ObjectMetadata build()
-
-