org.jclouds.openstack.nova.v2_0.domain
Class HostResourceUsage

java.lang.Object
  extended by org.jclouds.openstack.nova.v2_0.domain.HostResourceUsage

public class HostResourceUsage
extends Object

Class HostResourceUsage


Nested Class Summary
static class HostResourceUsage.Builder<T extends HostResourceUsage.Builder<T>>
           
 
Constructor Summary
protected HostResourceUsage(String host, String project, int memoryMb, int cpu, int diskGb)
           
 
Method Summary
static HostResourceUsage.Builder<?> builder()
           
 boolean equals(Object obj)
           
 int getCpu()
           
 int getDiskGb()
           
 String getHost()
           
 int getMemoryMb()
           
 String getProject()
           
 int hashCode()
           
protected  com.google.common.base.Objects.ToStringHelper string()
           
 HostResourceUsage.Builder<?> toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HostResourceUsage

@ConstructorProperties(value={"host","project","memory_mb","cpu","disk_gb"})
protected HostResourceUsage(String host,
                                                       @Nullable
                                                       String project,
                                                       int memoryMb,
                                                       int cpu,
                                                       int diskGb)
Method Detail

builder

public static HostResourceUsage.Builder<?> builder()

toBuilder

public HostResourceUsage.Builder<?> toBuilder()

getHost

public String getHost()

getProject

@Nullable
public String getProject()

getMemoryMb

public int getMemoryMb()

getCpu

public int getCpu()

getDiskGb

public int getDiskGb()

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()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2012 jclouds. All Rights Reserved.