public class CapacityType<T extends CapacityType<T>> extends Object
Java class for Capacity complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Capacity">
<complexContent>
<extension base="{http://www.vmware.com/vcloud/v1.5}VCloudExtensibleType">
<sequence>
<element name="Units" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="Allocated" type="{http://www.w3.org/2001/XMLSchema}Long" minOccurs="0"/>
<element name="Limit" type="{http://www.w3.org/2001/XMLSchema}Long"/>
</sequence>
<anyAttribute processContents='lax' namespace='##other'/>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
CapacityType.Builder<T extends CapacityType<T>> |
| Modifier and Type | Field and Description |
|---|---|
protected Long |
allocated |
protected Long |
limit |
protected String |
units |
| Modifier | Constructor and Description |
|---|---|
protected |
CapacityType() |
protected |
CapacityType(String units,
Long allocated,
Long limit) |
| Modifier and Type | Method and Description |
|---|---|
static <T extends CapacityType<T>> |
builder() |
boolean |
equals(Object o) |
Long |
getAllocated()
Gets the value of the allocated property.
|
Long |
getLimit()
Gets the value of the limit property.
|
String |
getUnits()
Gets the value of the units property.
|
int |
hashCode() |
CapacityType.Builder<T> |
toBuilder() |
String |
toString() |
protected String units
protected Long allocated
protected Long limit
public static <T extends CapacityType<T>> CapacityType.Builder<T> builder()
public CapacityType.Builder<T> toBuilder()
public String getUnits()
Stringpublic Long getAllocated()
Longpublic Long getLimit()
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.