Modifier and Type | Field and Description |
---|---|
protected URI |
href |
protected Link.Relation |
relation |
protected com.google.common.base.Optional<String> |
type |
Constructor and Description |
---|
Link.Builder() |
Modifier and Type | Method and Description |
---|---|
Link |
build() |
Link.Builder |
fromLink(Link in) |
Link.Builder |
href(URI href) |
Link.Builder |
relation(Link.Relation relation) |
Link.Builder |
type(String type) |
protected Link.Relation relation
protected com.google.common.base.Optional<String> type
protected URI href
public Link.Builder relation(Link.Relation relation)
Link.getRelation()
public Link.Builder type(String type)
Link.getType()
public Link.Builder href(URI href)
Link.getHref()
public Link build()
public Link.Builder fromLink(Link in)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.