Package 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
- Enclosing class:
- BaseVirtualSystem<T extends BaseVirtualSystem<T>>
public static class BaseVirtualSystem.Builder<T extends BaseVirtualSystem<T>> extends Section.Builder<T>
-
-
Field Summary
Fields Modifier and Type Field 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
-
Fields inherited from class org.jclouds.ovf.Section.Builder
info
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Field Detail
-
id
protected String id
-
name
protected String name
-
operatingSystem
protected OperatingSystemSection operatingSystem
-
virtualHardwareSections
protected Set<VirtualHardwareSection> virtualHardwareSections
-
productSections
protected Set<ProductSection> productSections
-
-
Method Detail
-
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)
-
virtualHardwareSection
public BaseVirtualSystem.Builder<T> virtualHardwareSection(VirtualHardwareSection virtualHardwareSection)
-
virtualHardwareSections
public BaseVirtualSystem.Builder<T> virtualHardwareSections(Iterable<? extends VirtualHardwareSection> virtualHardwareSections)
-
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)
-
additionalSections
public BaseVirtualSystem.Builder<T> additionalSections(com.google.common.collect.Multimap<String,Section> additionalSections)
-
build
public BaseVirtualSystem<T> build()
- Overrides:
build
in classSection.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 classSection.Builder<T extends BaseVirtualSystem<T>>
-
info
public BaseVirtualSystem.Builder<T> info(String info)
- Overrides:
info
in classSection.Builder<T extends BaseVirtualSystem<T>>
- See Also:
Section.getInfo()
-
-