org.jclouds.softlayer.domain
Class VirtualGuest.Builder<T extends VirtualGuest.Builder<T>>

java.lang.Object
  extended by org.jclouds.softlayer.domain.VirtualGuest.Builder<T>
Enclosing class:
VirtualGuest

public abstract static class VirtualGuest.Builder<T extends VirtualGuest.Builder<T>>
extends Object


Field Summary
protected  int accountId
           
protected  int activeTransactionCount
           
protected  int billingItemId
           
protected  Set<VirtualGuestBlockDevice> blockDevices
           
protected  VirtualGuestBlockDeviceTemplateGroup blockDeviceTemplateGroup
           
protected  Date createDate
           
protected  Datacenter datacenter
           
protected  boolean dedicatedAccountHostOnly
           
protected  String domain
           
protected  String fullyQualifiedDomainName
           
protected  String hostname
           
protected  int id
           
protected  Date lastVerifiedDate
           
protected  boolean localDiskFlag
           
protected  int maxCpu
           
protected  String maxCpuUnits
           
protected  int maxMemory
           
protected  Date metricPollDate
           
protected  Date modifyDate
           
protected  Set<VirtualGuestNetworkComponent> networkComponents
           
protected  String notes
           
protected  OperatingSystem operatingSystem
           
protected  String operatingSystemReferenceCode
           
protected  PowerState powerState
           
protected  String primaryBackendIpAddress
           
protected  String primaryIpAddress
           
protected  boolean privateNetworkOnly
           
protected  SoftwareLicense softwareLicense
           
protected  int startCpus
           
protected  int statusId
           
protected  Set<TagReference> tagReferences
           
protected  String uuid
           
 
Constructor Summary
VirtualGuest.Builder()
           
 
Method Summary
 T accountId(int accountId)
           
 T activeTransactionCount(int activeTransactionCount)
           
 T billingItemId(int billingItemId)
           
 T blockDevices(Set<VirtualGuestBlockDevice> blockDevices)
           
 T blockDevices(VirtualGuestBlockDevice... in)
           
 T blockDeviceTemplateGroup(VirtualGuestBlockDeviceTemplateGroup blockDeviceTemplateGroup)
           
 VirtualGuest build()
           
 T createDate(Date createDate)
           
 T datacenter(Datacenter datacenter)
           
 T dedicatedAccountHostOnly(boolean dedicatedAccountHostOnly)
           
 T domain(String domain)
           
 T fromVirtualGuest(VirtualGuest in)
           
 T fullyQualifiedDomainName(String fullyQualifiedDomainName)
           
 T hostname(String hostname)
           
 T id(int id)
           
 T lastVerifiedDate(Date lastVerifiedDate)
           
 T localDiskFlag(boolean localDiskFlag)
           
 T maxCpu(int maxCpu)
           
 T maxCpuUnits(String maxCpuUnits)
           
 T maxMemory(int maxMemory)
           
 T metricPollDate(Date metricPollDate)
           
 T modifyDate(Date modifyDate)
           
 T networkComponents(Set<VirtualGuestNetworkComponent> networkComponents)
           
 T networkComponents(VirtualGuestNetworkComponent... in)
           
 T notes(String notes)
           
 T operatingSystem(OperatingSystem operatingSystem)
           
 T operatingSystemReferenceCode(String operatingSystemReferenceCode)
           
 T powerState(PowerState powerState)
           
 T primaryBackendIpAddress(String primaryBackendIpAddress)
           
 T primaryIpAddress(String primaryIpAddress)
           
 T privateNetworkOnly(boolean privateNetworkOnly)
           
protected abstract  T self()
           
 T softwareLicense(SoftwareLicense softwareLicense)
           
 T startCpus(int startCpus)
           
 T statusId(int statusId)
           
 T tagReferences(Set<TagReference> tagReferences)
           
 T tagReferences(TagReference... in)
           
 T uuid(String uuid)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

accountId

protected int accountId

createDate

protected Date createDate

dedicatedAccountHostOnly

protected boolean dedicatedAccountHostOnly

domain

protected String domain

fullyQualifiedDomainName

protected String fullyQualifiedDomainName

hostname

protected String hostname

id

protected int id

lastVerifiedDate

protected Date lastVerifiedDate

maxCpu

protected int maxCpu

maxCpuUnits

protected String maxCpuUnits

maxMemory

protected int maxMemory

metricPollDate

protected Date metricPollDate

modifyDate

protected Date modifyDate

notes

protected String notes

privateNetworkOnly

protected boolean privateNetworkOnly

startCpus

protected int startCpus

statusId

protected int statusId

uuid

protected String uuid

primaryBackendIpAddress

protected String primaryBackendIpAddress

primaryIpAddress

protected String primaryIpAddress

billingItemId

protected int billingItemId

operatingSystem

protected OperatingSystem operatingSystem

operatingSystemReferenceCode

protected String operatingSystemReferenceCode

