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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
StoragePool.Builder
public StoragePool.Builder()
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)
Copyright © 2009-2013 jclouds. All Rights Reserved.