public class Resource extends Object implements Comparable<Resource>
Modifier and Type | Class and Description |
---|---|
static class |
Resource.Builder<T extends Resource.Builder<T>> |
Modifier | Constructor and Description |
---|---|
protected |
Resource(String id,
String name,
Set<Link> links) |
Modifier and Type | Method and Description |
---|---|
static Resource.Builder<?> |
builder() |
int |
compareTo(Resource that) |
boolean |
equals(Object obj) |
String |
getId()
When providing an ID, it is assumed that the resource exists in the current OpenStack
deployment
|
Set<Link> |
getLinks() |
String |
getName() |
int |
hashCode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
Resource.Builder<?> |
toBuilder() |
String |
toString() |
public static Resource.Builder<?> builder()
public Resource.Builder<?> toBuilder()
public String getId()
@Nullable public Set<Link> getLinks()
protected com.google.common.base.Objects.ToStringHelper string()
public int compareTo(Resource that)
compareTo
in interface Comparable<Resource>
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.