public abstract static class StoragePool.Builder<T extends StoragePool.Builder<T>> extends Object
Modifier and Type | Field and 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 and Description |
---|
StoragePool.Builder() |
Modifier and Type | Method and 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) |
protected String id
protected String name
protected String path
protected com.google.common.collect.ImmutableSet.Builder<String> tags
protected StoragePool.State state
protected StoragePool.Type type
protected String zoneId
protected String zoneName
protected String podId
protected String podName
protected String clusterId
protected String clusterName
protected Date created
protected long diskSizeAllocated
protected long diskSizeTotal
protected String ipAddress
protected String jobId
protected String jobStatus
protected abstract T self()
public T id(String id)
StoragePool.getId()
public T name(String name)
StoragePool.getName()
public T path(String path)
StoragePool.getPath()
public T tags(Iterable<String> tags)
DiskOffering.getTags()
public T tag(String tag)
DiskOffering.getTags()
public T state(StoragePool.State state)
StoragePool.getState()
public T type(StoragePool.Type type)
StoragePool.getType()
public T zoneId(String zoneId)
StoragePool.getZoneId()
public T zoneName(String zoneName)
StoragePool.getZoneName()
public T podId(String podId)
StoragePool.getPodId()
public T podName(String podName)
StoragePool.getPodName()
public T clusterId(String clusterId)
StoragePool.getClusterId()
public T clusterName(String clusterName)
StoragePool.getClusterName()
public T created(Date created)
StoragePool.getCreated()
public T diskSizeAllocated(long diskSizeAllocated)
StoragePool.getDiskSizeAllocated()
public T diskSizeTotal(long diskSizeTotal)
StoragePool.getDiskSizeTotal()
public T ipAddress(String ipAddress)
StoragePool.getIpAddress()
public T jobId(String jobId)
StoragePool.getJobId()
public T jobStatus(String jobStatus)
StoragePool.getJobStatus()
public StoragePool build()
public T fromStoragePool(StoragePool in)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.