org.jclouds.ovf.internal
Class BaseVirtualSystem.Builder<T extends BaseVirtualSystem<T>>
java.lang.Object
org.jclouds.ovf.Section.Builder<T>
org.jclouds.ovf.internal.BaseVirtualSystem.Builder<T>
- Direct Known Subclasses:
- VirtualSystem.Builder, VM.Builder
- Enclosing class:
- BaseVirtualSystem<T extends BaseVirtualSystem<T>>
public static class BaseVirtualSystem.Builder<T extends BaseVirtualSystem<T>>
- extends Section.Builder<T>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
protected String id
name
protected String name
operatingSystem
protected OperatingSystemSection operatingSystem
virtualHardwareSections
protected Set<VirtualHardwareSection> virtualHardwareSections
productSections
protected Set<ProductSection> productSections
additionalSections
protected com.google.common.collect.Multimap<String,Section> additionalSections
BaseVirtualSystem.Builder
public BaseVirtualSystem.Builder()
name
public BaseVirtualSystem.Builder<T> name(String name)
- See Also:
BaseVirtualSystem.getName()
id
public BaseVirtualSystem.Builder<T> id(String id)
- See Also:
BaseVirtualSystem.getId()
operatingSystemSection
public BaseVirtualSystem.Builder<T> operatingSystemSection(OperatingSystemSection operatingSystem)
- See Also:
BaseVirtualSystem.getOperatingSystemSection()
virtualHardwareSection
public BaseVirtualSystem.Builder<T> virtualHardwareSection(VirtualHardwareSection virtualHardwareSection)
- See Also:
BaseVirtualSystem.getVirtualHardwareSections()
virtualHardwareSections
public BaseVirtualSystem.Builder<T> virtualHardwareSections(Iterable<? extends VirtualHardwareSection> virtualHardwareSections)
- See Also:
BaseVirtualSystem.getVirtualHardwareSections()
productSection
public BaseVirtualSystem.Builder<T> productSection(ProductSection productSection)
- See Also:
BaseVirtualSystem.getProductSections()
productSections
public BaseVirtualSystem.Builder<T> productSections(Iterable<? extends ProductSection> productSections)
- See Also:
BaseVirtualSystem.getProductSections()
additionalSection
public BaseVirtualSystem.Builder<T> additionalSection(String name,
Section additionalSection)
- See Also:
BaseVirtualSystem.getAdditionalSections()
additionalSections
public BaseVirtualSystem.Builder<T> additionalSections(com.google.common.collect.Multimap<String,Section> additionalSections)
- See Also:
BaseVirtualSystem.getAdditionalSections()
build
public BaseVirtualSystem<T> build()
-
- Overrides:
build
in class Section.Builder<T extends BaseVirtualSystem<T>>
fromVirtualSystem
public BaseVirtualSystem.Builder<T> fromVirtualSystem(BaseVirtualSystem<T> in)
fromSection
public BaseVirtualSystem.Builder<T> fromSection(Section<T> in)
-
- Overrides:
fromSection
in class Section.Builder<T extends BaseVirtualSystem<T>>
info
public BaseVirtualSystem.Builder<T> info(String info)
-
- Overrides:
info
in class Section.Builder<T extends BaseVirtualSystem<T>>
- See Also:
Section.getInfo()
Copyright © 2009-2011 jclouds. All Rights Reserved.