Package org.jclouds.ovf
Class Envelope.Builder
- java.lang.Object
-
- org.jclouds.ovf.internal.BaseEnvelope.Builder<VirtualSystem,Envelope>
-
- org.jclouds.ovf.Envelope.Builder
-
- Enclosing class:
- Envelope
public static class Envelope.Builder extends BaseEnvelope.Builder<VirtualSystem,Envelope>
-
-
Field Summary
-
Fields inherited from class org.jclouds.ovf.internal.BaseEnvelope.Builder
additionalSections, diskSections, networkSections, virtualSystem
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Envelope.Builder
additionalSection(String name, Section additionalSection)
Envelope.Builder
additionalSections(com.google.common.collect.Multimap<String,Section> additionalSections)
Envelope
build()
Envelope.Builder
diskSection(DiskSection diskSection)
Envelope.Builder
diskSections(Iterable<? extends DiskSection> diskSections)
Envelope.Builder
fromEnvelope(BaseEnvelope<VirtualSystem,Envelope> in)
Envelope.Builder
networkSection(NetworkSection networkSection)
Envelope.Builder
networkSections(Iterable<? extends NetworkSection> networkSections)
Envelope.Builder
virtualSystem(VirtualSystem virtualSystem)
-
-
-
Method Detail
-
build
public Envelope build()
- Overrides:
build
in classBaseEnvelope.Builder<VirtualSystem,Envelope>
-
additionalSection
public Envelope.Builder additionalSection(String name, Section additionalSection)
- Overrides:
additionalSection
in classBaseEnvelope.Builder<VirtualSystem,Envelope>
- See Also:
BaseEnvelope.getAdditionalSections()
-
additionalSections
public Envelope.Builder additionalSections(com.google.common.collect.Multimap<String,Section> additionalSections)
- Overrides:
additionalSections
in classBaseEnvelope.Builder<VirtualSystem,Envelope>
- See Also:
BaseEnvelope.getAdditionalSections()
-
diskSection
public Envelope.Builder diskSection(DiskSection diskSection)
- Overrides:
diskSection
in classBaseEnvelope.Builder<VirtualSystem,Envelope>
- See Also:
BaseEnvelope.getDiskSections()
-
diskSections
public Envelope.Builder diskSections(Iterable<? extends DiskSection> diskSections)
- Overrides:
diskSections
in classBaseEnvelope.Builder<VirtualSystem,Envelope>
- See Also:
BaseEnvelope.getDiskSections()
-
fromEnvelope
public Envelope.Builder fromEnvelope(BaseEnvelope<VirtualSystem,Envelope> in)
- Overrides:
fromEnvelope
in classBaseEnvelope.Builder<VirtualSystem,Envelope>
-
networkSection
public Envelope.Builder networkSection(NetworkSection networkSection)
- Overrides:
networkSection
in classBaseEnvelope.Builder<VirtualSystem,Envelope>
- See Also:
BaseEnvelope.getNetworkSections()
-
networkSections
public Envelope.Builder networkSections(Iterable<? extends NetworkSection> networkSections)
- Overrides:
networkSections
in classBaseEnvelope.Builder<VirtualSystem,Envelope>
- See Also:
BaseEnvelope.getNetworkSections()
-
virtualSystem
public Envelope.Builder virtualSystem(VirtualSystem virtualSystem)
- Overrides:
virtualSystem
in classBaseEnvelope.Builder<VirtualSystem,Envelope>
- See Also:
BaseEnvelope.getVirtualSystem()
-
-