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 |
protected Date |
expires |
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) |
ContentMetadataBuilder |
expires(Date expires) |
static ContentMetadataBuilder |
fromContentMetadata(ContentMetadata in) |
int |
hashCode() |
String |
toString() |
protected String contentType
protected Long contentLength
protected byte[] contentMD5
protected String contentDisposition
protected String contentLanguage
protected String contentEncoding
protected Date expires
public static ContentMetadataBuilder create()
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 ContentMetadataBuilder expires(@Nullable Date expires)
public ContentMetadata build()
public static ContentMetadataBuilder fromContentMetadata(ContentMetadata in)
Copyright © 2009-2013 jclouds. All Rights Reserved.