org.jclouds.openstack.nova.v2_0.domain
Class SimpleTenantUsage.Builder<T extends SimpleTenantUsage.Builder<T>>

java.lang.Object
  extended by 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
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
SimpleTenantUsage.Builder()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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
Constructor Detail

SimpleTenantUsage.Builder

public SimpleTenantUsage.Builder()
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)
See Also:
SimpleTenantUsage.getTotalMemoryMbUsage()

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)


Copyright © 2009-2012 jclouds. All Rights Reserved.