Interface SoftwareConfigBuilder
-
- All Superinterfaces:
Buildable.Builder<SoftwareConfigBuilder,SoftwareConfig>
- All Known Implementing Classes:
HeatSoftwareConfig.Builder
public interface SoftwareConfigBuilder extends Buildable.Builder<SoftwareConfigBuilder,SoftwareConfig>
A builder which produces a SoftwareConfig object- Author:
- Jeremy Unruh
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SoftwareConfigBuilderconfig(String config)Configuration script or manifest that defines which configuration is performedSoftwareConfigBuildergroup(String group)Namespace that groups this software configuration by when it is delivered to a server.SoftwareConfigBuilderinput(String name)Adds an input that this software configuration expectsSoftwareConfigBuilderinput(String name, String type)Adds an input that this software configuration expectsSoftwareConfigBuilderinput(String name, String type, String description, String defaultValue)Adds an input that this software configuration expectsSoftwareConfigBuildername(String name)The name of this configurationSoftwareConfigBuilderoptions(Map<String,Object> options)Adds a map containing options specific to the configuration management tool used by this resourceSoftwareConfigBuilderoutput(String name)Adds an output this software configuration producesSoftwareConfigBuilderoutput(String name, String type)Adds an output this software configuration producesSoftwareConfigBuilderoutput(String name, String type, String description, boolean isErrorOutput)Adds an output this software configuration produces-
Methods inherited from interface org.openstack4j.common.Buildable.Builder
build, from
-
-
-
-
Method Detail
-
name
SoftwareConfigBuilder name(String name)
The name of this configuration- Parameters:
name- the config name- Returns:
- SoftwareConfigBuilder
-
group
SoftwareConfigBuilder group(String group)
Namespace that groups this software configuration by when it is delivered to a server. This setting might imply which configuration tool performs the configuration.- Parameters:
group- the group namespace- Returns:
- SoftwareConfigBuilder
-
input
SoftwareConfigBuilder input(String name)
Adds an input that this software configuration expects- Parameters:
name- the input name- Returns:
- SoftwareConfigBuilder
-
input
SoftwareConfigBuilder input(String name, String type)
Adds an input that this software configuration expects- Parameters:
name- the input nametype- the input type (ex. String)- Returns:
- SoftwareConfigBuilder
-
input
SoftwareConfigBuilder input(String name, String type, String description, String defaultValue)
Adds an input that this software configuration expects- Parameters:
name- the input nametype- the input type (ex. String)description- a description about this inputdefaultValue- the initial value- Returns:
- SoftwareConfigBuilder
-
output
SoftwareConfigBuilder output(String name)
Adds an output this software configuration produces- Parameters:
name- the name of the output- Returns:
- SoftwareConfigBuilder
-
output
SoftwareConfigBuilder output(String name, String type)
Adds an output this software configuration produces- Parameters:
name- the name of the outputtype- the output type (ex. String)- Returns:
- SoftwareConfigBuilder
-
output
SoftwareConfigBuilder output(String name, String type, String description, boolean isErrorOutput)
Adds an output this software configuration produces- Parameters:
name- the name of the outputtype- the output type (ex. String)description- the description of this outputisErrorOutput- true if this is an error related output- Returns:
- SoftwareConfigBuilder
-
options
SoftwareConfigBuilder options(Map<String,Object> options)
Adds a map containing options specific to the configuration management tool used by this resource- Parameters:
options- map of options- Returns:
- SoftwareConfigBuilder
-
config
SoftwareConfigBuilder config(String config)
Configuration script or manifest that defines which configuration is performed- Parameters:
config- the configuration script or manifest to add- Returns:
- SoftwareConfigBuilder
-
-