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>serverUsagesprotected Datestartprotected Datestopprotected StringtenantIdprotected doubletotalHoursprotected doubletotalLocalGbUsageprotected doubletotalMemoryMbUsageprotected doubletotalVcpusUsage
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description SimpleTenantUsagebuild()TfromSimpleTenantUsage(SimpleTenantUsage in)protected abstract Tself()TserverUsages(Set<SimpleServerUsage> serverUsages)TserverUsages(SimpleServerUsage... in)Tstart(Date start)Tstop(Date stop)TtenantId(String tenantId)TtotalHours(double totalHours)TtotalLocalGbUsage(double totalLocalGbUsage)TtotalMemoryMbUsage(double totalMemoryMbUsage)TtotalVcpusUsage(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)
-
-