org.jclouds.ovf.internal
Class BaseVirtualSystem<T extends BaseVirtualSystem<T>>
java.lang.Object
org.jclouds.ovf.Section<T>
org.jclouds.ovf.internal.BaseVirtualSystem<T>
- Direct Known Subclasses:
- VirtualSystem, VM
public class BaseVirtualSystem<T extends BaseVirtualSystem<T>>
- extends Section<T>
- Author:
- Adrian Cole
Fields inherited from class org.jclouds.ovf.Section |
info |
id
protected final String id
name
protected final String name
operatingSystem
protected final OperatingSystemSection operatingSystem
virtualHardwareSections
protected final Set<VirtualHardwareSection> virtualHardwareSections
productSections
protected final Set<ProductSection> productSections
additionalSections
protected final com.google.common.collect.Multimap<String,Section> additionalSections
BaseVirtualSystem
public BaseVirtualSystem(String id,
String info,
String name,
OperatingSystemSection operatingSystem,
Iterable<? extends VirtualHardwareSection> virtualHardwareSections,
Iterable<? extends ProductSection> productSections,
com.google.common.collect.Multimap<String,Section> additionalSections)
builder
public static BaseVirtualSystem.Builder builder()
toBuilder
public BaseVirtualSystem.Builder<T> toBuilder()
-
- Overrides:
toBuilder
in class Section<T extends BaseVirtualSystem<T>>
getId
public String getId()
getName
public String getName()
getOperatingSystemSection
public OperatingSystemSection getOperatingSystemSection()
getVirtualHardwareSections
public Set<? extends VirtualHardwareSection> getVirtualHardwareSections()
- Each VirtualSystem element may contain one or more VirtualHardwareSection elements, each of
which describes the virtual virtualHardwareSections required by the virtual system.
getProductSections
public Set<? extends ProductSection> getProductSections()
- Specifies product-information for a package, such as product name and version, along with a
set of properties that can be configured
getAdditionalSections
public com.google.common.collect.Multimap<String,Section> getAdditionalSections()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Section<T extends BaseVirtualSystem<T>>
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Section<T extends BaseVirtualSystem<T>>
toString
public String toString()
- Overrides:
toString
in class Section<T extends BaseVirtualSystem<T>>
Copyright © 2009-2011 jclouds. All Rights Reserved.