public abstract static class ContainerMetadata.Builder<T extends ContainerMetadata.Builder<T>> extends Object
Modifier and Type | Field and Description |
---|---|
protected long |
bytes |
protected long |
count |
protected Map<String,String> |
metadata |
protected String |
name |
protected String |
readACL |
Constructor and Description |
---|
ContainerMetadata.Builder() |
protected String name
protected long count
protected long bytes
protected String readACL
protected abstract T self()
public T name(String name)
ContainerMetadata.getName()
public T count(long count)
ContainerMetadata.getCount()
public T bytes(long bytes)
ContainerMetadata.getBytes()
public T readACL(String readACL)
ContainerMetadata.getReadACL()
public T metadata(Map<String,String> metadata)
ContainerMetadata.getMetadata()
public ContainerMetadata build()
public T fromContainerMetadata(ContainerMetadata in)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.