Package org.jclouds.glesys.domain
Class ResourceUsage.Builder<T extends ResourceUsage.Builder<T>>
- java.lang.Object
-
- org.jclouds.glesys.domain.ResourceUsage.Builder<T>
-
- Enclosing class:
- ResourceUsage
public abstract static class ResourceUsage.Builder<T extends ResourceUsage.Builder<T>> extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ResourceUsageInfo
info
protected Set<ResourceUsageValue>
values
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description ResourceUsage
build()
T
fromResourceUsages(ResourceUsage in)
T
info(ResourceUsageInfo info)
protected abstract T
self()
T
values(Set<ResourceUsageValue> values)
T
values(ResourceUsageValue... in)
-
-
-
Field Detail
-
info
protected ResourceUsageInfo info
-
values
protected Set<ResourceUsageValue> values
-
-
Method Detail
-
self
protected abstract T self()
-
info
public T info(ResourceUsageInfo info)
- See Also:
ResourceUsage.getInfo()
-
values
public T values(Set<ResourceUsageValue> values)
- See Also:
ResourceUsage.getValues()
-
values
public T values(ResourceUsageValue... in)
- See Also:
ResourceUsage.getValues()
-
build
public ResourceUsage build()
-
fromResourceUsages
public T fromResourceUsages(ResourceUsage in)
-
-