org.jclouds.softlayer.domain
Class OperatingSystem

java.lang.Object
  extended by org.jclouds.softlayer.domain.OperatingSystem
All Implemented Interfaces:
Comparable<OperatingSystem>

public class OperatingSystem
extends Object
implements Comparable<OperatingSystem>

Extends the SoftLayer_Software_Component data type to include operating system specific properties.

Author:
Jason King
See Also:

Nested Class Summary
static class OperatingSystem.Builder
           
 
Constructor Summary
OperatingSystem(int id, Iterable<Password> passwords)
           
 
Method Summary
static OperatingSystem.Builder builder()
           
 int compareTo(OperatingSystem arg0)
           
 boolean equals(Object obj)
           
 int getId()
           
 Set<Password> getPasswords()
           
 int hashCode()
           
 OperatingSystem.Builder toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OperatingSystem

public OperatingSystem(int id,
                       Iterable<Password> passwords)
Method Detail

builder

public static OperatingSystem.Builder builder()

compareTo

public int compareTo(OperatingSystem arg0)
Specified by:
compareTo in interface Comparable<OperatingSystem>

getId

public int getId()
Returns:
An ID number identifying this Software Component (Software Installation)

getPasswords

public Set<Password> getPasswords()
Returns:
Username/Password pairs used for access to this Software Installation.

toBuilder

public OperatingSystem.Builder toBuilder()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2011 jclouds. All Rights Reserved.