org.jclouds.softlayer.domain
Class OperatingSystem

java.lang.Object
  extended by org.jclouds.softlayer.domain.OperatingSystem

public class OperatingSystem
extends Object

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

See Also:

Nested Class Summary
static class OperatingSystem.Builder
           
 
Constructor Summary
protected OperatingSystem(String id, SoftwareLicense softwareLicense, String operatingSystemReferenceCode, Set<Password> passwords)
           
 
Method Summary
static OperatingSystem.Builder builder()
           
 boolean equals(Object o)
           
 String getId()
           
 String getOperatingSystemReferenceCode()
           
 Set<Password> getPasswords()
           
 SoftwareLicense getSoftwareLicense()
           
 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

@ConstructorProperties(value={"id","softwareLicense","operatingSystemReferenceCode","passwords"})
protected OperatingSystem(String id,
                                                     @Nullable
                                                     SoftwareLicense softwareLicense,
                                                     @Nullable
                                                     String operatingSystemReferenceCode,
                                                     @Nullable
                                                     Set<Password> passwords)
Method Detail

builder

public static OperatingSystem.Builder builder()

toBuilder

public OperatingSystem.Builder toBuilder()

getId

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

getSoftwareLicense

public SoftwareLicense getSoftwareLicense()

getOperatingSystemReferenceCode

public String getOperatingSystemReferenceCode()

getPasswords

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

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.