org.jclouds.openstack.nova.v2_0.domain
Class SimpleServerUsage.Builder<T extends SimpleServerUsage.Builder<T>>
java.lang.Object
org.jclouds.openstack.nova.v2_0.domain.SimpleServerUsage.Builder<T>
- Enclosing class:
- SimpleServerUsage
public abstract static class SimpleServerUsage.Builder<T extends SimpleServerUsage.Builder<T>>
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instanceName
protected String instanceName
hours
protected double hours
flavorMemoryMb
protected double flavorMemoryMb
flavorLocalGb
protected double flavorLocalGb
flavorVcpus
protected double flavorVcpus
tenantId
protected String tenantId
flavorName
protected String flavorName
instanceCreated
protected Date instanceCreated
instanceTerminiated
protected Date instanceTerminiated
instanceStatus
protected SimpleServerUsage.Status instanceStatus
uptime
protected long uptime
SimpleServerUsage.Builder
public SimpleServerUsage.Builder()
self
protected abstract T self()
instanceName
public T instanceName(String instanceName)
- See Also:
SimpleServerUsage.getInstanceName()
hours
public T hours(double hours)
- See Also:
SimpleServerUsage.getHours()
flavorMemoryMb
public T flavorMemoryMb(double flavorMemoryMb)
- See Also:
SimpleServerUsage.getFlavorMemoryMb()
flavorLocalGb
public T flavorLocalGb(double flavorLocalGb)
- See Also:
SimpleServerUsage.getFlavorLocalGb()
flavorVcpus
public T flavorVcpus(double flavorVcpus)
- See Also:
SimpleServerUsage.getFlavorVcpus()
tenantId
public T tenantId(String tenantId)
- See Also:
SimpleServerUsage.getTenantId()
flavorName
public T flavorName(String flavorName)
- See Also:
SimpleServerUsage.getFlavorName()
instanceCreated
public T instanceCreated(Date instanceCreated)
- See Also:
SimpleServerUsage.getInstanceCreated()
instanceTerminiated
public T instanceTerminiated(Date instanceTerminiated)
- See Also:
SimpleServerUsage.getInstanceTerminiated()
instanceStatus
public T instanceStatus(SimpleServerUsage.Status instanceStatus)
- See Also:
SimpleServerUsage.getInstanceStatus()
uptime
public T uptime(long uptime)
- See Also:
SimpleServerUsage.getUptime()
build
public SimpleServerUsage build()
fromSimpleServerUsage
public T fromSimpleServerUsage(SimpleServerUsage in)
Copyright © 2009-2012 jclouds. All Rights Reserved.