Interface StackCreateBuilder
-
- All Superinterfaces:
Buildable.Builder<StackCreateBuilder,StackCreate>
- All Known Implementing Classes:
HeatStackCreate.HeatStackCreateConcreteBuilder
public interface StackCreateBuilder extends Buildable.Builder<StackCreateBuilder,StackCreate>
This interface describes a builder forStackCreateobjects- Author:
- Matthias Reisser
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StackCreateBuilderdisableRollback(boolean disableRollback)sets the boolean for whether or not rollback is enabled or notStackCreateBuilderenvironment(String environment)Sets the environment in YAML/JSON format.StackCreateBuilderenvironmentFromFile(String envFile)Sets the environment in YAML/JSON format.StackCreateBuilderfiles(Map<String,String> files)Sets the files parameterStackCreateBuildername(String name)StackCreateBuilderparameters(Map<String,String> parameters)Sets the parameters which are passed to the server.StackCreateBuildertags(String tags)Set the tags for the stack, separated by a comma.StackCreateBuildertemplate(String template)Sets the template in YAML/JSON format.StackCreateBuildertemplateFromFile(String tplFile)Sets the template in YAML/JSON format.StackCreateBuildertemplateURL(String templateURL)Sets the template URLStackCreateBuildertimeoutMins(Long timeoutMins)Sets the stack creation timeout in minutes-
Methods inherited from interface org.openstack4j.common.Buildable.Builder
build, from
-
-
-
-
Method Detail
-
name
StackCreateBuilder name(String name)
-
template
StackCreateBuilder 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:
- StackCreateBuilder
-
templateURL
StackCreateBuilder templateURL(String templateURL)
Sets the template URL- Parameters:
templateURL- the template URL- Returns:
- StackCreateBuilder
-
parameters
StackCreateBuilder 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 StackCreateBuilder
-
timeoutMins
StackCreateBuilder timeoutMins(Long timeoutMins)
Sets the stack creation timeout in minutes- Parameters:
timeoutMins- timeout in minutes- Returns:
- the modified StackCreateBuilder
-
disableRollback
StackCreateBuilder disableRollback(boolean disableRollback)
sets the boolean for whether or not rollback is enabled or not- Parameters:
disableRollback- boolean value for disabling rollback- Returns:
- the modified StackCreateBuilder
-
environment
StackCreateBuilder environment(String environment)
Sets the environment in YAML/JSON format.- Parameters:
environment- the environment- Returns:
- StackCreateBuilder
-
environmentFromFile
StackCreateBuilder environmentFromFile(String envFile)
Sets the environment in YAML/JSON format.- Parameters:
environment- file location- Returns:
- StackCreateBuilder
-
templateFromFile
StackCreateBuilder templateFromFile(String tplFile)
Sets the template in YAML/JSON format.- Parameters:
tplFile- file location- Returns:
- StackCreateBuilder
-
files
StackCreateBuilder files(Map<String,String> files)
Sets the files parameter- Parameters:
files- map- Returns:
- StackCreateBuilder
-
tags
StackCreateBuilder tags(String tags)
Set the tags for the stack, separated by a comma.- Returns:
- StackCreateBuilder
-
-