Package org.jclouds.glesys.domain
Class OSTemplate
- java.lang.Object
-
- org.jclouds.glesys.domain.OSTemplate
-
public class OSTemplate extends Object
Operating system template
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OSTemplate.Builder<T extends OSTemplate.Builder<T>>
-
Constructor Summary
Constructors Modifier Constructor Description protected
OSTemplate(String name, int minDiskSize, int minMemSize, String os, String platform)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OSTemplate.Builder<?>
builder()
boolean
equals(Object obj)
int
getMinDiskSize()
int
getMinMemSize()
String
getName()
String
getOs()
String
getPlatform()
int
hashCode()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
OSTemplate.Builder<?>
toBuilder()
String
toString()
-
-
-
Constructor Detail
-
OSTemplate
@ConstructorProperties({"name","minimumdisksize","minimummemorysize","operatingsystem","platform"}) protected OSTemplate(String name, int minDiskSize, int minMemSize, String os, String platform)
-
-
Method Detail
-
builder
public static OSTemplate.Builder<?> builder()
-
toBuilder
public OSTemplate.Builder<?> toBuilder()
-
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"
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
-