public class ContentMetadataBuilder extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected String |
contentDisposition |
protected String |
contentEncoding |
protected String |
contentLanguage |
protected Long |
contentLength |
protected byte[] |
contentMD5 |
protected String |
contentType |
Constructor and Description |
---|
ContentMetadataBuilder() |
Modifier and Type | Method and Description |
---|---|
ContentMetadata |
build() |
ContentMetadataBuilder |
contentDisposition(String contentDisposition) |
ContentMetadataBuilder |
contentEncoding(String contentEncoding) |
ContentMetadataBuilder |
contentLanguage(String contentLanguage) |
ContentMetadataBuilder |
contentLength(Long contentLength) |
ContentMetadataBuilder |
contentMD5(byte[] md5) |
ContentMetadataBuilder |
contentType(String contentType) |
static ContentMetadataBuilder |
create() |
boolean |
equals(Object obj) |
static ContentMetadataBuilder |
fromContentMetadata(ContentMetadata in) |
ContentMetadataBuilder |
fromHttpHeaders(com.google.common.collect.Multimap<String,String> headers) |
int |
hashCode() |
String |
toString() |
protected String contentType
protected Long contentLength
protected byte[] contentMD5
protected String contentDisposition
protected String contentLanguage
protected String contentEncoding
public static ContentMetadataBuilder create()
public ContentMetadataBuilder fromHttpHeaders(com.google.common.collect.Multimap<String,String> headers)
public ContentMetadataBuilder contentLength(@Nullable Long contentLength)
public ContentMetadataBuilder contentMD5(byte[] md5)
public ContentMetadataBuilder contentType(@Nullable String contentType)
public ContentMetadataBuilder contentDisposition(@Nullable String contentDisposition)
public ContentMetadataBuilder contentLanguage(@Nullable String contentLanguage)
public ContentMetadataBuilder contentEncoding(@Nullable String contentEncoding)
public ContentMetadata build()
public static ContentMetadataBuilder fromContentMetadata(ContentMetadata in)
Copyright © 2009-2012 jclouds. All Rights Reserved.