public static class HeatStackUpdate.HeatStackUpdateConcreteBuilder extends Object implements StackUpdateBuilder
Constructor and Description |
---|
HeatStackUpdateConcreteBuilder() |
HeatStackUpdateConcreteBuilder(HeatStackUpdate model) |
Modifier and Type | Method and Description |
---|---|
StackUpdate |
build()
Creates and return the Model Entity M
|
StackUpdateBuilder |
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 values
|
StackUpdateBuilder |
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 URL
|
StackUpdateBuilder |
timeoutMins(Long timeoutMins)
Sets the stack creation timeout in minutes
|
public HeatStackUpdateConcreteBuilder()
public HeatStackUpdateConcreteBuilder(HeatStackUpdate model)
public StackUpdate build()
Buildable.Builder
build
in interface Buildable.Builder<StackUpdateBuilder,StackUpdate>
public StackUpdateBuilder from(StackUpdate in)
Buildable.Builder
from
in interface Buildable.Builder<StackUpdateBuilder,StackUpdate>
public StackUpdateBuilder template(String template)
StackUpdateBuilder
template
in interface StackUpdateBuilder
template
- the templatepublic StackUpdateBuilder templateFromFile(String tplFile)
templateFromFile
in interface StackUpdateBuilder
public StackUpdateBuilder templateURL(String templateURL)
StackUpdateBuilder
templateURL
in interface StackUpdateBuilder
templateURL
- the template URLpublic StackUpdateBuilder parameters(Map<String,String> parameters)
StackUpdateBuilder
parameters
in interface StackUpdateBuilder
parameters
- Map of parameters. Key is name, value is the value of the parameterspublic StackUpdateBuilder timeoutMins(Long timeoutMins)
StackUpdateBuilder
timeoutMins
in interface StackUpdateBuilder
timeoutMins
- timeout in minutespublic StackUpdateBuilder environment(String environment)
environment
in interface StackUpdateBuilder
public StackUpdateBuilder environmentFromFile(String envFile)
environmentFromFile
in interface StackUpdateBuilder
public StackUpdateBuilder files(Map<String,String> files)
files
in interface StackUpdateBuilder
public StackUpdateBuilder tags(String tags)
StackUpdateBuilder
tags
in interface StackUpdateBuilder
Copyright © 2017. All rights reserved.