public abstract static class SimpleServerUsage.Builder<T extends SimpleServerUsage.Builder<T>> extends Object
Modifier and Type | Field and Description |
---|---|
protected double |
flavorLocalGb |
protected double |
flavorMemoryMb |
protected String |
flavorName |
protected double |
flavorVcpus |
protected double |
hours |
protected Date |
instanceCreated |
protected String |
instanceName |
protected SimpleServerUsage.Status |
instanceStatus |
protected Date |
instanceTerminated |
protected String |
tenantId |
protected long |
uptime |
Constructor and Description |
---|
SimpleServerUsage.Builder() |
Modifier and Type | Method and Description |
---|---|
SimpleServerUsage |
build() |
T |
flavorLocalGb(double flavorLocalGb) |
T |
flavorMemoryMb(double flavorMemoryMb) |
T |
flavorName(String flavorName) |
T |
flavorVcpus(double flavorVcpus) |
T |
fromSimpleServerUsage(SimpleServerUsage in) |
T |
hours(double hours) |
T |
instanceCreated(Date instanceCreated) |
T |
instanceName(String instanceName) |
T |
instanceStatus(SimpleServerUsage.Status instanceStatus) |
T |
instanceTerminated(Date instanceTerminated) |
protected abstract T |
self() |
T |
tenantId(String tenantId) |
T |
uptime(long uptime) |
protected String instanceName
protected double hours
protected double flavorMemoryMb
protected double flavorLocalGb
protected double flavorVcpus
protected String tenantId
protected String flavorName
protected Date instanceCreated
protected Date instanceTerminated
protected SimpleServerUsage.Status instanceStatus
protected long uptime
protected abstract T self()
public T instanceName(String instanceName)
SimpleServerUsage.getInstanceName()
public T hours(double hours)
SimpleServerUsage.getHours()
public T flavorMemoryMb(double flavorMemoryMb)
public T flavorLocalGb(double flavorLocalGb)
SimpleServerUsage.getFlavorLocalGb()
public T flavorVcpus(double flavorVcpus)
SimpleServerUsage.getFlavorVcpus()
public T tenantId(String tenantId)
SimpleServerUsage.getTenantId()
public T flavorName(String flavorName)
SimpleServerUsage.getFlavorName()
public T instanceStatus(SimpleServerUsage.Status instanceStatus)
public T uptime(long uptime)
SimpleServerUsage.getUptime()
public SimpleServerUsage build()
public T fromSimpleServerUsage(SimpleServerUsage in)
Copyright © 2009-2013 jclouds. All Rights Reserved.