org.jclouds.openstack.swift.v1.domain
Class Container.Builder

java.lang.Object
  extended by org.jclouds.openstack.swift.v1.domain.Container.Builder
Enclosing class:
Container

public static class Container.Builder
extends Object


Field Summary
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 Summary
Container.Builder()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected String name

objectCount

protected long objectCount

bytesUsed

protected long bytesUsed

anybodyRead

protected com.google.common.base.Optional<Boolean> anybodyRead

metadata

protected Map<String,String> metadata

headers

protected com.google.common.collect.Multimap<String,String> headers
Constructor Detail

Container.Builder

public Container.Builder()
Method Detail

name

public Container.Builder name(String name)
See Also:
Container.getName()

objectCount

public Container.Builder objectCount(long objectCount)
See Also:
Container.getObjectCount()

bytesUsed

public Container.Builder bytesUsed(long bytesUsed)
See Also:
Container.getBytesUsed()

anybodyRead

public Container.Builder anybodyRead(Boolean anybodyRead)
See Also:
Container.getAnybodyRead()

metadata

public Container.Builder metadata(Map<String,String> metadata)

NOTE

This method will lower-case all metadata keys.

See Also:
Container.getMetadata()

headers

public Container.Builder headers(com.google.common.collect.Multimap<String,String> headers)
See Also:
Container.getHeaders()

build

public Container build()

fromContainer

public Container.Builder fromContainer(Container from)


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.