Modifier and Type | Field and Description |
---|---|
protected AllocationState |
allocationState |
protected int |
averageLoad |
protected String |
capabilities |
protected String |
clusterId |
protected String |
clusterName |
protected Host.ClusterType |
clusterType |
protected String |
cpuAllocated |
protected int |
cpuNumber |
protected int |
cpuSpeed |
protected String |
cpuUsed |
protected float |
cpuWithOverProvisioning |
protected Date |
created |
protected Date |
disconnected |
protected long |
diskSizeAllocated |
protected long |
diskSizeTotal |
protected String |
events |
protected boolean |
hasEnoughCapacity |
protected String |
hypervisor |
protected String |
id |
protected String |
ipAddress |
protected String |
jobId |
protected AsyncJob.Status |
jobStatus |
protected Date |
lastPinged |
protected boolean |
localStorageActive |
protected String |
managementServerId |
protected long |
memoryAllocated |
protected long |
memoryTotal |
protected long |
memoryUsed |
protected String |
name |
protected long |
networkKbsRead |
protected long |
networkKbsWrite |
protected String |
osCategoryId |
protected String |
osCategoryName |
protected String |
podId |
protected String |
podName |
protected Date |
removed |
protected Host.State |
state |
protected com.google.common.collect.ImmutableSet.Builder<String> |
tags |
protected Host.Type |
type |
protected String |
version |
protected String |
zoneId |
protected String |
zoneName |
Constructor and Description |
---|
Host.Builder() |
Modifier and Type | Method and Description |
---|---|
T |
allocationState(AllocationState allocationState) |
T |
averageLoad(int averageLoad) |
Host |
build() |
T |
capabilities(String capabilities) |
T |
clusterId(String clusterId) |
T |
clusterName(String clusterName) |
T |
clusterType(Host.ClusterType clusterType) |
T |
cpuAllocated(String cpuAllocated) |
T |
cpuNumber(int cpuNumber) |
T |
cpuSpeed(int cpuSpeed) |
T |
cpuUsed(String cpuUsed) |
T |
cpuWithOverProvisioning(float cpuWithOverProvisioning) |
T |
created(Date created) |
T |
disconnected(Date disconnected) |
T |
diskSizeAllocated(long diskSizeAllocated) |
T |
diskSizeTotal(long diskSizeTotal) |
T |
events(String events) |
T |
fromHost(Host in) |
T |
hasEnoughCapacity(boolean hasEnoughCapacity) |
T |
hypervisor(String hypervisor) |
T |
id(String id) |
T |
ipAddress(String ipAddress) |
T |
jobId(String jobId) |
T |
jobStatus(AsyncJob.Status jobStatus) |
T |
lastPinged(Date lastPinged) |
T |
localStorageActive(boolean localStorageActive) |
T |
managementServerId(String managementServerId) |
T |
memoryAllocated(long memoryAllocated) |
T |
memoryTotal(long memoryTotal) |
T |
memoryUsed(long memoryUsed) |
T |
name(String name) |
T |
networkKbsRead(long networkKbsRead) |
T |
networkKbsWrite(long networkKbsWrite) |
T |
osCategoryId(String osCategoryId) |
T |
osCategoryName(String osCategoryName) |
T |
podId(String podId) |
T |
podName(String podName) |
T |
removed(Date removed) |
protected abstract T |
self() |
T |
state(Host.State state) |
T |
tag(String tag) |
T |
tags(Iterable<String> tags) |
T |
type(Host.Type type) |
T |
version(String version) |
T |
zoneId(String zoneId) |
T |
zoneName(String zoneName) |
protected String id
protected AllocationState allocationState
protected int averageLoad
protected String capabilities
protected String clusterId
protected String clusterName
protected Host.ClusterType clusterType
protected String cpuAllocated
protected int cpuNumber
protected int cpuSpeed
protected String cpuUsed
protected float cpuWithOverProvisioning
protected Date created
protected Date disconnected
protected long diskSizeAllocated
protected long diskSizeTotal
protected String events
protected boolean hasEnoughCapacity
protected com.google.common.collect.ImmutableSet.Builder<String> tags
protected String hypervisor
protected String ipAddress
protected boolean localStorageActive
protected String jobId
protected AsyncJob.Status jobStatus
protected Date lastPinged
protected String managementServerId
protected long memoryAllocated
protected long memoryTotal
protected long memoryUsed
protected String name
protected long networkKbsRead
protected long networkKbsWrite
protected String osCategoryId
protected String osCategoryName
protected String podId
protected String podName
protected Date removed
protected Host.State state
protected Host.Type type
protected String version
protected String zoneId
protected String zoneName
protected abstract T self()
public T id(String id)
Host.getId()
public T allocationState(AllocationState allocationState)
Host.getAllocationState()
public T averageLoad(int averageLoad)
Host.getAverageLoad()
public T capabilities(String capabilities)
Host.getCapabilities()
public T clusterId(String clusterId)
Host.getClusterId()
public T clusterName(String clusterName)
Host.getClusterName()
public T clusterType(Host.ClusterType clusterType)
Host.getClusterType()
public T cpuAllocated(String cpuAllocated)
Host.getCpuAllocated()
public T cpuNumber(int cpuNumber)
Host.getCpuNumber()
public T cpuSpeed(int cpuSpeed)
Host.getCpuSpeed()
public T cpuUsed(String cpuUsed)
Host.getCpuUsed()
public T cpuWithOverProvisioning(float cpuWithOverProvisioning)
Host.getCpuWithOverProvisioning()
public T created(Date created)
Host.getCreated()
public T disconnected(Date disconnected)
Host.getDisconnected()
public T diskSizeAllocated(long diskSizeAllocated)
Host.getDiskSizeAllocated()
public T diskSizeTotal(long diskSizeTotal)
Host.getDiskSizeTotal()
public T events(String events)
Host.getEvents()
public T hasEnoughCapacity(boolean hasEnoughCapacity)
Host.isHasEnoughCapacity()
public T tags(Iterable<String> tags)
Host.getTags()
public T tag(String tag)
Host.getTags()
public T hypervisor(String hypervisor)
Host.getHypervisor()
public T ipAddress(String ipAddress)
Host.getIpAddress()
public T localStorageActive(boolean localStorageActive)
Host.isLocalStorageActive()
public T jobId(String jobId)
Host.getJobId()
public T jobStatus(AsyncJob.Status jobStatus)
Host.getJobStatus()
public T lastPinged(Date lastPinged)
Host.getLastPinged()
public T managementServerId(String managementServerId)
Host.getManagementServerId()
public T memoryAllocated(long memoryAllocated)
Host.getMemoryAllocated()
public T memoryTotal(long memoryTotal)
Host.getMemoryTotal()
public T memoryUsed(long memoryUsed)
Host.getMemoryUsed()
public T name(String name)
Host.getName()
public T networkKbsRead(long networkKbsRead)
Host.getNetworkKbsRead()
public T networkKbsWrite(long networkKbsWrite)
Host.getNetworkKbsWrite()
public T osCategoryId(String osCategoryId)
Host.getOsCategoryId()
public T osCategoryName(String osCategoryName)
Host.getOsCategoryName()
public T podId(String podId)
Host.getPodId()
public T podName(String podName)
Host.getPodName()
public T removed(Date removed)
Host.getRemoved()
public T state(Host.State state)
Host.getState()
public T type(Host.Type type)
Host.getType()
public T version(String version)
Host.getVersion()
public T zoneId(String zoneId)
Host.getZoneId()
public T zoneName(String zoneName)
Host.getZoneName()
public Host build()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.