Package org.jclouds.glesys.domain
Class OSTemplate
java.lang.Object
org.jclouds.glesys.domain.OSTemplate
Operating system template
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
OSTemplate.Builder<T extends OSTemplate.Builder<T>>
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
OSTemplate
(String name, int minDiskSize, int minMemSize, String os, String platform) -
Method Summary
-
Constructor Details
-
OSTemplate
@ConstructorProperties({"name","minimumdisksize","minimummemorysize","operatingsystem","platform"}) protected OSTemplate(String name, int minDiskSize, int minMemSize, String os, String platform)
-
-
Method Details
-
builder
-
toBuilder
-
getName
-
getMinDiskSize
public int getMinDiskSize()- Returns:
- the minimum allowed disk size in GB
- See Also:
-
getMinMemSize
public int getMinMemSize()- Returns:
- the minimum allowed memory size in MB
- See Also:
-
getOs
- Returns:
- the name of the operating system type ex. "linux"
-
getPlatform
- Returns:
- the name of the platform this template is available in, ex. "Xen"
-
hashCode
public int hashCode() -
equals
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string() -
toString
-