Package org.jclouds.glesys.domain
Class OSTemplate.Builder<T extends OSTemplate.Builder<T>>
- java.lang.Object
-
- org.jclouds.glesys.domain.OSTemplate.Builder<T>
-
- Enclosing class:
- OSTemplate
public abstract static class OSTemplate.Builder<T extends OSTemplate.Builder<T>> extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected int
minDiskSize
protected int
minMemSize
protected String
name
protected String
os
protected String
platform
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description OSTemplate
build()
T
fromOSTemplate(OSTemplate in)
T
minDiskSize(int minDiskSize)
T
minMemSize(int minMemSize)
T
name(String name)
T
os(String os)
T
platform(String platform)
protected abstract T
self()
-
-
-
Method Detail
-
self
protected abstract T self()
-
name
public T name(String name)
- See Also:
OSTemplate.getName()
-
minDiskSize
public T minDiskSize(int minDiskSize)
- See Also:
OSTemplate.getMinDiskSize()
-
minMemSize
public T minMemSize(int minMemSize)
- See Also:
OSTemplate.getMinMemSize()
-
os
public T os(String os)
- See Also:
OSTemplate.getOs()
-
platform
public T platform(String platform)
- See Also:
OSTemplate.getPlatform()
-
build
public OSTemplate build()
-
fromOSTemplate
public T fromOSTemplate(OSTemplate in)
-
-