public abstract static class Resource.Builder<T extends Resource.Builder<T>> extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
id |
protected Set<Link> |
links |
protected String |
name |
Constructor and Description |
---|
Resource.Builder() |
protected abstract T self()
public T id(String id)
Resource.getId()
public T name(String name)
Resource.getName()
public T links(Set<Link> links)
Resource.getLinks()
public Resource build()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.