org.jclouds.cloudstack.domain
Class StoragePool

java.lang.Object
  extended by 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

Nested Class Summary
static class StoragePool.Builder
           
static class StoragePool.State
           
static class StoragePool.Type
           
 
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)
           
 
Method Summary
static StoragePool.Builder builder()
           
 int compareTo(StoragePool other)
           
 boolean equals(Object o)
           
 long getClusterId()
           
 String getClusterName()
           
 Date getCreated()
           
 long getDiskSizeAllocated()
           
 long getDiskSizeTotal()
           
 long getId()
           
 String getIpAddress()
           
 Long getJobId()
           
 String getJobStatus()
           
 String getName()
           
 String getPath()
           
 long getPodId()
           
 String getPodName()
           
 StoragePool.State getState()
           
 String getTags()
           
 StoragePool.Type getType()
           
 long getZoneId()
           
 String getZoneName()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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.