Package org.jclouds.cloudstack.domain
Class VirtualMachine.Builder<T extends VirtualMachine.Builder<T>>
- java.lang.Object
-
- org.jclouds.cloudstack.domain.VirtualMachine.Builder<T>
-
- Enclosing class:
- VirtualMachine
public abstract static class VirtualMachine.Builder<T extends VirtualMachine.Builder<T>> extends Object
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Field Detail
-
id
protected String id
-
account
protected String account
-
cpuCount
protected long cpuCount
-
cpuSpeed
protected long cpuSpeed
-
cpuUsed
protected String cpuUsed
-
displayName
protected String displayName
-
created
protected Date created
-
domain
protected String domain
-
domainId
protected String domainId
-
usesVirtualNetwork
protected boolean usesVirtualNetwork
-
group
protected String group
-
groupId
protected String groupId
-
guestOSId
protected String guestOSId
-
HAEnabled
protected boolean HAEnabled
-
hostId
protected String hostId
-
hostname
protected String hostname
-
IPAddress
protected String IPAddress
-
ISODisplayText
protected String ISODisplayText
-
ISOId
protected String ISOId
-
ISOName
protected String ISOName
-
jobId
protected String jobId
-
jobStatus
protected Integer jobStatus
-
memory
protected long memory
-
name
protected String name
-
networkKbsRead
protected Long networkKbsRead
-
networkKbsWrite
protected Long networkKbsWrite
-
password
protected String password
-
passwordEnabled
protected boolean passwordEnabled
-
publicIP
protected String publicIP
-
publicIPId
protected String publicIPId
-
rootDeviceId
protected String rootDeviceId
-
rootDeviceType
protected String rootDeviceType
-
serviceOfferingId
protected String serviceOfferingId
-
serviceOfferingName
protected String serviceOfferingName
-
state
protected VirtualMachine.State state
-
templateDisplayText
protected String templateDisplayText
-
templateId
protected String templateId
-
templateName
protected String templateName
-
zoneId
protected String zoneId
-
zoneName
protected String zoneName
-
hypervisor
protected String hypervisor
-
securityGroups
protected Set<SecurityGroup> securityGroups
-
-
Method Detail
-
self
protected abstract T self()
-
id
public T id(String id)
- See Also:
VirtualMachine.getId()
-
account
public T account(String account)
- See Also:
VirtualMachine.getAccount()
-
cpuCount
public T cpuCount(long cpuCount)
- See Also:
VirtualMachine.getCpuCount()
-
cpuSpeed
public T cpuSpeed(long cpuSpeed)
- See Also:
VirtualMachine.getCpuSpeed()
-
cpuUsed
public T cpuUsed(String cpuUsed)
- See Also:
VirtualMachine.getCpuUsed()
-
displayName
public T displayName(String displayName)
- See Also:
VirtualMachine.getDisplayName()
-
created
public T created(Date created)
- See Also:
VirtualMachine.getCreated()
-
domain
public T domain(String domain)
- See Also:
VirtualMachine.getDomain()
-
domainId
public T domainId(String domainId)
- See Also:
VirtualMachine.getDomainId()
-
usesVirtualNetwork
public T usesVirtualNetwork(boolean usesVirtualNetwork)
- See Also:
VirtualMachine.usesVirtualNetwork()
-
group
public T group(String group)
- See Also:
VirtualMachine.getGroup()
-
groupId
public T groupId(String groupId)
- See Also:
VirtualMachine.getGroupId()
-
guestOSId
public T guestOSId(String guestOSId)
- See Also:
VirtualMachine.getGuestOSId()
-
isHAEnabled
public T isHAEnabled(boolean HAEnabled)
- See Also:
VirtualMachine.isHAEnabled()
-
hostId
public T hostId(String hostId)
- See Also:
VirtualMachine.getHostId()
-
hostname
public T hostname(String hostname)
- See Also:
VirtualMachine.getHostname()
-
IPAddress
public T IPAddress(String IPAddress)
- See Also:
VirtualMachine.getIPAddress()
-
ISODisplayText
public T ISODisplayText(String ISODisplayText)
- See Also:
VirtualMachine.getISODisplayText()
-
ISOId
public T ISOId(String ISOId)
- See Also:
VirtualMachine.getISOId()
-
ISOName
public T ISOName(String ISOName)
- See Also:
VirtualMachine.getISOName()
-
jobId
public T jobId(String jobId)
- See Also:
VirtualMachine.getJobId()
-
jobStatus
public T jobStatus(Integer jobStatus)
- See Also:
VirtualMachine.getJobStatus()
-
memory
public T memory(long memory)
- See Also:
VirtualMachine.getMemory()
-
name
public T name(String name)
- See Also:
VirtualMachine.getName()
-
networkKbsRead
public T networkKbsRead(Long networkKbsRead)
- See Also:
VirtualMachine.getNetworkKbsRead()
-
networkKbsWrite
public T networkKbsWrite(Long networkKbsWrite)
- See Also:
VirtualMachine.getNetworkKbsWrite()
-
password
public T password(String password)
- See Also:
VirtualMachine.getPassword()
-
passwordEnabled
public T passwordEnabled(boolean passwordEnabled)
- See Also:
VirtualMachine.isPasswordEnabled()
-
publicIP
public T publicIP(String publicIP)
- See Also:
VirtualMachine.getPublicIP()
-
publicIPId
public T publicIPId(String publicIPId)
- See Also:
VirtualMachine.getPublicIPId()
-
rootDeviceId
public T rootDeviceId(String rootDeviceId)
- See Also:
VirtualMachine.getRootDeviceId()
-
rootDeviceType
public T rootDeviceType(String rootDeviceType)
- See Also:
VirtualMachine.getRootDeviceType()
-
serviceOfferingId
public T serviceOfferingId(String serviceOfferingId)
- See Also:
VirtualMachine.getServiceOfferingId()
-
serviceOfferingName
public T serviceOfferingName(String serviceOfferingName)
- See Also:
VirtualMachine.getServiceOfferingName()
-
state
public T state(VirtualMachine.State state)
- See Also:
VirtualMachine.getState()
-
templateDisplayText
public T templateDisplayText(String templateDisplayText)
- See Also:
VirtualMachine.getTemplateDisplayText()
-
templateId
public T templateId(String templateId)
- See Also:
VirtualMachine.getTemplateId()
-
templateName
public T templateName(String templateName)
- See Also:
VirtualMachine.getTemplateName()
-
zoneId
public T zoneId(String zoneId)
- See Also:
VirtualMachine.getZoneId()
-
zoneName
public T zoneName(String zoneName)
- See Also:
VirtualMachine.getZoneName()
-
nics
public T nics(Set<NIC> nics)
- See Also:
VirtualMachine.getNICs()
-
hypervisor
public T hypervisor(String hypervisor)
- See Also:
VirtualMachine.getHypervisor()
-
securityGroups
public T securityGroups(Set<SecurityGroup> securityGroups)
- See Also:
VirtualMachine.getSecurityGroups()
-
securityGroups
public T securityGroups(SecurityGroup... in)
-
tags
public T tags(Set<Tag> tags)
- See Also:
VirtualMachine.getTags()
-
build
public VirtualMachine build()
-
fromVirtualMachine
public T fromVirtualMachine(VirtualMachine in)
-
-