org.jclouds.glesys.domain
Class OSTemplate
java.lang.Object
org.jclouds.glesys.domain.OSTemplate
- All Implemented Interfaces:
- Comparable<OSTemplate>
public class OSTemplate
- extends Object
- implements Comparable<OSTemplate>
Operating system template
- Author:
- Adam Lowe
- See Also:
OSTemplate
public OSTemplate(String name,
int minDiskSize,
int minMemSize,
String os,
String platform)
builder
public static OSTemplate.Builder builder()
getName
public String getName()
getMinDiskSize
public int getMinDiskSize()
- Returns:
- the minimum allowed disk size in GB
- See Also:
AllowedArgumentsForCreateServer.getDiskSizesInGB()
getMinMemSize
public int getMinMemSize()
- Returns:
- the minimum allowed memory size in MB
- See Also:
AllowedArgumentsForCreateServer.getMemorySizesInMB()
getOs
public String getOs()
- Returns:
- the name of the operating system type ex. "linux"
getPlatform
public String getPlatform()
- Returns:
- the name of the platform this template is available in, ex. "Xen"
equals
public boolean equals(Object object)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
compareTo
public int compareTo(OSTemplate arg0)
- Specified by:
compareTo
in interface Comparable<OSTemplate>
Copyright © 2009-2012 jclouds. All Rights Reserved.