public class HardwareImpl extends ComputeMetadataImpl implements Hardware
tags| Constructor and Description | 
|---|
HardwareImpl(String providerId,
            String name,
            String id,
            Location location,
            URI uri,
            Map<String,String> userMetadata,
            Set<String> tags,
            Iterable<? extends Processor> processors,
            int ram,
            Iterable<? extends Volume> volumes,
            com.google.common.base.Predicate<Image> supportsImage,
            String hypervisor)  | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
compareTo(ResourceMetadata<ComputeType> that) | 
String | 
getHypervisor() | 
List<? extends Processor> | 
getProcessors()
Amount of virtual or physical processors provided 
 | 
int | 
getRam()
Amount of RAM provided in MB (256M, 1740) 
 | 
List<? extends Volume> | 
getVolumes()
volumes associated with this. 
 | 
protected com.google.common.base.Objects.ToStringHelper | 
string()  | 
com.google.common.base.Predicate<Image> | 
supportsImage()
Determines whether this size can run an image. 
 | 
addComputeToStringSuffix, computeToStringPrefix, equals, getId, getTags, getType, hashCodegetLocation, getName, getProviderId, getUri, getUserMetadata, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetId, getName, getProviderId, getTags, getTypegetLocation, getUri, getUserMetadatapublic HardwareImpl(String providerId, String name, String id, @Nullable Location location, URI uri, Map<String,String> userMetadata, Set<String> tags, Iterable<? extends Processor> processors, int ram, Iterable<? extends Volume> volumes, com.google.common.base.Predicate<Image> supportsImage, @Nullable String hypervisor)
public List<? extends Processor> getProcessors()
getProcessors in interface Hardwarepublic int getRam()
public List<? extends Volume> getVolumes()
getVolumes in interface Hardware@Nullable public String getHypervisor()
getHypervisor in interface Hardwarepublic int compareTo(ResourceMetadata<ComputeType> that)
compareTo in interface Comparable<ResourceMetadata<ComputeType>>compareTo in class ResourceMetadataImpl<ComputeType>protected com.google.common.base.Objects.ToStringHelper string()
string in class ComputeMetadataImplpublic com.google.common.base.Predicate<Image> supportsImage()
supportsImage in interface HardwareCopyright © 2009-2013 jclouds. All Rights Reserved.