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-2016 The Apache Software Foundation. All Rights Reserved.