org.jclouds.openstack.swift.domain
Class ContainerMetadata.Builder<T extends ContainerMetadata.Builder<T>>

java.lang.Object
  extended by org.jclouds.openstack.swift.domain.ContainerMetadata.Builder<T>
Enclosing class:
ContainerMetadata

public abstract static class ContainerMetadata.Builder<T extends ContainerMetadata.Builder<T>>
extends Object


Field Summary
protected  long bytes
           
protected  long count
           
protected  Map<String,String> metadata
           
protected  String name
           
protected  String readACL
           
 
Constructor Summary
ContainerMetadata.Builder()
           
 
Method Summary
 ContainerMetadata build()
           
 T bytes(long bytes)
           
 T count(long count)
           
 T fromContainerMetadata(ContainerMetadata in)
           
 T metadata(Map<String,String> metadata)
           
 T name(String name)
           
 T readACL(String readACL)
           
protected abstract  T self()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected String name

count

protected long count

bytes

protected long bytes

readACL

protected String readACL

metadata

protected Map<String,String> metadata
Constructor Detail

ContainerMetadata.Builder

public ContainerMetadata.Builder()
Method Detail

self

protected abstract T self()

name

public T name(String name)
See Also:
ContainerMetadata.getName()

count

public T count(long count)
See Also:
ContainerMetadata.getCount()

bytes

public T bytes(long bytes)
See Also:
ContainerMetadata.getBytes()

readACL

public T readACL(String readACL)
See Also:
ContainerMetadata.getReadACL()

metadata

public T metadata(Map<String,String> metadata)
See Also:
ContainerMetadata.getMetadata()

build

public ContainerMetadata build()

fromContainerMetadata

public T fromContainerMetadata(ContainerMetadata in)


Copyright © 2009-2012 jclouds. All Rights Reserved.