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

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

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


Field Summary
protected  Long bytes
           
protected  String container
           
protected  String contentType
           
protected  byte[] hash
           
protected  Date lastModified
           
protected  String name
           
protected  URI uri
           
 
Constructor Summary
ObjectInfoImpl.Builder()
           
 
Method Summary
 ObjectInfoImpl build()
           
 T bytes(Long bytes)
           
 T container(String container)
           
 T contentType(String contentType)
           
 T fromObjectInfoImpl(ObjectInfoImpl in)
           
 T hash(byte[] hash)
           
 T lastModified(Date lastModified)
           
 T name(String name)
           
protected abstract  T self()
           
 T uri(URI uri)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected String name

container

protected String container

uri

protected URI uri

hash

protected byte[] hash

bytes

protected Long bytes

contentType

protected String contentType

lastModified

protected Date lastModified
Constructor Detail

ObjectInfoImpl.Builder

public ObjectInfoImpl.Builder()
Method Detail

self

protected abstract T self()

name

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

container

public T container(String container)
See Also:
ObjectInfoImpl.getContainer()

uri

public T uri(URI uri)
See Also:
ObjectInfoImpl.getUri()

hash

public T hash(byte[] hash)
See Also:
ObjectInfoImpl.getHash()

bytes

public T bytes(Long bytes)
See Also:
ObjectInfoImpl.getBytes()

contentType

public T contentType(String contentType)
See Also:
ObjectInfoImpl.getContentType()

lastModified

public T lastModified(Date lastModified)
See Also:
ObjectInfoImpl.getLastModified()

build

public ObjectInfoImpl build()

fromObjectInfoImpl

public T fromObjectInfoImpl(ObjectInfoImpl in)


Copyright © 2009-2013 jclouds. All Rights Reserved.