Package 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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StoragePool.Builder<T extends StoragePool.Builder<T>>
static class
StoragePool.State
static class
StoragePool.Type
-
Constructor Summary
Constructors Modifier Constructor Description protected
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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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()
Set<String>
getTags()
StoragePool.Type
getType()
String
getZoneId()
String
getZoneName()
int
hashCode()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
StoragePool.Builder<?>
toBuilder()
String
toString()
-
-
-
Constructor Detail
-
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 Detail
-
builder
public static StoragePool.Builder<?> builder()
-
toBuilder
public StoragePool.Builder<?> toBuilder()
-
getId
public String getId()
-
getState
@Nullable public StoragePool.State getState()
-
getType
@Nullable public StoragePool.Type getType()
-
getDiskSizeAllocated
public long getDiskSizeAllocated()
-
getDiskSizeTotal
public long getDiskSizeTotal()
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
compareTo
public int compareTo(StoragePool other)
- Specified by:
compareTo
in interfaceComparable<StoragePool>
-
-