org.jclouds.glesys.domain
Class OSTemplate
java.lang.Object
org.jclouds.glesys.domain.OSTemplate
public class OSTemplate
- extends Object
Operating system template
- Author:
- Adam Lowe
- See Also:
OSTemplate
@ConstructorProperties(value={"name","minimumdisksize","minimummemorysize","operatingsystem","platform"})
protected OSTemplate(String name,
int minDiskSize,
int minMemSize,
String os,
String platform)
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"
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
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.