Package org.jclouds.cloudstack.domain
Class StoragePool.Builder<T extends StoragePool.Builder<T>>
- java.lang.Object
-
- org.jclouds.cloudstack.domain.StoragePool.Builder<T>
-
- Enclosing class:
- StoragePool
public abstract static class StoragePool.Builder<T extends StoragePool.Builder<T>> extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected String
clusterId
protected String
clusterName
protected Date
created
protected long
diskSizeAllocated
protected long
diskSizeTotal
protected String
id
protected String
ipAddress
protected String
jobId
protected String
jobStatus
protected String
name
protected String
path
protected String
podId
protected String
podName
protected StoragePool.State
state
protected com.google.common.collect.ImmutableSet.Builder<String>
tags
protected StoragePool.Type
type
protected String
zoneId
protected String
zoneName
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description StoragePool
build()
T
clusterId(String clusterId)
T
clusterName(String clusterName)
T
created(Date created)
T
diskSizeAllocated(long diskSizeAllocated)
T
diskSizeTotal(long diskSizeTotal)
T
fromStoragePool(StoragePool in)
T
id(String id)
T
ipAddress(String ipAddress)
T
jobId(String jobId)
T
jobStatus(String jobStatus)
T
name(String name)
T
path(String path)
T
podId(String podId)
T
podName(String podName)
protected abstract T
self()
T
state(StoragePool.State state)
T
tag(String tag)
T
tags(Iterable<String> tags)
T
type(StoragePool.Type type)
T
zoneId(String zoneId)
T
zoneName(String zoneName)
-
-
-
Field Detail
-
id
protected String id
-
name
protected String name
-
path
protected String path
-
tags
protected com.google.common.collect.ImmutableSet.Builder<String> tags
-
state
protected StoragePool.State state
-
type
protected StoragePool.Type type
-
zoneId
protected String zoneId
-
zoneName
protected String zoneName
-
podId
protected String podId
-
podName
protected String podName
-
clusterId
protected String clusterId
-
clusterName
protected String clusterName
-
created
protected Date created
-
diskSizeAllocated
protected long diskSizeAllocated
-
diskSizeTotal
protected long diskSizeTotal
-
ipAddress
protected String ipAddress
-
jobId
protected String jobId
-
jobStatus
protected String jobStatus
-
-
Method Detail
-
self
protected abstract T self()
-
id
public T id(String id)
- See Also:
StoragePool.getId()
-
name
public T name(String name)
- See Also:
StoragePool.getName()
-
path
public T path(String path)
- See Also:
StoragePool.getPath()
-
tags
public T tags(Iterable<String> tags)
- See Also:
DiskOffering.getTags()
-
tag
public T tag(String tag)
- See Also:
DiskOffering.getTags()
-
state
public T state(StoragePool.State state)
- See Also:
StoragePool.getState()
-
type
public T type(StoragePool.Type type)
- See Also:
StoragePool.getType()
-
zoneId
public T zoneId(String zoneId)
- See Also:
StoragePool.getZoneId()
-
zoneName
public T zoneName(String zoneName)
- See Also:
StoragePool.getZoneName()
-
podId
public T podId(String podId)
- See Also:
StoragePool.getPodId()
-
podName
public T podName(String podName)
- See Also:
StoragePool.getPodName()
-
clusterId
public T clusterId(String clusterId)
- See Also:
StoragePool.getClusterId()
-
clusterName
public T clusterName(String clusterName)
- See Also:
StoragePool.getClusterName()
-
created
public T created(Date created)
- See Also:
StoragePool.getCreated()
-
diskSizeAllocated
public T diskSizeAllocated(long diskSizeAllocated)
- See Also:
StoragePool.getDiskSizeAllocated()
-
diskSizeTotal
public T diskSizeTotal(long diskSizeTotal)
- See Also:
StoragePool.getDiskSizeTotal()
-
ipAddress
public T ipAddress(String ipAddress)
- See Also:
StoragePool.getIpAddress()
-
jobId
public T jobId(String jobId)
- See Also:
StoragePool.getJobId()
-
jobStatus
public T jobStatus(String jobStatus)
- See Also:
StoragePool.getJobStatus()
-
build
public StoragePool build()
-
fromStoragePool
public T fromStoragePool(StoragePool in)
-
-