Package org.jclouds.glesys.domain
Class Cost.Builder<T extends Cost.Builder<T>>
- java.lang.Object
-
- org.jclouds.glesys.domain.Cost.Builder<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected double
amount
protected String
currency
protected String
timePeriod
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description T
amount(double amount)
Cost
build()
T
currency(String currency)
T
fromCost(Cost in)
protected abstract T
self()
T
timePeriod(String timePeriod)
-
-
-
Method Detail
-
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()
-
-