Interface StackUpdateBuilder
-
- All Superinterfaces:
Buildable.Builder<StackUpdateBuilder,StackUpdate>
- All Known Implementing Classes:
HeatStackUpdate.HeatStackUpdateConcreteBuilder
public interface StackUpdateBuilder extends Buildable.Builder<StackUpdateBuilder,StackUpdate>
A builder which creates a StackUpdate entity- Author:
- Jeremy Unruh
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StackUpdateBuilderenvironment(String environment)StackUpdateBuilderenvironmentFromFile(String envFile)StackUpdateBuilderfiles(Map<String,String> files)StackUpdateBuilderparameters(Map<String,String> parameters)Sets the parameters which are passed to the server.StackUpdateBuildertags(String tags)Set the tags for the stack, separated by a comma.StackUpdateBuildertemplate(String template)Sets the template in YAML/JSON format.StackUpdateBuildertemplateFromFile(String tplFile)StackUpdateBuildertemplateURL(String templateURL)Sets the template URLStackUpdateBuildertimeoutMins(Long timeoutMins)Sets the stack creation timeout in minutes-
Methods inherited from interface org.openstack4j.common.Buildable.Builder
build, from
-
-
-
-
Method Detail
-
template
StackUpdateBuilder template(String template)
Sets the template in YAML/JSON format. If the template begins with a "{" then JSON is assumed- Parameters:
template- the template- Returns:
- StackUpdateBuilder
-
templateURL
StackUpdateBuilder templateURL(String templateURL)
Sets the template URL- Parameters:
templateURL- the template URL- Returns:
- StackUpdateBuilder
-
parameters
StackUpdateBuilder parameters(Map<String,String> parameters)
Sets the parameters which are passed to the server. It might contain Information about flavor, image, etc.- Parameters:
parameters- Map of parameters. Key is name, value is the value of the parameters- Returns:
- the modified StackUpdateBuilder
-
timeoutMins
StackUpdateBuilder timeoutMins(Long timeoutMins)
Sets the stack creation timeout in minutes- Parameters:
timeoutMins- timeout in minutes- Returns:
- the modified StackUpdateBuilder
-
environment
StackUpdateBuilder environment(String environment)
-
environmentFromFile
StackUpdateBuilder environmentFromFile(String envFile)
-
templateFromFile
StackUpdateBuilder templateFromFile(String tplFile)
-
files
StackUpdateBuilder files(Map<String,String> files)
-
tags
StackUpdateBuilder tags(String tags)
Set the tags for the stack, separated by a comma.- Returns:
- StackUpdateBuilder
-
-