Class SimpleTenantUsage.Builder<T extends SimpleTenantUsage.Builder<T>>
- java.lang.Object
-
- org.jclouds.openstack.nova.v2_0.domain.SimpleTenantUsage.Builder<T>
-
- Enclosing class:
- SimpleTenantUsage
public abstract static class SimpleTenantUsage.Builder<T extends SimpleTenantUsage.Builder<T>> extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected Set<SimpleServerUsage>
serverUsages
protected Date
start
protected Date
stop
protected String
tenantId
protected double
totalHours
protected double
totalLocalGbUsage
protected double
totalMemoryMbUsage
protected double
totalVcpusUsage
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description SimpleTenantUsage
build()
T
fromSimpleTenantUsage(SimpleTenantUsage in)
protected abstract T
self()
T
serverUsages(Set<SimpleServerUsage> serverUsages)
T
serverUsages(SimpleServerUsage... in)
T
start(Date start)
T
stop(Date stop)
T
tenantId(String tenantId)
T
totalHours(double totalHours)
T
totalLocalGbUsage(double totalLocalGbUsage)
T
totalMemoryMbUsage(double totalMemoryMbUsage)
T
totalVcpusUsage(double totalVcpusUsage)
-
-
-
Field Detail
-
tenantId
protected String tenantId
-
totalLocalGbUsage
protected double totalLocalGbUsage
-
totalVcpusUsage
protected double totalVcpusUsage
-
totalMemoryMbUsage
protected double totalMemoryMbUsage
-
totalHours
protected double totalHours
-
start
protected Date start
-
stop
protected Date stop
-
serverUsages
protected Set<SimpleServerUsage> serverUsages
-
-
Method Detail
-
self
protected abstract T self()
-
tenantId
public T tenantId(String tenantId)
- See Also:
SimpleTenantUsage.getTenantId()
-
totalLocalGbUsage
public T totalLocalGbUsage(double totalLocalGbUsage)
- See Also:
SimpleTenantUsage.getTotalLocalGbUsage()
-
totalVcpusUsage
public T totalVcpusUsage(double totalVcpusUsage)
- See Also:
SimpleTenantUsage.getTotalVcpusUsage()
-
totalMemoryMbUsage
public T totalMemoryMbUsage(double totalMemoryMbUsage)
-
totalHours
public T totalHours(double totalHours)
- See Also:
SimpleTenantUsage.getTotalHours()
-
start
public T start(Date start)
- See Also:
SimpleTenantUsage.getStart()
-
stop
public T stop(Date stop)
- See Also:
SimpleTenantUsage.getStop()
-
serverUsages
public T serverUsages(Set<SimpleServerUsage> serverUsages)
- See Also:
SimpleTenantUsage.getServerUsages()
-
serverUsages
public T serverUsages(SimpleServerUsage... in)
-
build
public SimpleTenantUsage build()
-
fromSimpleTenantUsage
public T fromSimpleTenantUsage(SimpleTenantUsage in)
-
-