org.jclouds.savvis.vpdc.domain
Class VM
java.lang.Object
org.jclouds.ovf.Section<T>
org.jclouds.ovf.internal.BaseVirtualSystem<VM>
org.jclouds.savvis.vpdc.domain.VM
- All Implemented Interfaces:
- Comparable<Resource>, Resource
public class VM
- extends BaseVirtualSystem<VM>
- implements Resource
A virtual application (vApp) is a software solution, packaged in OVF containing one or more
virtual machines. A vApp can be authored by Developers at ISVs and VARs or by IT Administrators
in Enterprises and Service Providers.
- Author:
- Adrian Cole
Nested Class Summary |
static class |
VM.Builder
|
static class |
VM.Status
Objects such as vAppTemplate, vApp, and Vm have a status attribute whose value indicates the
state of the object. |
Fields inherited from class org.jclouds.ovf.Section |
info |
Constructor Summary |
VM(String id,
String info,
String name,
OperatingSystemSection operatingSystem,
Iterable<? extends VirtualHardwareSection> virtualHardwareSections,
Iterable<? extends ProductSection> productSections,
com.google.common.collect.Multimap<String,Section> additionalSections,
String type,
URI href,
VM.Status status,
NetworkSection networkSection,
Iterable<NetworkConfigSection> networkConfigSections,
Iterable<NetworkConnectionSection> networkConnectionSections)
|
type
protected final String type
href
protected final URI href
status
protected final VM.Status status
networkSection
protected final NetworkSection networkSection
networkConfigSections
protected final Set<NetworkConfigSection> networkConfigSections
networkConnectionSections
protected final Set<NetworkConnectionSection> networkConnectionSections
VM
public VM(String id,
String info,
String name,
OperatingSystemSection operatingSystem,
Iterable<? extends VirtualHardwareSection> virtualHardwareSections,
Iterable<? extends ProductSection> productSections,
com.google.common.collect.Multimap<String,Section> additionalSections,
String type,
URI href,
VM.Status status,
NetworkSection networkSection,
Iterable<NetworkConfigSection> networkConfigSections,
Iterable<NetworkConnectionSection> networkConnectionSections)
builder
public static VM.Builder builder()
getStatus
public VM.Status getStatus()
getNetworkSection
public NetworkSection getNetworkSection()
getNetworkConfigSections
public Set<NetworkConfigSection> getNetworkConfigSections()
getNetworkConnectionSections
public Set<NetworkConnectionSection> getNetworkConnectionSections()
getType
public String getType()
- Specified by:
getType
in interface Resource
getHref
public URI getHref()
- Specified by:
getHref
in interface Resource
toString
public String toString()
- Overrides:
toString
in class BaseVirtualSystem<VM>
compareTo
public int compareTo(Resource that)
- Specified by:
compareTo
in interface Comparable<Resource>
- Specified by:
compareTo
in interface Resource
toBuilder
public VM.Builder toBuilder()
- Description copied from class:
BaseVirtualSystem
-
- Overrides:
toBuilder
in class BaseVirtualSystem<VM>
Copyright © 2009-2012 jclouds. All Rights Reserved.