org.jclouds.ovf.internal
Class BaseEnvelope.Builder<V extends BaseVirtualSystem<V>,E extends BaseEnvelope<V,E>>

java.lang.Object
  extended by org.jclouds.ovf.internal.BaseEnvelope.Builder<V,E>
Direct Known Subclasses:
Envelope.Builder
Enclosing class:
BaseEnvelope<V extends BaseVirtualSystem<V>,E extends BaseEnvelope<V,E>>

public static class BaseEnvelope.Builder<V extends BaseVirtualSystem<V>,E extends BaseEnvelope<V,E>>
extends Object


Field Summary
protected  com.google.common.collect.Multimap<String,Section> additionalSections
           
protected  Set<DiskSection> diskSections
           
protected  Set<NetworkSection> networkSections
           
protected  V virtualSystem
           
 
Constructor Summary
BaseEnvelope.Builder()
           
 
Method Summary
 BaseEnvelope.Builder<V,E> additionalSection(String name, Section additionalSection)
           
 BaseEnvelope.Builder<V,E> additionalSections(com.google.common.collect.Multimap<String,Section> additionalSections)
           
 E build()
          
 BaseEnvelope.Builder<V,E> diskSection(DiskSection diskSection)
           
 BaseEnvelope.Builder<V,E> diskSections(Iterable<? extends DiskSection> diskSections)
           
 BaseEnvelope.Builder<V,E> fromEnvelope(BaseEnvelope<V,E> in)
           
 BaseEnvelope.Builder<V,E> networkSection(NetworkSection networkSection)
           
 BaseEnvelope.Builder<V,E> networkSections(Iterable<? extends NetworkSection> networkSections)
           
 BaseEnvelope.Builder<V,E> virtualSystem(V virtualSystem)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

diskSections

protected Set<DiskSection> diskSections

networkSections

protected Set<NetworkSection> networkSections

additionalSections

protected com.google.common.collect.Multimap<String,Section> additionalSections

virtualSystem

protected V extends BaseVirtualSystem<V> virtualSystem
Constructor Detail

BaseEnvelope.Builder

public BaseEnvelope.Builder()
Method Detail

diskSection

public BaseEnvelope.Builder<V,E> diskSection(DiskSection diskSection)
See Also:
BaseEnvelope.getDiskSections()

diskSections

public BaseEnvelope.Builder<V,E> diskSections(Iterable<? extends DiskSection> diskSections)
See Also:
BaseEnvelope.getDiskSections()

networkSection

public BaseEnvelope.Builder<V,E> networkSection(NetworkSection networkSection)
See Also:
BaseEnvelope.getNetworkSections()

networkSections

public BaseEnvelope.Builder<V,E> networkSections(Iterable<? extends NetworkSection> networkSections)
See Also:
BaseEnvelope.getNetworkSections()

additionalSection

public BaseEnvelope.Builder<V,E> additionalSection(String name,
                                                   Section additionalSection)
See Also:
BaseEnvelope.getAdditionalSections()

additionalSections

public BaseEnvelope.Builder<V,E> additionalSections(com.google.common.collect.Multimap<String,Section> additionalSections)
See Also:
BaseEnvelope.getAdditionalSections()

virtualSystem

public BaseEnvelope.Builder<V,E> virtualSystem(V virtualSystem)
See Also:
BaseEnvelope.getVirtualSystem()

build

public E build()


fromEnvelope

public BaseEnvelope.Builder<V,E> fromEnvelope(BaseEnvelope<V,E> in)


Copyright © 2009-2011 jclouds. All Rights Reserved.