org.jclouds.openstack.swift.v1.domain
Class Account.Builder
java.lang.Object
org.jclouds.openstack.swift.v1.domain.Account.Builder
- Enclosing class:
- Account
public static class Account.Builder
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
containerCount
protected long containerCount
objectCount
protected long objectCount
bytesUsed
protected long bytesUsed
headers
protected com.google.common.collect.Multimap<String,String> headers
metadata
protected Map<String,String> metadata
Account.Builder
public Account.Builder()
containerCount
public Account.Builder containerCount(long containerCount)
- Parameters:
containerCount - the count of containers for this account.- See Also:
Account.getContainerCount()
objectCount
public Account.Builder objectCount(long objectCount)
- Parameters:
objectCount - the count of objects for this account.- See Also:
Account.getObjectCount()
bytesUsed
public Account.Builder bytesUsed(long bytesUsed)
- Parameters:
bytesUsed - the number of bytes used by this account.- See Also:
Account.getBytesUsed()
metadata
public Account.Builder metadata(Map<String,String> metadata)
NOTE
This method will lower-case all metadata keys due to a Swift implementation
decision.
- Parameters:
metadata - the metadata for this account.- See Also:
Account.getMetadata()
headers
public Account.Builder headers(com.google.common.collect.Multimap<String,String> headers)
- See Also:
Account.getHeaders()
build
public Account build()
fromAccount
public Account.Builder fromAccount(Account from)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.