org.jclouds.cloudstack.domain
Class StoragePool.Builder<T extends StoragePool.Builder<T>>

java.lang.Object
  extended by 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
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  String tags
           
protected  StoragePool.Type type
           
protected  String zoneId
           
protected  String zoneName
           
 
Constructor Summary
StoragePool.Builder()
           
 
Method Summary
 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 tags(String tags)
           
 T type(StoragePool.Type type)
           
 T zoneId(String zoneId)
           
 T zoneName(String zoneName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected String id

name

protected String name

path

protected String path

tags

protected 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
Constructor Detail

StoragePool.Builder

public StoragePool.Builder()
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(String tags)
See Also:
StoragePool.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-2012 jclouds. All Rights Reserved.