org.jclouds.openstack.domain
Class Resource.Builder
java.lang.Object
org.jclouds.openstack.domain.Resource.Builder
- Direct Known Subclasses:
- Server.Builder
- Enclosing class:
- Resource
public static class Resource.Builder
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
protected String id
name
protected String name
links
protected Set<Link> links
Resource.Builder
public Resource.Builder()
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.