public static interface Parameter.Builder extends CopyableBuilder<Parameter.Builder,Parameter>
Modifier and Type | Method and Description |
---|---|
Parameter.Builder |
allowedValues(String allowedValues)
A range of values within which the parameter can be set.
|
Parameter.Builder |
changeType(ChangeType changeType)
The conditions under which changes to this parameter can be applied.
|
Parameter.Builder |
changeType(String changeType)
The conditions under which changes to this parameter can be applied.
|
Parameter.Builder |
dataType(String dataType)
The data type of the parameter.
|
Parameter.Builder |
description(String description)
A description of the parameter
|
Parameter.Builder |
isModifiable(IsModifiable isModifiable)
Whether the customer is allowed to modify the parameter.
|
Parameter.Builder |
isModifiable(String isModifiable)
Whether the customer is allowed to modify the parameter.
|
Parameter.Builder |
nodeTypeSpecificValues(Collection<NodeTypeSpecificValue> nodeTypeSpecificValues)
A list of node types, and specific parameter values for each node.
|
Parameter.Builder |
nodeTypeSpecificValues(Consumer<NodeTypeSpecificValue.Builder>... nodeTypeSpecificValues)
A list of node types, and specific parameter values for each node.
|
Parameter.Builder |
nodeTypeSpecificValues(NodeTypeSpecificValue... nodeTypeSpecificValues)
A list of node types, and specific parameter values for each node.
|
Parameter.Builder |
parameterName(String parameterName)
The name of the parameter.
|
Parameter.Builder |
parameterType(ParameterType parameterType)
Determines whether the parameter can be applied to any nodes, or only nodes of a particular type.
|
Parameter.Builder |
parameterType(String parameterType)
Determines whether the parameter can be applied to any nodes, or only nodes of a particular type.
|
Parameter.Builder |
parameterValue(String parameterValue)
The value for the parameter.
|
Parameter.Builder |
source(String source)
How the parameter is defined.
|
copy
applyMutation, build
Parameter.Builder parameterName(String parameterName)
The name of the parameter.
parameterName
- The name of the parameter.Parameter.Builder parameterType(String parameterType)
Determines whether the parameter can be applied to any nodes, or only nodes of a particular type.
parameterType
- Determines whether the parameter can be applied to any nodes, or only nodes of a particular type.ParameterType
,
ParameterType
Parameter.Builder parameterType(ParameterType parameterType)
Determines whether the parameter can be applied to any nodes, or only nodes of a particular type.
parameterType
- Determines whether the parameter can be applied to any nodes, or only nodes of a particular type.ParameterType
,
ParameterType
Parameter.Builder parameterValue(String parameterValue)
The value for the parameter.
parameterValue
- The value for the parameter.Parameter.Builder nodeTypeSpecificValues(Collection<NodeTypeSpecificValue> nodeTypeSpecificValues)
A list of node types, and specific parameter values for each node.
nodeTypeSpecificValues
- A list of node types, and specific parameter values for each node.Parameter.Builder nodeTypeSpecificValues(NodeTypeSpecificValue... nodeTypeSpecificValues)
A list of node types, and specific parameter values for each node.
nodeTypeSpecificValues
- A list of node types, and specific parameter values for each node.Parameter.Builder nodeTypeSpecificValues(Consumer<NodeTypeSpecificValue.Builder>... nodeTypeSpecificValues)
A list of node types, and specific parameter values for each node.
This is a convenience that creates an instance of theList.Builder
avoiding
the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #nodeTypeSpecificValues(List)
.nodeTypeSpecificValues
- a consumer that will call methods on List.Builder
#nodeTypeSpecificValues(List)
Parameter.Builder description(String description)
A description of the parameter
description
- A description of the parameterParameter.Builder source(String source)
How the parameter is defined. For example, system
denotes a system-defined parameter.
source
- How the parameter is defined. For example, system
denotes a system-defined parameter.Parameter.Builder dataType(String dataType)
The data type of the parameter. For example, integer
:
dataType
- The data type of the parameter. For example, integer
:Parameter.Builder allowedValues(String allowedValues)
A range of values within which the parameter can be set.
allowedValues
- A range of values within which the parameter can be set.Parameter.Builder isModifiable(String isModifiable)
Whether the customer is allowed to modify the parameter.
isModifiable
- Whether the customer is allowed to modify the parameter.IsModifiable
,
IsModifiable
Parameter.Builder isModifiable(IsModifiable isModifiable)
Whether the customer is allowed to modify the parameter.
isModifiable
- Whether the customer is allowed to modify the parameter.IsModifiable
,
IsModifiable
Parameter.Builder changeType(String changeType)
The conditions under which changes to this parameter can be applied. For example,
requires-reboot
indicates that a new value for this parameter will only take effect if a node is
rebooted.
changeType
- The conditions under which changes to this parameter can be applied. For example,
requires-reboot
indicates that a new value for this parameter will only take effect if a
node is rebooted.ChangeType
,
ChangeType
Parameter.Builder changeType(ChangeType changeType)
The conditions under which changes to this parameter can be applied. For example,
requires-reboot
indicates that a new value for this parameter will only take effect if a node is
rebooted.
changeType
- The conditions under which changes to this parameter can be applied. For example,
requires-reboot
indicates that a new value for this parameter will only take effect if a
node is rebooted.ChangeType
,
ChangeType
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.