org.jclouds.cloudstack.domain
Class VirtualMachine.Builder
java.lang.Object
org.jclouds.cloudstack.domain.VirtualMachine.Builder
- Enclosing class:
- VirtualMachine
public static class VirtualMachine.Builder
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VirtualMachine.Builder
public VirtualMachine.Builder()
id
public VirtualMachine.Builder id(long id)
account
public VirtualMachine.Builder account(String account)
cpuCount
public VirtualMachine.Builder cpuCount(long cpuCount)
cpuSpeed
public VirtualMachine.Builder cpuSpeed(long cpuSpeed)
cpuUsed
public VirtualMachine.Builder cpuUsed(String cpuUsed)
displayName
public VirtualMachine.Builder displayName(String displayName)
created
public VirtualMachine.Builder created(Date created)
domain
public VirtualMachine.Builder domain(String domain)
domainId
public VirtualMachine.Builder domainId(long domainId)
usesVirtualNetwork
public VirtualMachine.Builder usesVirtualNetwork(boolean usesVirtualNetwork)
group
public VirtualMachine.Builder group(String group)
groupId
public VirtualMachine.Builder groupId(long groupId)
guestOSId
public VirtualMachine.Builder guestOSId(long guestOSId)
isHAEnabled
public VirtualMachine.Builder isHAEnabled(boolean HAEnabled)
hostId
public VirtualMachine.Builder hostId(long hostId)
hostname
public VirtualMachine.Builder hostname(String hostname)
IPAddress
public VirtualMachine.Builder IPAddress(String IPAddress)
ISODisplayText
public VirtualMachine.Builder ISODisplayText(String ISODisplayText)
ISOId
public VirtualMachine.Builder ISOId(long ISOId)
ISOName
public VirtualMachine.Builder ISOName(String ISOName)
jobId
public VirtualMachine.Builder jobId(Long jobId)
jobStatus
public VirtualMachine.Builder jobStatus(int jobStatus)
memory
public VirtualMachine.Builder memory(long memory)
name
public VirtualMachine.Builder name(String name)
networkKbsRead
public VirtualMachine.Builder networkKbsRead(Long networkKbsRead)
networkKbsWrite
public VirtualMachine.Builder networkKbsWrite(Long networkKbsWrite)
password
public VirtualMachine.Builder password(String password)
passwordEnabled
public VirtualMachine.Builder passwordEnabled(boolean passwordEnabled)
rootDeviceId
public VirtualMachine.Builder rootDeviceId(long rootDeviceId)
rootDeviceType
public VirtualMachine.Builder rootDeviceType(String rootDeviceType)
serviceOfferingId
public VirtualMachine.Builder serviceOfferingId(long serviceOfferingId)
serviceOfferingName
public VirtualMachine.Builder serviceOfferingName(String serviceOfferingName)
state
public VirtualMachine.Builder state(VirtualMachine.State state)
templateDisplayText
public VirtualMachine.Builder templateDisplayText(String templateDisplayText)
templateId
public VirtualMachine.Builder templateId(long templateId)
templateName
public VirtualMachine.Builder templateName(String templateName)
zoneId
public VirtualMachine.Builder zoneId(long zoneId)
zoneName
public VirtualMachine.Builder zoneName(String zoneName)
nics
public VirtualMachine.Builder nics(Iterable<NIC> nics)
hypervisor
public VirtualMachine.Builder hypervisor(String hypervisor)
securityGroups
public VirtualMachine.Builder securityGroups(Set<SecurityGroup> securityGroups)
build
public VirtualMachine build()
Copyright © 2009-2012 jclouds. All Rights Reserved.