public class Link extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Link.Builder<T extends Link.Builder<T>> |
static class |
Link.Relation
Relations associated with resources.
|
Modifier | Constructor and Description |
---|---|
protected |
Link(Link.Relation relation,
String type,
URI href) |
Modifier and Type | Method and Description |
---|---|
static Link.Builder<?> |
builder() |
static Link |
create(Link.Relation relation,
String type,
URI href) |
static Link |
create(Link.Relation relation,
URI href) |
boolean |
equals(Object obj) |
URI |
getHref() |
Link.Relation |
getRelation()
There are three kinds of link relations associated with resources.
|
String |
getType() |
int |
hashCode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
Link.Builder<?> |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"rel","type","href"}) protected Link(Link.Relation relation, @Nullable String type, URI href)
public static Link create(Link.Relation relation, URI href)
public static Link create(Link.Relation relation, String type, URI href)
public static Link.Builder<?> builder()
public Link.Builder<?> toBuilder()
public Link.Relation getRelation()
public URI getHref()
protected com.google.common.base.Objects.ToStringHelper string()
Copyright © 2009-2012 jclouds. All Rights Reserved.