org.jclouds.openstack.domain
Class Resource.Builder

java.lang.Object
  extended by org.jclouds.openstack.domain.Resource.Builder
Direct Known Subclasses:
Server.Builder
Enclosing class:
Resource

public static class Resource.Builder
extends Object


Field Summary
protected  String id
           
protected  Set<Link> links
           
protected  String name
           
 
Constructor Summary
Resource.Builder()
           
 
Method Summary
 Resource build()
           
 Resource.Builder fromResource(Resource from)
           
 Resource.Builder id(String id)
           
 Resource.Builder links(Link... links)
           
 Resource.Builder links(Set<Link> links)
           
 Resource.Builder name(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected String id

name

protected String name

links

protected Set<Link> links
Constructor Detail

Resource.Builder

public Resource.Builder()
Method Detail

id

public Resource.Builder id(String id)
See Also:
Resource.getId()

name

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

links

public Resource.Builder links(Link... links)
See Also:
Resource.getLinks()

links

public Resource.Builder links(Set<Link> links)
See Also:
Resource.getLinks()

build

public Resource build()

fromResource

public Resource.Builder fromResource(Resource from)


Copyright © 2009-2012 jclouds. All Rights Reserved.