public abstract static class ObjectInfoImpl.Builder<T extends ObjectInfoImpl.Builder<T>> extends Object
Modifier and Type | Field and Description |
---|---|
protected Long |
bytes |
protected String |
container |
protected String |
contentType |
protected byte[] |
hash |
protected Date |
lastModified |
protected String |
name |
protected URI |
uri |
Constructor and Description |
---|
ObjectInfoImpl.Builder() |
Modifier and Type | Method and Description |
---|---|
ObjectInfoImpl |
build() |
T |
bytes(Long bytes) |
T |
container(String container) |
T |
contentType(String contentType) |
T |
fromObjectInfoImpl(ObjectInfoImpl in) |
T |
hash(byte[] hash) |
T |
lastModified(Date lastModified) |
T |
name(String name) |
protected abstract T |
self() |
T |
uri(URI uri) |
protected String name
protected String container
protected URI uri
protected byte[] hash
protected Long bytes
protected String contentType
protected Date lastModified
protected abstract T self()
public T name(String name)
ObjectInfoImpl.getName()
public T container(String container)
ObjectInfoImpl.getContainer()
public T uri(URI uri)
ObjectInfoImpl.getUri()
public T hash(byte[] hash)
ObjectInfoImpl.getHash()
public T bytes(Long bytes)
ObjectInfoImpl.getBytes()
public T contentType(String contentType)
ObjectInfoImpl.getContentType()
public T lastModified(Date lastModified)
ObjectInfoImpl.getLastModified()
public ObjectInfoImpl build()
public T fromObjectInfoImpl(ObjectInfoImpl in)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.