public class VM extends BaseVirtualSystem<VM> implements Resource
Modifier and Type | Class and Description |
---|---|
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.
|
Modifier and Type | Field and Description |
---|---|
protected URI |
href |
protected Set<NetworkConfigSection> |
networkConfigSections |
protected Set<NetworkConnectionSection> |
networkConnectionSections |
protected NetworkSection |
networkSection |
protected VM.Status |
status |
protected String |
type |
additionalSections, id, name, operatingSystem, productSections, virtualHardwareSections
Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
static VM.Builder |
builder() |
int |
compareTo(Resource that) |
URI |
getHref() |
Set<NetworkConfigSection> |
getNetworkConfigSections() |
Set<NetworkConnectionSection> |
getNetworkConnectionSections() |
NetworkSection |
getNetworkSection() |
VM.Status |
getStatus() |
String |
getType() |
VM.Builder |
toBuilder() |
String |
toString() |
equals, getAdditionalSections, getId, getName, getOperatingSystemSection, getProductSections, getVirtualHardwareSections, hashCode
protected final String type
protected final URI href
protected final VM.Status status
protected final NetworkSection networkSection
protected final Set<NetworkConfigSection> networkConfigSections
protected final Set<NetworkConnectionSection> networkConnectionSections
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)
public static VM.Builder builder()
public VM.Status getStatus()
public NetworkSection getNetworkSection()
public Set<NetworkConfigSection> getNetworkConfigSections()
public Set<NetworkConnectionSection> getNetworkConnectionSections()
public String toString()
toString
in class BaseVirtualSystem<VM>
public int compareTo(Resource that)
compareTo
in interface Comparable<Resource>
compareTo
in interface Resource
public VM.Builder toBuilder()
BaseVirtualSystem
toBuilder
in class BaseVirtualSystem<VM>
Copyright © 2009-2013 jclouds. All Rights Reserved.