org.jclouds.googlecomputeengine.domain
Class Metadata
java.lang.Object
org.jclouds.googlecomputeengine.domain.Metadata
public class Metadata
- extends Object
Metadata for an instance or project, with their fingerprint.
Metadata
@ConstructorProperties(value={"fingerprint","items"})
public Metadata(@Nullable
String fingerprint,
@Nullable
Map<String,String> items)
getItems
public Map<String,String> getItems()
- Returns:
- an optional map of metadata key/value pairs for this instance/project
getFingerprint
public String getFingerprint()
- Gets the fingerprint for the items - needed for updating them.
- Returns:
- the fingerprint string for the items.
hashCode
public int hashCode()
-
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
-
- Overrides:
equals in class Object
string
protected com.google.common.base.Objects.ToStringHelper string()
-
builder
public static Metadata.Builder builder()
toString
public String toString()
-
- Overrides:
toString in class Object
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.