org.jclouds.openstack.v2_0.domain
Class Link.Builder<T extends Link.Builder<T>>

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

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


Field Summary
protected  URI href
           
protected  Link.Relation relation
           
protected  String type
           
 
Constructor Summary
Link.Builder()
           
 
Method Summary
 Link build()
           
 T fromLink(Link in)
           
 T href(URI href)
           
 T relation(Link.Relation relation)
           
protected abstract  T self()
           
 T type(String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

relation

protected Link.Relation relation

type

protected String type

href

protected URI href
Constructor Detail

Link.Builder

public Link.Builder()
Method Detail

self

protected abstract T self()

relation

public T relation(Link.Relation relation)
See Also:
Link.getRelation()

type

public T type(String type)
See Also:
Link.getType()

href

public T href(URI href)
See Also:
Link.getHref()

build

public Link build()

fromLink

public T fromLink(Link in)


Copyright © 2009-2012 jclouds. All Rights Reserved.