org.jclouds.deltacloud.domain
Class HardwareProfile

java.lang.Object
  extended by org.jclouds.deltacloud.domain.HardwareProfile

public class HardwareProfile
extends Object

A hardware profile represents a configuration of resources upon which a machine may be deployed. It defines aspects such as local disk storage, available RAM, and architecture. Each provider is free to define as many (or as few) hardware profiles as desired.

Author:
Adrian Cole

Constructor Summary
HardwareProfile(URI href, String id, String name, Set<? extends HardwareProperty> properties)
           
 
Method Summary
 boolean equals(Object obj)
           
 URI getHref()
           
 String getId()
           
 String getName()
           
 Set<? extends HardwareProperty> getProperties()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HardwareProfile

public HardwareProfile(URI href,
                       String id,
                       String name,
                       Set<? extends HardwareProperty> properties)
Method Detail

getHref

public URI getHref()
Returns:
URL to manipulate a specific profile

getId

public String getId()
Returns:
A unique identifier for the profile

getName

public String getName()
Returns:
A short label

getProperties

public Set<? extends HardwareProperty> getProperties()
Returns:
properties included in this hardware profile

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.