Class Resource
java.lang.Object
org.jclouds.openstack.v2_0.domain.Resource
- All Implemented Interfaces:
 Comparable<Resource>
- Direct Known Subclasses:
 ApiMetadata,Extension,Flavor,Image,Server,ServerCreated
Resource found in a paginated collection
- See Also:
 
- 
Nested Class Summary
Nested Classes - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic Resource.Builder<?> builder()intbooleangetId()When providing an ID, it is assumed that the resource exists in the current OpenStack deploymentgetLinks()getName()inthashCode()protected com.google.common.base.MoreObjects.ToStringHelperstring()toString() 
- 
Constructor Details
- 
Resource
 
 - 
 - 
Method Details
- 
builder
 - 
toBuilder
 - 
getId
When providing an ID, it is assumed that the resource exists in the current OpenStack deployment- Returns:
 - the id of the resource in the current OpenStack deployment
 
 - 
getName
- Returns:
 - the name of the resource
 
 - 
getLinks
- Returns:
 - the links of the id address allocated to the new server
 
 - 
hashCode
public int hashCode() - 
equals
 - 
string
protected com.google.common.base.MoreObjects.ToStringHelper string() - 
toString
 - 
compareTo
- Specified by:
 compareToin interfaceComparable<Resource>
 
 -