Package org.jclouds.ovf.internal
Class BaseEnvelope.Builder<V extends BaseVirtualSystem<V>,E extends BaseEnvelope<V,E>>
- java.lang.Object
-
- 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
Fields Modifier and Type Field Description protected com.google.common.collect.Multimap<String,Section>
additionalSections
protected Set<DiskSection>
diskSections
protected Set<NetworkSection>
networkSections
protected V
virtualSystem
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
-
-
-
Field Detail
-
diskSections
protected Set<DiskSection> diskSections
-
networkSections
protected Set<NetworkSection> networkSections
-
virtualSystem
protected V extends BaseVirtualSystem<V> virtualSystem
-
-
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)
-
-