Class HeatStackUpdate.HeatStackUpdateConcreteBuilder
- java.lang.Object
-
- org.openstack4j.openstack.heat.domain.HeatStackUpdate.HeatStackUpdateConcreteBuilder
-
- All Implemented Interfaces:
Buildable.Builder<StackUpdateBuilder,StackUpdate>
,StackUpdateBuilder
- Enclosing class:
- HeatStackUpdate
public static class HeatStackUpdate.HeatStackUpdateConcreteBuilder extends Object implements StackUpdateBuilder
-
-
Constructor Summary
Constructors Constructor Description HeatStackUpdateConcreteBuilder()
HeatStackUpdateConcreteBuilder(HeatStackUpdate model)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StackUpdate
build()
Creates and return the Model Entity MStackUpdateBuilder
environment(String environment)
StackUpdateBuilder
environmentFromFile(String envFile)
StackUpdateBuilder
files(Map<String,String> files)
StackUpdateBuilder
from(StackUpdate in)
Creates a Builder using the param M as the default valuesStackUpdateBuilder
parameters(Map<String,String> parameters)
Sets the parameters which are passed to the server.StackUpdateBuilder
tags(String tags)
Set the tags for the stack, separated by a comma.StackUpdateBuilder
template(String template)
Sets the template in YAML/JSON format.StackUpdateBuilder
templateFromFile(String tplFile)
StackUpdateBuilder
templateURL(String templateURL)
Sets the template URLStackUpdateBuilder
timeoutMins(Long timeoutMins)
Sets the stack creation timeout in minutes
-
-
-
Constructor Detail
-
HeatStackUpdateConcreteBuilder
public HeatStackUpdateConcreteBuilder()
-
HeatStackUpdateConcreteBuilder
public HeatStackUpdateConcreteBuilder(HeatStackUpdate model)
-
-
Method Detail
-
build
public StackUpdate build()
Description copied from interface:Buildable.Builder
Creates and return the Model Entity M- Specified by:
build
in interfaceBuildable.Builder<StackUpdateBuilder,StackUpdate>
- Returns:
- M instance
-
from
public StackUpdateBuilder from(StackUpdate in)
Description copied from interface:Buildable.Builder
Creates a Builder using the param M as the default values- Specified by:
from
in interfaceBuildable.Builder<StackUpdateBuilder,StackUpdate>
- Returns:
- Builder
-
template
public StackUpdateBuilder template(String template)
Description copied from interface:StackUpdateBuilder
Sets the template in YAML/JSON format. If the template begins with a "{" then JSON is assumed- Specified by:
template
in interfaceStackUpdateBuilder
- Parameters:
template
- the template- Returns:
- StackUpdateBuilder
-
templateFromFile
public StackUpdateBuilder templateFromFile(String tplFile)
- Specified by:
templateFromFile
in interfaceStackUpdateBuilder
-
templateURL
public StackUpdateBuilder templateURL(String templateURL)
Description copied from interface:StackUpdateBuilder
Sets the template URL- Specified by:
templateURL
in interfaceStackUpdateBuilder
- Parameters:
templateURL
- the template URL- Returns:
- StackUpdateBuilder
-
parameters
public StackUpdateBuilder parameters(Map<String,String> parameters)
Description copied from interface:StackUpdateBuilder
Sets the parameters which are passed to the server. It might contain Information about flavor, image, etc.- Specified by:
parameters
in interfaceStackUpdateBuilder
- Parameters:
parameters
- Map of parameters. Key is name, value is the value of the parameters- Returns:
- the modified StackUpdateBuilder
-
timeoutMins
public StackUpdateBuilder timeoutMins(Long timeoutMins)
Description copied from interface:StackUpdateBuilder
Sets the stack creation timeout in minutes- Specified by:
timeoutMins
in interfaceStackUpdateBuilder
- Parameters:
timeoutMins
- timeout in minutes- Returns:
- the modified StackUpdateBuilder
-
environment
public StackUpdateBuilder environment(String environment)
- Specified by:
environment
in interfaceStackUpdateBuilder
-
environmentFromFile
public StackUpdateBuilder environmentFromFile(String envFile)
- Specified by:
environmentFromFile
in interfaceStackUpdateBuilder
-
files
public StackUpdateBuilder files(Map<String,String> files)
- Specified by:
files
in interfaceStackUpdateBuilder
-
tags
public StackUpdateBuilder tags(String tags)
Description copied from interface:StackUpdateBuilder
Set the tags for the stack, separated by a comma.- Specified by:
tags
in interfaceStackUpdateBuilder
- Returns:
- StackUpdateBuilder
-
-