Package org.jclouds.cloudstack.domain
Class StoragePool
java.lang.Object
org.jclouds.cloudstack.domain.StoragePool
- All Implemented Interfaces:
Comparable<StoragePool>
Represents a storage pool in CloudStack
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
StoragePool.Builder<T extends StoragePool.Builder<T>>
static enum
static enum
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
StoragePool
(String id, String name, String path, Iterable<String> tags, StoragePool.State state, StoragePool.Type type, String zoneId, String zoneName, String podId, String podName, String clusterId, String clusterName, Date created, long diskSizeAllocated, long diskSizeTotal, String ipAddress, String jobId, String jobStatus) -
Method Summary
Modifier and TypeMethodDescriptionstatic StoragePool.Builder
<?> builder()
int
compareTo
(StoragePool other) boolean
long
long
getId()
getJobId()
getName()
getPath()
getPodId()
getState()
getTags()
getType()
int
hashCode()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
toString()
-
Constructor Details
-
StoragePool
@ConstructorProperties({"id","name","path","tags","state","type","zoneid","zonename","podid","podname","clusterid","clustername","created","disksizeallocated","disksizetotal","ipaddress","jobid","jobstatus"}) protected StoragePool(String id, @Nullable String name, @Nullable String path, @Nullable Iterable<String> tags, @Nullable StoragePool.State state, @Nullable StoragePool.Type type, @Nullable String zoneId, @Nullable String zoneName, @Nullable String podId, @Nullable String podName, @Nullable String clusterId, @Nullable String clusterName, @Nullable Date created, long diskSizeAllocated, long diskSizeTotal, @Nullable String ipAddress, @Nullable String jobId, @Nullable String jobStatus)
-
-
Method Details
-
builder
-
toBuilder
-
getId
-
getName
-
getPath
-
getTags
-
getState
-
getType
-
getZoneId
-
getZoneName
-
getPodId
-
getPodName
-
getClusterId
-
getClusterName
-
getCreated
-
getDiskSizeAllocated
public long getDiskSizeAllocated() -
getDiskSizeTotal
public long getDiskSizeTotal() -
getIpAddress
-
getJobId
-
getJobStatus
-
hashCode
public int hashCode() -
equals
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string() -
toString
-
compareTo
- Specified by:
compareTo
in interfaceComparable<StoragePool>
-