Class HostResourceUsage
- java.lang.Object
-
- org.jclouds.openstack.nova.v2_0.domain.HostResourceUsage
-
public class HostResourceUsage extends Object
Class HostResourceUsage
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HostResourceUsage.Builder<T extends HostResourceUsage.Builder<T>>
-
Constructor Summary
Constructors Modifier Constructor Description protected
HostResourceUsage(String host, String project, int memoryMb, int cpu, int diskGb)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.MoreObjects.ToStringHelper
string()
HostResourceUsage.Builder<?>
toBuilder()
String
toString()
-
-
-
Constructor Detail
-
HostResourceUsage
@ConstructorProperties({"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()
-
getMemoryMb
public int getMemoryMb()
-
getCpu
public int getCpu()
-
getDiskGb
public int getDiskGb()
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
-