public class Resource extends Object implements Comparable<Resource>
Modifier and Type | Class and Description |
---|---|
static class |
Resource.Builder |
Modifier and Type | Field and Description |
---|---|
protected String |
id |
protected Set<Link> |
links |
protected String |
name |
Constructor and Description |
---|
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 object) |
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() |
Resource.Builder |
toBuilder() |
String |
toString() |
public static Resource.Builder builder()
public Resource.Builder toBuilder()
public String getId()
public String getName()
public Set<Link> getLinks()
public int compareTo(Resource that)
compareTo
in interface Comparable<Resource>
Copyright © 2009-2012 jclouds. All Rights Reserved.