org.jclouds.ovf.internal
Class BaseVirtualSystem.Builder<T extends BaseVirtualSystem<T>>

java.lang.Object
  extended by org.jclouds.ovf.Section.Builder<T>
      extended by 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>


Field Summary
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
BaseVirtualSystem.Builder()
           
 
Method Summary
 BaseVirtualSystem.Builder<T> additionalSection(String name, Section additionalSection)
           
 BaseVirtualSystem.Builder<T> additionalSections(com.google.common.collect.Multimap<String,Section> additionalSections)
           
 BaseVirtualSystem<T> build()
          
 BaseVirtualSystem.Builder<T> fromSection(Section<T> in)
          
 BaseVirtualSystem.Builder<T> fromVirtualSystem(BaseVirtualSystem<T> in)
           
 BaseVirtualSystem.Builder<T> id(String id)
           
 BaseVirtualSystem.Builder<T> info(String info)
          
 BaseVirtualSystem.Builder<T> name(String name)
           
 BaseVirtualSystem.Builder<T> operatingSystemSection(OperatingSystemSection operatingSystem)
           
 BaseVirtualSystem.Builder<T> productSection(ProductSection productSection)
           
 BaseVirtualSystem.Builder<T> productSections(Iterable<? extends ProductSection> productSections)
           
 BaseVirtualSystem.Builder<T> virtualHardwareSection(VirtualHardwareSection virtualHardwareSection)
           
 BaseVirtualSystem.Builder<T> virtualHardwareSections(Iterable<? extends VirtualHardwareSection> virtualHardwareSections)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

BaseVirtualSystem.Builder

public BaseVirtualSystem.Builder()
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)
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.