public static class BaseEnvelope.Builder<V extends BaseVirtualSystem<V>,E extends BaseEnvelope<V,E>> extends Object
Modifier and Type | Field and Description |
---|---|
protected com.google.common.collect.Multimap<String,Section> |
additionalSections |
protected Set<DiskSection> |
diskSections |
protected Set<NetworkSection> |
networkSections |
protected V |
virtualSystem |
Constructor and Description |
---|
BaseEnvelope.Builder() |
Modifier and Type | Method and 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) |
protected Set<DiskSection> diskSections
protected Set<NetworkSection> networkSections
protected V extends BaseVirtualSystem<V> virtualSystem
public BaseEnvelope.Builder<V,E> diskSection(DiskSection diskSection)
BaseEnvelope.getDiskSections()
public BaseEnvelope.Builder<V,E> diskSections(Iterable<? extends DiskSection> diskSections)
BaseEnvelope.getDiskSections()
public BaseEnvelope.Builder<V,E> networkSection(NetworkSection networkSection)
BaseEnvelope.getNetworkSections()
public BaseEnvelope.Builder<V,E> networkSections(Iterable<? extends NetworkSection> networkSections)
BaseEnvelope.getNetworkSections()
public BaseEnvelope.Builder<V,E> additionalSection(String name, Section additionalSection)
BaseEnvelope.getAdditionalSections()
public BaseEnvelope.Builder<V,E> additionalSections(com.google.common.collect.Multimap<String,Section> additionalSections)
BaseEnvelope.getAdditionalSections()
public BaseEnvelope.Builder<V,E> virtualSystem(V virtualSystem)
BaseEnvelope.getVirtualSystem()
public E build()
public BaseEnvelope.Builder<V,E> fromEnvelope(BaseEnvelope<V,E> in)
Copyright © 2009-2012 jclouds. All Rights Reserved.