Modifier and Type | Field and Description |
---|---|
protected com.google.common.base.Optional<Boolean> |
anybodyRead |
protected long |
bytesUsed |
protected com.google.common.collect.Multimap<String,String> |
headers |
protected Map<String,String> |
metadata |
protected String |
name |
protected long |
objectCount |
Constructor and Description |
---|
Container.Builder() |
Modifier and Type | Method and Description |
---|---|
Container.Builder |
anybodyRead(Boolean anybodyRead) |
Container |
build() |
Container.Builder |
bytesUsed(long bytesUsed) |
Container.Builder |
fromContainer(Container from) |
Container.Builder |
headers(com.google.common.collect.Multimap<String,String> headers) |
Container.Builder |
metadata(Map<String,String> metadata)
NOTE
|
Container.Builder |
name(String name) |
Container.Builder |
objectCount(long objectCount) |
protected String name
protected long objectCount
protected long bytesUsed
protected com.google.common.base.Optional<Boolean> anybodyRead
public Container.Builder name(String name)
Container.getName()
public Container.Builder objectCount(long objectCount)
Container.getObjectCount()
public Container.Builder bytesUsed(long bytesUsed)
Container.getBytesUsed()
public Container.Builder anybodyRead(Boolean anybodyRead)
Container.getAnybodyRead()
public Container.Builder metadata(Map<String,String> metadata)
Container.getMetadata()
public Container.Builder headers(com.google.common.collect.Multimap<String,String> headers)
Container.getHeaders()
public Container build()
public Container.Builder fromContainer(Container from)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.