public class ToTemplate {
public static Template apply(CreateJCloudsContainerOptions options) {
ComputeService service = options.getComputeService();
TemplateOptions templateOptions = service.templateOptions();
TemplateBuilder builder = service.templateBuilder().any();
applyInstanceType(builder, options);
applyImageType(builder, options);
applyLocation(builder, options);
applyProviderSpecificOptions(templateOptions, options);