All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openstack4j.model.heat.builder.TemplateBuilder Maven / Gradle / Ivy

package org.openstack4j.model.heat.builder;

import org.openstack4j.common.Buildable;
import org.openstack4j.model.heat.Template;


/**
 * This interface describes a builder for {@link Template} objects 
 * @author Matthias Reisser
 *
 */
public interface TemplateBuilder extends Buildable.Builder{
	
	/**
	 * Sets the template in JSON format. This value takes precedence over the template URL if both are supplied.
	 * 
	 * @param template template in JSON format
	 * @return modified TemplateBuilder
	 */
	TemplateBuilder templateJson(String template);
	
	
	/**
	 * The URL of the template to instantiate. This value is ignored if the template is supplied inline
	 * 
	 * @param templateURL the template URL
	 * @return TemplateBuilder
	 */
	TemplateBuilder templateURL(String templateURL);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy