org.jclouds.cloudstack.domain
Class OSType

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

public class OSType
extends Object
implements Comparable<OSType>

Class OSType

Author:
Adrian Cole

Nested Class Summary
static class OSType.Builder<T extends OSType.Builder<T>>
           
 
Constructor Summary
protected OSType(String id, String OSCategoryId, String description)
           
 
Method Summary
static OSType.Builder<?> builder()
           
 int compareTo(OSType o)
           
 boolean equals(Object obj)
           
 String getDescription()
           
 String getId()
           
 String getOSCategoryId()
           
 int hashCode()
           
protected  com.google.common.base.Objects.ToStringHelper string()
           
 OSType.Builder<?> toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OSType

@ConstructorProperties(value={"id","oscategoryid","description"})
protected OSType(String id,
                                            @Nullable
                                            String OSCategoryId,
                                            @Nullable
                                            String description)
Method Detail

builder

public static OSType.Builder<?> builder()

toBuilder

public OSType.Builder<?> toBuilder()

getId

public String getId()
Returns:
the ID of the OS type

getOSCategoryId

@Nullable
public String getOSCategoryId()
Returns:
the ID of the OS category

getDescription

@Nullable
public String getDescription()
Returns:
the name/description of the OS type

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

string

protected com.google.common.base.Objects.ToStringHelper string()

toString

public String toString()
Overrides:
toString in class Object

compareTo

public int compareTo(OSType o)
Specified by:
compareTo in interface Comparable<OSType>


Copyright © 2009-2013 jclouds. All Rights Reserved.