org.jclouds.cloudstack.domain
Class OSType
java.lang.Object
org.jclouds.cloudstack.domain.OSType
- All Implemented Interfaces:
- Comparable<OSType>
public class OSType
- extends Object
- implements Comparable<OSType>
Class OSType
- Author:
- Adrian Cole
OSType
@ConstructorProperties(value={"id","oscategoryid","description"})
protected OSType(String id,
@Nullable
String OSCategoryId,
@Nullable
String description)
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.