org.jclouds.elasticstack.domain
Class Item
java.lang.Object
org.jclouds.elasticstack.domain.Item
- Direct Known Subclasses:
- Drive, Server
public class Item
- extends Object
- Author:
- Adrian Cole
uuid
@Nullable
protected final String uuid
name
protected final String name
tags
protected final Set<String> tags
userMetadata
protected final Map<String,String> userMetadata
Item
public Item(@Nullable
String uuid,
String name,
Iterable<String> tags,
Map<String,String> userMetadata)
getUuid
@Nullable
public String getUuid()
- Returns:
- uuid of the item.
getName
public String getName()
- Returns:
- name of the item
getTags
public Set<String> getTags()
- Returns:
- list of tags
getUserMetadata
public Map<String,String> getUserMetadata()
- Returns:
- user-defined KEY VALUE pairs
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009-2011 jclouds. All Rights Reserved.