public class HostResourceUsage extends Object
Modifier and Type | Class and Description |
---|---|
static class |
HostResourceUsage.Builder<T extends HostResourceUsage.Builder<T>> |
Modifier | Constructor and Description |
---|---|
protected |
HostResourceUsage(String host,
String project,
int memoryMb,
int cpu,
int diskGb) |
Modifier and Type | Method and Description |
---|---|
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() |
@ConstructorProperties(value={"host","project","memory_mb","cpu","disk_gb"}) protected HostResourceUsage(String host, @Nullable String project, int memoryMb, int cpu, int diskGb)
public static HostResourceUsage.Builder<?> builder()
public HostResourceUsage.Builder<?> toBuilder()
public String getHost()
public int getMemoryMb()
public int getCpu()
public int getDiskGb()
protected com.google.common.base.Objects.ToStringHelper string()
Copyright © 2009-2013 jclouds. All Rights Reserved.