public class ComputeMetadataImpl extends ResourceMetadataImpl<ComputeType> implements ComputeMetadata
Constructor and Description |
---|
ComputeMetadataImpl(ComputeType type,
String providerId,
String name,
String id,
Location location,
URI uri,
Map<String,String> userMetadata,
Set<String> tags) |
Modifier and Type | Method and Description |
---|---|
protected com.google.common.base.Objects.ToStringHelper |
addComputeToStringSuffix(com.google.common.base.Objects.ToStringHelper helper) |
int |
compareTo(ResourceMetadata<ComputeType> that) |
protected com.google.common.base.Objects.ToStringHelper |
computeToStringPrefix() |
boolean |
equals(Object o) |
String |
getId()
A means to uniquely address this resource within a provider.
|
Set<String> |
getTags() |
ComputeType |
getType()
Whether this resource is a container, file, node, queue, etc.
|
int |
hashCode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
getLocation, getName, getProviderId, getUri, getUserMetadata, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getName, getProviderId
getLocation, getUri, getUserMetadata
public ComputeType getType()
getType
in interface ComputeMetadata
getType
in interface ResourceMetadata<ComputeType>
public String getId()
getId
in interface ComputeMetadata
public Set<String> getTags()
getTags
in interface ComputeMetadata
public int compareTo(ResourceMetadata<ComputeType> that)
compareTo
in interface Comparable<ResourceMetadata<ComputeType>>
compareTo
in class ResourceMetadataImpl<ComputeType>
public boolean equals(Object o)
equals
in class ResourceMetadataImpl<ComputeType>
public int hashCode()
hashCode
in class ResourceMetadataImpl<ComputeType>
protected com.google.common.base.Objects.ToStringHelper computeToStringPrefix()
protected com.google.common.base.Objects.ToStringHelper addComputeToStringSuffix(com.google.common.base.Objects.ToStringHelper helper)
protected com.google.common.base.Objects.ToStringHelper string()
string
in class ResourceMetadataImpl<ComputeType>
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.