Package org.jclouds.glesys.domain
Class ResourceUsageValue.Builder<T extends ResourceUsageValue.Builder<T>>
- java.lang.Object
-
- org.jclouds.glesys.domain.ResourceUsageValue.Builder<T>
-
- Enclosing class:
- ResourceUsageValue
public abstract static class ResourceUsageValue.Builder<T extends ResourceUsageValue.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 ResourceUsageValue
build()
T
fromResourceUsage(ResourceUsageValue in)
protected abstract T
self()
T
timestamp(Date timestamp)
T
value(double value)
-
-
-
Field Detail
-
value
protected double value
-
timestamp
protected Date timestamp
-
-
Method Detail
-
self
protected abstract T self()
-
value
public T value(double value)
- See Also:
ResourceUsageValue.getValue()
-
timestamp
public T timestamp(Date timestamp)
- See Also:
ResourceUsageValue.getTimestamp()
-
build
public ResourceUsageValue build()
-
fromResourceUsage
public T fromResourceUsage(ResourceUsageValue in)
-
-