org.jclouds.cloudstack.domain
Class Host.Builder
java.lang.Object
org.jclouds.cloudstack.domain.Host.Builder
- Enclosing class:
- Host
public static class Host.Builder
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Host.Builder
public Host.Builder()
id
public Host.Builder id(long id)
allocationState
public Host.Builder allocationState(AllocationState allocationState)
averageLoad
public Host.Builder averageLoad(int averageLoad)
capabilities
public Host.Builder capabilities(String capabilities)
clusterId
public Host.Builder clusterId(long clusterId)
clusterName
public Host.Builder clusterName(String clusterName)
clusterType
public Host.Builder clusterType(Host.ClusterType clusterType)
cpuAllocated
public Host.Builder cpuAllocated(String cpuAllocated)
cpuNumber
public Host.Builder cpuNumber(int cpuNumber)
cpuSpeed
public Host.Builder cpuSpeed(int cpuSpeed)
cpuUsed
public Host.Builder cpuUsed(String cpuUsed)
cpuWithOverProvisioning
public Host.Builder cpuWithOverProvisioning(float cpuWithOverProvisioning)
created
public Host.Builder created(Date created)
disconnected
public Host.Builder disconnected(Date disconnected)
diskSizeAllocated
public Host.Builder diskSizeAllocated(long diskSizeAllocated)
diskSizeTotal
public Host.Builder diskSizeTotal(long diskSizeTotal)
events
public Host.Builder events(String events)
hasEnoughCapacity
public Host.Builder hasEnoughCapacity(boolean hasEnoughCapacity)
hostTags
public Host.Builder hostTags(String hostTags)
hypervisor
public Host.Builder hypervisor(String hypervisor)
ipAddress
public Host.Builder ipAddress(String ipAddress)
localStorageActive
public Host.Builder localStorageActive(boolean localStorageActive)
jobId
public Host.Builder jobId(long jobId)
jobStatus
public Host.Builder jobStatus(AsyncJob.Status jobStatus)
lastPinged
public Host.Builder lastPinged(Date lastPinged)
managementServerId
public Host.Builder managementServerId(long managementServerId)
memoryAllocated
public Host.Builder memoryAllocated(long memoryAllocated)
memoryTotal
public Host.Builder memoryTotal(long memoryTotal)
memoryUsed
public Host.Builder memoryUsed(long memoryUsed)
name
public Host.Builder name(String name)
networkKbsRead
public Host.Builder networkKbsRead(long networkKbsRead)
networkKbsWrite
public Host.Builder networkKbsWrite(long networkKbsWrite)
osCategoryId
public Host.Builder osCategoryId(long osCategoryId)
osCategoryName
public Host.Builder osCategoryName(long osCategoryName)
podId
public Host.Builder podId(long podId)
podName
public Host.Builder podName(String podName)
removed
public Host.Builder removed(Date removed)
state
public Host.Builder state(Host.State state)
type
public Host.Builder type(Host.Type type)
version
public Host.Builder version(String version)
zoneId
public Host.Builder zoneId(long zoneId)
zoneName
public Host.Builder zoneName(String zoneName)
build
public Host build()
Copyright © 2009-2012 jclouds. All Rights Reserved.