public static class BaseVirtualSystem.Builder<T extends BaseVirtualSystem<T>> extends Section.Builder<T>
Modifier and Type | Field and Description |
---|---|
protected com.google.common.collect.Multimap<String,Section> |
additionalSections |
protected String |
id |
protected String |
name |
protected OperatingSystemSection |
operatingSystem |
protected Set<ProductSection> |
productSections |
protected Set<VirtualHardwareSection> |
virtualHardwareSections |
info
Constructor and Description |
---|
BaseVirtualSystem.Builder() |
protected String id
protected String name
protected OperatingSystemSection operatingSystem
protected Set<VirtualHardwareSection> virtualHardwareSections
protected Set<ProductSection> productSections
public BaseVirtualSystem.Builder<T> name(String name)
BaseVirtualSystem.getName()
public BaseVirtualSystem.Builder<T> id(String id)
BaseVirtualSystem.getId()
public BaseVirtualSystem.Builder<T> operatingSystemSection(OperatingSystemSection operatingSystem)
public BaseVirtualSystem.Builder<T> virtualHardwareSection(VirtualHardwareSection virtualHardwareSection)
public BaseVirtualSystem.Builder<T> virtualHardwareSections(Iterable<? extends VirtualHardwareSection> virtualHardwareSections)
public BaseVirtualSystem.Builder<T> productSection(ProductSection productSection)
public BaseVirtualSystem.Builder<T> productSections(Iterable<? extends ProductSection> productSections)
public BaseVirtualSystem.Builder<T> additionalSection(String name, Section additionalSection)
public BaseVirtualSystem.Builder<T> additionalSections(com.google.common.collect.Multimap<String,Section> additionalSections)
public BaseVirtualSystem<T> build()
build
in class Section.Builder<T extends BaseVirtualSystem<T>>
public BaseVirtualSystem.Builder<T> fromVirtualSystem(BaseVirtualSystem<T> in)
public BaseVirtualSystem.Builder<T> fromSection(Section<T> in)
fromSection
in class Section.Builder<T extends BaseVirtualSystem<T>>
public BaseVirtualSystem.Builder<T> info(String info)
info
in class Section.Builder<T extends BaseVirtualSystem<T>>
Section.getInfo()
Copyright © 2009-2012 jclouds. All Rights Reserved.