Modifier and Type | Field and Description |
---|---|
protected long |
bytesUsed |
protected long |
containerCount |
protected com.google.common.collect.Multimap<String,String> |
headers |
protected Map<String,String> |
metadata |
protected long |
objectCount |
Constructor and Description |
---|
Account.Builder() |
Modifier and Type | Method and Description |
---|---|
Account |
build() |
Account.Builder |
bytesUsed(long bytesUsed) |
Account.Builder |
containerCount(long containerCount) |
Account.Builder |
fromAccount(Account from) |
Account.Builder |
headers(com.google.common.collect.Multimap<String,String> headers) |
Account.Builder |
metadata(Map<String,String> metadata)
NOTE
|
Account.Builder |
objectCount(long objectCount) |
protected long containerCount
protected long objectCount
protected long bytesUsed
public Account.Builder containerCount(long containerCount)
containerCount
- the count of containers for this account.Account.getContainerCount()
public Account.Builder objectCount(long objectCount)
objectCount
- the count of objects for this account.Account.getObjectCount()
public Account.Builder bytesUsed(long bytesUsed)
bytesUsed
- the number of bytes used by this account.Account.getBytesUsed()
public Account.Builder metadata(Map<String,String> metadata)
metadata
- the metadata for this account.Account.getMetadata()
public Account.Builder headers(com.google.common.collect.Multimap<String,String> headers)
Account.getHeaders()
public Account build()
public Account.Builder fromAccount(Account from)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.