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<T extends StoragePool.Builder<T>>
           
static class StoragePool.State
           
static class StoragePool.Type
           
 
Constructor Summary
protected StoragePool(String id, String name, String path, 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
static StoragePool.Builder<?> builder()
           
 int compareTo(StoragePool other)
           
 boolean equals(Object obj)
           
 String getClusterId()
           
 String getClusterName()
           
 Date getCreated()
           
 long getDiskSizeAllocated()
           
 long getDiskSizeTotal()
           
 String getId()
           
 String getIpAddress()
           
 String getJobId()
           
 String getJobStatus()
           
 String getName()
           
 String getPath()
           
 String getPodId()
           
 String getPodName()
           
 StoragePool.State getState()
           
 String getTags()
           
 StoragePool.Type getType()
           
 String getZoneId()
           
 String getZoneName()
           
 int hashCode()
           
protected  com.google.common.base.Objects.ToStringHelper string()
           
 StoragePool.Builder<?> toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StoragePool

@ConstructorProperties(value={"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
                                                 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 Detail

builder

public static StoragePool.Builder<?> builder()

toBuilder

public StoragePool.Builder<?> toBuilder()

getId

public String getId()

getName

@Nullable
public String getName()

getPath

@Nullable
public String getPath()

getTags

@Nullable
public String getTags()

getState

@Nullable
public StoragePool.State getState()

getType

@Nullable
public StoragePool.Type getType()

getZoneId

@Nullable
public String getZoneId()

getZoneName

@Nullable
public String getZoneName()

getPodId

@Nullable
public String getPodId()

getPodName

@Nullable
public String getPodName()

getClusterId

@Nullable
public String getClusterId()

getClusterName

@Nullable
public String getClusterName()

getCreated

@Nullable
public Date getCreated()

getDiskSizeAllocated

public long getDiskSizeAllocated()

getDiskSizeTotal

public long getDiskSizeTotal()

getIpAddress

@Nullable
public String getIpAddress()

getJobId

@Nullable
public String getJobId()

getJobStatus

@Nullable
public String getJobStatus()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

string

protected com.google.common.base.Objects.ToStringHelper string()

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.