public abstract static class HostResourceUsage.Builder<T extends HostResourceUsage.Builder<T>> extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
cpu |
protected int |
diskGb |
protected String |
host |
protected int |
memoryMb |
protected String |
project |
Constructor and Description |
---|
HostResourceUsage.Builder() |
protected String host
protected String project
protected int memoryMb
protected int cpu
protected int diskGb
protected abstract T self()
public T host(String host)
HostResourceUsage.getHost()
public T project(String project)
HostResourceUsage.getProject()
public T memoryMb(int memoryMb)
HostResourceUsage.getMemoryMb()
public T cpu(int cpu)
HostResourceUsage.getCpu()
public T diskGb(int diskGb)
HostResourceUsage.getDiskGb()
public HostResourceUsage build()
public T fromHostResourceUsage(HostResourceUsage in)
Copyright © 2009-2013 jclouds. All Rights Reserved.