org.jclouds.cloudstack.domain
Class StoragePool
java.lang.Object
org.jclouds.cloudstack.domain.StoragePool
- All Implemented Interfaces:
- Comparable<StoragePool>
public class StoragePool
- extends Object
- implements Comparable<StoragePool>
Represents a storage pool in CloudStack
- Author:
- Richard Downer
Constructor Summary |
StoragePool(long id,
String name,
String path,
String tags,
StoragePool.State state,
StoragePool.Type type,
long zoneId,
String zoneName,
long podId,
String podName,
long clusterId,
String clusterName,
Date created,
long diskSizeAllocated,
long diskSizeTotal,
String ipAddress,
Long jobId,
String jobStatus)
|
StoragePool
public StoragePool(long id,
String name,
String path,
String tags,
StoragePool.State state,
StoragePool.Type type,
long zoneId,
String zoneName,
long podId,
String podName,
long clusterId,
String clusterName,
Date created,
long diskSizeAllocated,
long diskSizeTotal,
String ipAddress,
Long jobId,
String jobStatus)
builder
public static StoragePool.Builder builder()
getId
public long getId()
getName
public String getName()
getPath
public String getPath()
getTags
public String getTags()
getState
public StoragePool.State getState()
getType
public StoragePool.Type getType()
getZoneId
public long getZoneId()
getZoneName
public String getZoneName()
getPodId
public long getPodId()
getPodName
public String getPodName()
getClusterId
public long getClusterId()
getClusterName
public String getClusterName()
getCreated
public Date getCreated()
getDiskSizeAllocated
public long getDiskSizeAllocated()
getDiskSizeTotal
public long getDiskSizeTotal()
getIpAddress
public String getIpAddress()
getJobId
public Long getJobId()
getJobStatus
public String getJobStatus()
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
compareTo
public int compareTo(StoragePool other)
- Specified by:
compareTo
in interface Comparable<StoragePool>
Copyright © 2009-2012 jclouds. All Rights Reserved.