public abstract static class VirtualMachine.Builder<T extends VirtualMachine.Builder<T>> extends Object
Constructor and Description |
---|
VirtualMachine.Builder() |
protected String id
protected String account
protected long cpuCount
protected long cpuSpeed
protected String cpuUsed
protected String displayName
protected Date created
protected String domain
protected String domainId
protected boolean usesVirtualNetwork
protected String group
protected String groupId
protected String guestOSId
protected boolean HAEnabled
protected String hostId
protected String hostname
protected String IPAddress
protected String ISODisplayText
protected String ISOId
protected String ISOName
protected String jobId
protected Integer jobStatus
protected long memory
protected String name
protected Long networkKbsRead
protected Long networkKbsWrite
protected String password
protected boolean passwordEnabled
protected String publicIP
protected String publicIPId
protected String rootDeviceId
protected String rootDeviceType
protected String serviceOfferingId
protected String serviceOfferingName
protected VirtualMachine.State state
protected String templateDisplayText
protected String templateId
protected String templateName
protected String zoneId
protected String zoneName
protected String hypervisor
protected Set<SecurityGroup> securityGroups
protected abstract T self()
public T id(String id)
VirtualMachine.getId()
public T account(String account)
VirtualMachine.getAccount()
public T cpuCount(long cpuCount)
VirtualMachine.getCpuCount()
public T cpuSpeed(long cpuSpeed)
VirtualMachine.getCpuSpeed()
public T cpuUsed(String cpuUsed)
VirtualMachine.getCpuUsed()
public T displayName(String displayName)
VirtualMachine.getDisplayName()
public T created(Date created)
VirtualMachine.getCreated()
public T domain(String domain)
VirtualMachine.getDomain()
public T domainId(String domainId)
VirtualMachine.getDomainId()
public T usesVirtualNetwork(boolean usesVirtualNetwork)
VirtualMachine.usesVirtualNetwork()
public T group(String group)
VirtualMachine.getGroup()
public T groupId(String groupId)
VirtualMachine.getGroupId()
public T guestOSId(String guestOSId)
VirtualMachine.getGuestOSId()
public T isHAEnabled(boolean HAEnabled)
VirtualMachine.isHAEnabled()
public T hostId(String hostId)
VirtualMachine.getHostId()
public T hostname(String hostname)
VirtualMachine.getHostname()
public T IPAddress(String IPAddress)
VirtualMachine.getIPAddress()
public T ISODisplayText(String ISODisplayText)
VirtualMachine.getISODisplayText()
public T ISOId(String ISOId)
VirtualMachine.getISOId()
public T ISOName(String ISOName)
VirtualMachine.getISOName()
public T jobId(String jobId)
VirtualMachine.getJobId()
public T jobStatus(Integer jobStatus)
VirtualMachine.getJobStatus()
public T memory(long memory)
VirtualMachine.getMemory()
public T name(String name)
VirtualMachine.getName()
public T networkKbsRead(Long networkKbsRead)
VirtualMachine.getNetworkKbsRead()
public T networkKbsWrite(Long networkKbsWrite)
VirtualMachine.getNetworkKbsWrite()
public T password(String password)
VirtualMachine.getPassword()
public T passwordEnabled(boolean passwordEnabled)
VirtualMachine.isPasswordEnabled()
public T publicIP(String publicIP)
VirtualMachine.getPublicIP()
public T publicIPId(String publicIPId)
VirtualMachine.getPublicIPId()
public T rootDeviceId(String rootDeviceId)
VirtualMachine.getRootDeviceId()
public T rootDeviceType(String rootDeviceType)
VirtualMachine.getRootDeviceType()
public T state(VirtualMachine.State state)
VirtualMachine.getState()
public T templateId(String templateId)
VirtualMachine.getTemplateId()
public T templateName(String templateName)
VirtualMachine.getTemplateName()
public T zoneId(String zoneId)
VirtualMachine.getZoneId()
public T zoneName(String zoneName)
VirtualMachine.getZoneName()
public T nics(Set<NIC> nics)
VirtualMachine.getNICs()
public T hypervisor(String hypervisor)
VirtualMachine.getHypervisor()
public T securityGroups(Set<SecurityGroup> securityGroups)
VirtualMachine.getSecurityGroups()
public T securityGroups(SecurityGroup... in)
public VirtualMachine build()
public T fromVirtualMachine(VirtualMachine in)
Copyright © 2009-2013 jclouds. All Rights Reserved.