Class Metadata
java.lang.Object
org.jclouds.googlecomputeengine.domain.Metadata
- All Implemented Interfaces:
Cloneable
Metadata for an instance or project, with their fingerprint.
This object is mutable and not thread-safe.
-
Method Summary
Modifier and TypeMethodDescriptionasMap()
Copies the metadata into a new mutable map.clone()
boolean
containsKey
(String key) static Metadata
create()
static Metadata
abstract String
The fingerprint for the items - needed for updating them.Returns the value with the supplied key, or null.Adds or replaces a metadata entry.Adds or replaces metadata entries.Removes any entry with the supplied key.int
size()
-
Method Details
-
fingerprint
The fingerprint for the items - needed for updating them. -
put
Adds or replaces a metadata entry. -
putAll
Adds or replaces metadata entries. -
remove
Removes any entry with the supplied key. -
asMap
Copies the metadata into a new mutable map. -
get
Returns the value with the supplied key, or null. -
containsKey
-
size
public int size() -
create
-
create
-
clone
-