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 |
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)
|
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)
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.