Package org.jclouds.glesys.domain
Class ResourceUsageInfo.Builder<T extends ResourceUsageInfo.Builder<T>>
- java.lang.Object
-
- org.jclouds.glesys.domain.ResourceUsageInfo.Builder<T>
-
- Enclosing class:
- ResourceUsageInfo
public abstract static class ResourceUsageInfo.Builder<T extends ResourceUsageInfo.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 ResourceUsageInfo
build()
T
fromResourceUsageInfo(ResourceUsageInfo in)
T
resolution(String resolution)
T
resource(String resource)
protected abstract T
self()
T
unit(String unit)
-
-
-
Method Detail
-
self
protected abstract T self()
-
resource
public T resource(String resource)
- See Also:
ResourceUsageInfo.getResource()
-
resolution
public T resolution(String resolution)
- See Also:
ResourceUsageInfo.getResolution()
-
unit
public T unit(String unit)
- See Also:
ResourceUsageInfo.getUnit()
-
build
public ResourceUsageInfo build()
-
fromResourceUsageInfo
public T fromResourceUsageInfo(ResourceUsageInfo in)
-
-