public abstract static class OSTemplate.Builder<T extends OSTemplate.Builder<T>> extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
minDiskSize |
protected int |
minMemSize |
protected String |
name |
protected String |
os |
protected String |
platform |
Constructor and Description |
---|
OSTemplate.Builder() |
Modifier and Type | Method and 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() |
protected String name
protected int minDiskSize
protected int minMemSize
protected String os
protected String platform
protected abstract T self()
public T name(String name)
OSTemplate.getName()
public T minDiskSize(int minDiskSize)
OSTemplate.getMinDiskSize()
public T minMemSize(int minMemSize)
OSTemplate.getMinMemSize()
public T os(String os)
OSTemplate.getOs()
public T platform(String platform)
OSTemplate.getPlatform()
public OSTemplate build()
public T fromOSTemplate(OSTemplate in)
Copyright © 2009-2013 jclouds. All Rights Reserved.