public static class Resource.Builder extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
id |
protected Set<Link> |
links |
protected String |
name |
Constructor and Description |
---|
Resource.Builder() |
Modifier and Type | Method and Description |
---|---|
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) |
public Resource.Builder id(String id)
Resource.getId()
public Resource.Builder name(String name)
Resource.getName()
public Resource.Builder links(Link... links)
Resource.getLinks()
public Resource.Builder links(Set<Link> links)
Resource.getLinks()
public Resource build()
public Resource.Builder fromResource(Resource from)
Copyright © 2009-2012 jclouds. All Rights Reserved.