public static class HeatStackCreate.HeatStackCreateConcreteBuilder extends Object implements StackCreateBuilder
build()
to receive the
StackCreate
object.Constructor and Description |
---|
HeatStackCreateConcreteBuilder()
Constructor to create a
HeatStackCreate.HeatStackCreateConcreteBuilder object
with a new, empty HeatStackCreate object. |
HeatStackCreateConcreteBuilder(HeatStackCreate model)
Constructor for manipulation of an existing
HeatStackCreate
object. |
Modifier and Type | Method and Description |
---|---|
StackCreate |
build()
Creates and return the Model Entity M
|
StackCreateBuilder |
disableRollback(boolean disableRollback)
sets the boolean for whether or not rollback is enabled or not
|
StackCreateBuilder |
environment(String environment)
Sets the environment in YAML/JSON format.
|
StackCreateBuilder |
environmentFromFile(String envFile)
Sets the environment in YAML/JSON format.
|
StackCreateBuilder |
files(Map<String,String> files)
Sets the files parameter
|
StackCreateBuilder |
from(StackCreate in)
Creates a Builder using the param M as the default values
|
StackCreateBuilder |
name(String name) |
StackCreateBuilder |
parameters(Map<String,String> parameters)
Sets the parameters which are passed to the server.
|
StackCreateBuilder |
tags(String tags)
Set the tags for the stack, separated by a comma.
|
StackCreateBuilder |
template(String template)
Sets the template in YAML/JSON format.
|
StackCreateBuilder |
templateFromFile(String tplFile)
Sets the template in YAML/JSON format.
|
StackCreateBuilder |
templateURL(String templateURL)
Sets the template URL
|
StackCreateBuilder |
timeoutMins(Long timeoutMins)
Sets the stack creation timeout in minutes
|
public HeatStackCreateConcreteBuilder()
HeatStackCreate.HeatStackCreateConcreteBuilder
object
with a new, empty HeatStackCreate
object.public HeatStackCreateConcreteBuilder(HeatStackCreate model)
HeatStackCreate
object.model
- the HeatStackCreate
object which is to be
modified.public StackCreate build()
Buildable.Builder
build
in interface Buildable.Builder<StackCreateBuilder,StackCreate>
public StackCreateBuilder from(StackCreate in)
Buildable.Builder
from
in interface Buildable.Builder<StackCreateBuilder,StackCreate>
public StackCreateBuilder name(String name)
name
in interface StackCreateBuilder
public StackCreateBuilder parameters(Map<String,String> parameters)
StackCreateBuilder
parameters
in interface StackCreateBuilder
parameters
- Map of parameters. Key is name, value is the value of the parameterspublic StackCreateBuilder timeoutMins(Long timeoutMins)
StackCreateBuilder
timeoutMins
in interface StackCreateBuilder
timeoutMins
- timeout in minutespublic StackCreateBuilder disableRollback(boolean disableRollback)
StackCreateBuilder
disableRollback
in interface StackCreateBuilder
disableRollback
- boolean value for disabling rollbackpublic StackCreateBuilder template(String template)
StackCreateBuilder
template
in interface StackCreateBuilder
template
- the templatepublic StackCreateBuilder templateFromFile(String tplFile)
StackCreateBuilder
templateFromFile
in interface StackCreateBuilder
tplFile
- file locationpublic StackCreateBuilder templateURL(String templateURL)
StackCreateBuilder
templateURL
in interface StackCreateBuilder
templateURL
- the template URLpublic StackCreateBuilder environment(String environment)
StackCreateBuilder
environment
in interface StackCreateBuilder
environment
- the environmentpublic StackCreateBuilder environmentFromFile(String envFile)
StackCreateBuilder
environmentFromFile
in interface StackCreateBuilder
public StackCreateBuilder files(Map<String,String> files)
StackCreateBuilder
files
in interface StackCreateBuilder
files
- mappublic StackCreateBuilder tags(String tags)
StackCreateBuilder
tags
in interface StackCreateBuilder
Copyright © 2017. All rights reserved.