org.jclouds.googlecloudstorage.domain
Class Resource.Builder<T extends Resource.Builder<T>>

java.lang.Object
  extended by org.jclouds.googlecloudstorage.domain.Resource.Builder<T>
Direct Known Subclasses:
Bucket.Builder, BucketAccessControls.Builder, DefaultObjectAccessControls.Builder
Enclosing class:
Resource

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


Field Summary
protected  String etag
           
protected  String id
           
protected  Resource.Kind kind
           
protected  URI selfLink
           
 
Constructor Summary
Resource.Builder()
           
 
Method Summary
 Resource build()
           
 T etag(String etag)
           
 T fromResource(Resource in)
           
 T id(String id)
           
protected  T kind(Resource.Kind kind)
           
protected abstract  T self()
           
 T selfLink(URI selfLink)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

kind

protected Resource.Kind kind

id

protected String id

selfLink

protected URI selfLink

etag

protected String etag
Constructor Detail

Resource.Builder

public Resource.Builder()
Method Detail

self

protected abstract T self()

kind

protected T kind(Resource.Kind kind)

id

public T id(String id)

selfLink

public T selfLink(URI selfLink)

etag

public T etag(String etag)

build

public Resource build()

fromResource

public T fromResource(Resource in)


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