Package org.jclouds.openstack.domain
Class Resource
java.lang.Object
org.jclouds.openstack.domain.Resource
- All Implemented Interfaces:
Comparable<Resource>
Resource found in a paginated collection
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Resource.Builder
<?> builder()
int
boolean
getId()
When providing an ID, it is assumed that the resource exists in the current OpenStack deploymentgetLinks()
getName()
int
hashCode()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
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:
compareTo
in interfaceComparable<Resource>
-