Package org.jclouds.gogrid.domain
Class BillingToken.Builder<T extends BillingToken.Builder<T>>
- java.lang.Object
-
- org.jclouds.gogrid.domain.BillingToken.Builder<T>
-
- Enclosing class:
- BillingToken
public abstract static class BillingToken.Builder<T extends BillingToken.Builder<T>> extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description BillingToken
build()
T
fromBillingToken(BillingToken in)
T
id(long id)
T
name(String name)
T
price(double price)
protected abstract T
self()
-
-
-
Field Detail
-
id
protected long id
-
name
protected String name
-
price
protected double price
-
-
Method Detail
-
self
protected abstract T self()
-
id
public T id(long id)
- See Also:
BillingToken.getId()
-
name
public T name(String name)
- See Also:
BillingToken.getName()
-
price
public T price(double price)
- See Also:
BillingToken.getPrice()
-
build
public BillingToken build()
-
fromBillingToken
public T fromBillingToken(BillingToken in)
-
-