org.jclouds.vcloud.director.v1_5.domain
Class CapacityType.Builder<T extends CapacityType<T>>
java.lang.Object
org.jclouds.vcloud.director.v1_5.domain.CapacityType.Builder<T>
- Direct Known Subclasses:
- CapacityWithUsage.Builder
- Enclosing class:
- CapacityType<T extends CapacityType<T>>
public static class CapacityType.Builder<T extends CapacityType<T>>
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
units
protected String units
allocated
protected Long allocated
limit
protected Long limit
CapacityType.Builder
public CapacityType.Builder()
units
public CapacityType.Builder<T> units(String units)
- See Also:
CapacityType.getUnits()
allocated
public CapacityType.Builder<T> allocated(Long allocated)
- See Also:
CapacityType.getAllocated()
limit
public CapacityType.Builder<T> limit(Long limit)
- See Also:
CapacityType.getLimit()
build
public CapacityType<T> build()
fromCapacityType
public CapacityType.Builder<T> fromCapacityType(CapacityType<T> in)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.