Class HostResourceUsage.Builder<T extends HostResourceUsage.Builder<T>>
- java.lang.Object
-
- org.jclouds.openstack.nova.v2_0.domain.HostResourceUsage.Builder<T>
-
- Enclosing class:
- HostResourceUsage
public abstract static class HostResourceUsage.Builder<T extends HostResourceUsage.Builder<T>> extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description HostResourceUsage
build()
T
cpu(int cpu)
T
diskGb(int diskGb)
T
fromHostResourceUsage(HostResourceUsage in)
T
host(String host)
T
memoryMb(int memoryMb)
T
project(String project)
protected abstract T
self()
-
-
-
Method Detail
-
self
protected abstract T self()
-
host
public T host(String host)
- See Also:
HostResourceUsage.getHost()
-
project
public T project(String project)
- See Also:
HostResourceUsage.getProject()
-
memoryMb
public T memoryMb(int memoryMb)
- See Also:
HostResourceUsage.getMemoryMb()
-
cpu
public T cpu(int cpu)
- See Also:
HostResourceUsage.getCpu()
-
diskGb
public T diskGb(int diskGb)
- See Also:
HostResourceUsage.getDiskGb()
-
build
public HostResourceUsage build()
-
fromHostResourceUsage
public T fromHostResourceUsage(HostResourceUsage in)
-
-