public class ObjectMetadataBuilder extends Object
ObjectMetadata
objects.Constructor and Description |
---|
ObjectMetadataBuilder() |
Modifier and Type | Method and 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) |
public static ObjectMetadataBuilder create()
public ObjectMetadataBuilder key(String key)
public ObjectMetadataBuilder bucket(String bucket)
public ObjectMetadataBuilder owner(CanonicalUser owner)
public ObjectMetadataBuilder eTag(String eTag)
public ObjectMetadataBuilder uri(URI uri)
public ObjectMetadataBuilder lastModified(Date lastModified)
public ObjectMetadataBuilder storageClass(ObjectMetadata.StorageClass storageClass)
public ObjectMetadataBuilder cacheControl(String cacheControl)
public ObjectMetadataBuilder userMetadata(Map<String,String> userMetadata)
public ObjectMetadataBuilder contentDisposition(String contentDisposition)
public ObjectMetadataBuilder contentEncoding(String contentEncoding)
public ObjectMetadataBuilder contentLanguage(String contentLanguage)
public ObjectMetadataBuilder contentLength(Long contentLength)
public ObjectMetadataBuilder contentMD5(byte[] md5)
public ObjectMetadataBuilder contentType(String contentType)
public ObjectMetadata build()
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.