org.jclouds.glesys.domain
Class Cost.Builder<T extends Cost.Builder<T>>
java.lang.Object
org.jclouds.glesys.domain.Cost.Builder<T>
- Enclosing class:
- Cost
public abstract static class Cost.Builder<T extends Cost.Builder<T>>
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
amount
protected double amount
currency
protected String currency
timePeriod
protected String timePeriod
Cost.Builder
public Cost.Builder()
self
protected abstract T self()
amount
public T amount(double amount)
- See Also:
Cost.getAmount()
currency
public T currency(String currency)
- See Also:
Cost.getCurrency()
timePeriod
public T timePeriod(String timePeriod)
- See Also:
Cost.getTimePeriod()
build
public Cost build()
fromCost
public T fromCost(Cost in)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.