datacenter

protected Datacenter datacenter

powerState

protected PowerState powerState

softwareLicense

protected SoftwareLicense softwareLicense

activeTransactionCount

protected int activeTransactionCount

blockDevices

protected Set<VirtualGuestBlockDevice> blockDevices

localDiskFlag

protected boolean localDiskFlag

blockDeviceTemplateGroup

protected VirtualGuestBlockDeviceTemplateGroup blockDeviceTemplateGroup

networkComponents

protected Set<VirtualGuestNetworkComponent> networkComponents

tagReferences

protected Set<TagReference> tagReferences
Constructor Detail

VirtualGuest.Builder

public VirtualGuest.Builder()
Method Detail

self

protected abstract T self()

accountId

public T accountId(int accountId)
See Also:
VirtualGuest.getAccountId()

createDate

public T createDate(Date createDate)
See Also:
VirtualGuest.getCreateDate()

dedicatedAccountHostOnly

public T dedicatedAccountHostOnly(boolean dedicatedAccountHostOnly)
See Also:
VirtualGuest.isDedicatedAccountHostOnly()

domain

public T domain(String domain)
See Also:
VirtualGuest.getDomain()

fullyQualifiedDomainName

public T fullyQualifiedDomainName(String fullyQualifiedDomainName)
See Also:
VirtualGuest.getFullyQualifiedDomainName()

hostname

public T hostname(String hostname)
See Also:
VirtualGuest.getHostname()

id

public T id(int id)
See Also:
VirtualGuest.getId()

lastVerifiedDate

public T lastVerifiedDate(Date lastVerifiedDate)
See Also:
VirtualGuest.getLastVerifiedDate()

maxCpu

public T maxCpu(int maxCpu)
See Also:
VirtualGuest.getMaxCpu()

maxCpuUnits

public T maxCpuUnits(String maxCpuUnits)
See Also:
VirtualGuest.getMaxCpuUnits()

maxMemory

public T maxMemory(int maxMemory)
See Also:
VirtualGuest.getMaxMemory()

metricPollDate

public T metricPollDate(Date metricPollDate)
See Also:
VirtualGuest.getMetricPollDate()

modifyDate

public T modifyDate(Date modifyDate)
See Also:
VirtualGuest.getModifyDate()

notes

public T notes(String notes)
See Also:
VirtualGuest.getNotes()

privateNetworkOnly

public T privateNetworkOnly(boolean privateNetworkOnly)
See Also:
VirtualGuest.isPrivateNetworkOnly()

startCpus

public T startCpus(int startCpus)
See Also:
VirtualGuest.getStartCpus()

statusId

public T statusId(int statusId)
See Also:
VirtualGuest.getStatusId()

uuid

public T uuid(String uuid)
See Also:
VirtualGuest.getUuid()

primaryBackendIpAddress

public T primaryBackendIpAddress(String primaryBackendIpAddress)
See Also:
VirtualGuest.getPrimaryBackendIpAddress()

primaryIpAddress

public T primaryIpAddress(String primaryIpAddress)
See Also:
VirtualGuest.getPrimaryIpAddress()

billingItemId

public T billingItemId(int billingItemId)
See Also:
VirtualGuest.getBillingItemId()

operatingSystem

public T operatingSystem(OperatingSystem operatingSystem)
See Also:
VirtualGuest.getOperatingSystem()

operatingSystemReferenceCode

public T operatingSystemReferenceCode(String operatingSystemReferenceCode)
See Also:
VirtualGuest.getOperatingSystemReferenceCode()

datacenter

public T datacenter(Datacenter datacenter)
See Also:
VirtualGuest.getDatacenter()

powerState

public T powerState(PowerState powerState)
See Also:
VirtualGuest.getPowerState()

softwareLicense

public T softwareLicense(SoftwareLicense softwareLicense)
See Also:
VirtualGuest.getSoftwareLicense()

activeTransactionCount

public T activeTransactionCount(int activeTransactionCount)
See Also:
VirtualGuest.getActiveTransactionCount()

blockDevices

public T blockDevices(Set<VirtualGuestBlockDevice> blockDevices)
See Also:
VirtualGuest.getVirtualGuestBlockDevices()

blockDevices

public T blockDevices(VirtualGuestBlockDevice... in)

localDiskFlag

public T localDiskFlag(boolean localDiskFlag)

blockDeviceTemplateGroup

public T blockDeviceTemplateGroup(VirtualGuestBlockDeviceTemplateGroup blockDeviceTemplateGroup)

networkComponents

public T networkComponents(Set<VirtualGuestNetworkComponent> networkComponents)

networkComponents

public T networkComponents(VirtualGuestNetworkComponent... in)

tagReferences

public T tagReferences(Set<TagReference> tagReferences)

tagReferences

public T tagReferences(TagReference... in)

build

public VirtualGuest build()

fromVirtualGuest

public T fromVirtualGuest(VirtualGuest in)


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.