org.jclouds.dmtf.ovf
Class OperatingSystemSection

java.lang.Object
  extended by org.jclouds.dmtf.ovf.SectionType
      extended by org.jclouds.dmtf.ovf.OperatingSystemSection
Direct Known Subclasses:
OperatingSystemSection

public class OperatingSystemSection
extends SectionType

An OperatingSystemSection specifies the operating system installed on a virtual machine.

Author:
Adrian Cole, Adam Lowe

Nested Class Summary
static class OperatingSystemSection.Builder<B extends OperatingSystemSection.Builder<B>>
           
 
Field Summary
protected  String description
           
protected  int id
           
protected  String version
           
 
Constructor Summary
protected OperatingSystemSection()
           
  OperatingSystemSection(OperatingSystemSection.Builder<?> builder)
           
 
Method Summary
static OperatingSystemSection.Builder<?> builder()
           
 boolean equals(Object obj)
           
 String getDescription()
          Gets the description or null
 int getId()
          Gets the OVF id
 String getVersion()
          Gets the version
 int hashCode()
           
protected  com.google.common.base.Objects.ToStringHelper string()
           
 OperatingSystemSection.Builder<?> toBuilder()
           
 
Methods inherited from class org.jclouds.dmtf.ovf.SectionType
getInfo, isRequired, setInfo, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

id

protected int id

version

protected String version

description

protected String description
Constructor Detail

OperatingSystemSection

public OperatingSystemSection(OperatingSystemSection.Builder<?> builder)

OperatingSystemSection

protected OperatingSystemSection()
Method Detail

builder

public static OperatingSystemSection.Builder<?> builder()

toBuilder

public OperatingSystemSection.Builder<?> toBuilder()

getId

public int getId()
Gets the OVF id

See Also:
org.jclouds.vcloud.director.v1_5.domain.cim.OSType#getCode()

getVersion

public String getVersion()
Gets the version


getDescription

public String getDescription()
Gets the description or null


hashCode

public int hashCode()
Overrides:
hashCode in class SectionType

equals

public boolean equals(Object obj)
Overrides:
equals in class SectionType

string

protected com.google.common.base.Objects.ToStringHelper string()
Overrides:
string in class SectionType


Copyright © 2009-2012 jclouds. All Rights Reserved.