org.jclouds.ovf
Class OperatingSystemSection

java.lang.Object
  extended by org.jclouds.ovf.Section<OperatingSystemSection>
      extended by org.jclouds.ovf.OperatingSystemSection
Direct Known Subclasses:
VCloudOperatingSystemSection

public class OperatingSystemSection
extends Section<OperatingSystemSection>

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

Author:
Adrian Cole

Nested Class Summary
static class OperatingSystemSection.Builder
           
 
Field Summary
protected  String description
           
protected  Integer id
           
 
Fields inherited from class org.jclouds.ovf.Section
info
 
Constructor Summary
OperatingSystemSection(Integer id, String info, String description)
           
 
Method Summary
static OperatingSystemSection.Builder builder()
           
 boolean equals(Object obj)
           
 String getDescription()
           
 Integer getId()
           
 int hashCode()
           
 OperatingSystemSection.Builder toBuilder()
          
 String toString()
           
 
Methods inherited from class org.jclouds.ovf.Section
getInfo
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

id

protected final Integer id

description

protected final String description
Constructor Detail

OperatingSystemSection

public OperatingSystemSection(@Nullable
                              Integer id,
                              @Nullable
                              String info,
                              @Nullable
                              String description)
Method Detail

builder

public static OperatingSystemSection.Builder builder()

toBuilder

public OperatingSystemSection.Builder toBuilder()

Overrides:
toBuilder in class Section<OperatingSystemSection>

getId

public Integer getId()
Returns:
ovf id
See Also:
OSType.getCode()

getDescription

public String getDescription()
Returns:
description or null

hashCode

public int hashCode()
Overrides:
hashCode in class Section<OperatingSystemSection>

equals

public boolean equals(Object obj)
Overrides:
equals in class Section<OperatingSystemSection>

toString

public String toString()
Overrides:
toString in class Section<OperatingSystemSection>


Copyright © 2009-2012 jclouds. All Rights Reserved.