public static class VM.Builder extends BaseVirtualSystem.Builder<VM>
Modifier and Type | Field and Description |
---|---|
protected URI |
href |
protected Set<NetworkConfigSection> |
networkConfigSections |
protected Set<NetworkConnectionSection> |
networkConnectionSections |
protected NetworkSection |
networkSection |
protected VM.Status |
status |
protected String |
type |
additionalSections, id, name, operatingSystem, productSections, virtualHardwareSections
info
Constructor and Description |
---|
VM.Builder() |
protected String type
protected URI href
protected VM.Status status
protected NetworkSection networkSection
protected Set<NetworkConfigSection> networkConfigSections
protected Set<NetworkConnectionSection> networkConnectionSections
public VM.Builder id(String id)
id
in class BaseVirtualSystem.Builder<VM>
BaseVirtualSystem.getId()
public VM.Builder name(String name)
name
in class BaseVirtualSystem.Builder<VM>
BaseVirtualSystem.getName()
public VM.Builder type(String type)
public VM.Builder href(URI href)
public VM.Builder status(VM.Status status)
public VM.Builder networkSection(NetworkSection networkSection)
public VM.Builder networkConfigSection(NetworkConfigSection networkConfigSection)
VM.getNetworkConfigSections()
public VM.Builder networkConfigSections(Iterable<NetworkConfigSection> networkConfigSections)
VM.getNetworkConfigSections()
public VM.Builder networkConnectionSection(NetworkConnectionSection networkConnectionSection)
VM.getNetworkConnectionSections()
public VM.Builder networkConnectionSections(Iterable<NetworkConnectionSection> networkConnectionSections)
VM.getNetworkConnectionSections()
public VM build()
BaseVirtualSystem.Builder
build
in class BaseVirtualSystem.Builder<VM>
public VM.Builder fromVM(VM in)
public VM.Builder additionalSection(String name, Section additionalSection)
additionalSection
in class BaseVirtualSystem.Builder<VM>
BaseVirtualSystem.getAdditionalSections()
public VM.Builder additionalSections(com.google.common.collect.Multimap<String,Section> additionalSections)
additionalSections
in class BaseVirtualSystem.Builder<VM>
BaseVirtualSystem.getAdditionalSections()
public VM.Builder fromSection(Section<VM> in)
fromSection
in class BaseVirtualSystem.Builder<VM>
public VM.Builder fromVirtualSystem(BaseVirtualSystem<VM> in)
fromVirtualSystem
in class BaseVirtualSystem.Builder<VM>
public VM.Builder virtualHardwareSection(VirtualHardwareSection virtualHardwareSection)
virtualHardwareSection
in class BaseVirtualSystem.Builder<VM>
BaseVirtualSystem.getVirtualHardwareSections()
public VM.Builder virtualHardwareSections(Iterable<? extends VirtualHardwareSection> virtualHardwareSections)
virtualHardwareSections
in class BaseVirtualSystem.Builder<VM>
BaseVirtualSystem.getVirtualHardwareSections()
public VM.Builder info(String info)
info
in class BaseVirtualSystem.Builder<VM>
Section.getInfo()
public VM.Builder operatingSystemSection(OperatingSystemSection operatingSystem)
operatingSystemSection
in class BaseVirtualSystem.Builder<VM>
BaseVirtualSystem.getOperatingSystemSection()
public VM.Builder productSection(ProductSection productSection)
productSection
in class BaseVirtualSystem.Builder<VM>
BaseVirtualSystem.getProductSections()
public VM.Builder productSections(Iterable<? extends ProductSection> productSections)
productSections
in class BaseVirtualSystem.Builder<VM>
BaseVirtualSystem.getProductSections()
Copyright © 2009-2012 jclouds. All Rights Reserved.