Interface TemplateBuilder
-
- All Superinterfaces:
Buildable.Builder<TemplateBuilder,Template>
- All Known Implementing Classes:
HeatTemplate.HeatTemplateConcreteBuilder
public interface TemplateBuilder extends Buildable.Builder<TemplateBuilder,Template>
This interface describes a builder forTemplateobjects- Author:
- Matthias Reisser
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TemplateBuildertemplateJson(String template)Sets the template in JSON format.TemplateBuildertemplateURL(String templateURL)The URL of the template to instantiate.-
Methods inherited from interface org.openstack4j.common.Buildable.Builder
build, from
-
-
-
-
Method Detail
-
templateJson
TemplateBuilder templateJson(String template)
Sets the template in JSON format. This value takes precedence over the template URL if both are supplied.- Parameters:
template- template in JSON format- Returns:
- modified TemplateBuilder
-
templateURL
TemplateBuilder templateURL(String templateURL)
The URL of the template to instantiate. This value is ignored if the template is supplied inline- Parameters:
templateURL- the template URL- Returns:
- TemplateBuilder
-
-