Interface Parameter.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Parameter.Builder,Parameter>,SdkBuilder<Parameter.Builder,Parameter>,SdkPojo
- Enclosing class:
- Parameter
public static interface Parameter.Builder extends SdkPojo, CopyableBuilder<Parameter.Builder,Parameter>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Parameter.BuilderallowedValues(String allowedValues)A range of values within which the parameter can be set.Parameter.BuilderchangeType(String changeType)The conditions under which changes to this parameter can be applied.Parameter.BuilderchangeType(ChangeType changeType)The conditions under which changes to this parameter can be applied.Parameter.BuilderdataType(String dataType)The data type of the parameter.Parameter.Builderdescription(String description)A description of the parameterParameter.BuilderisModifiable(String isModifiable)Whether the customer is allowed to modify the parameter.Parameter.BuilderisModifiable(IsModifiable isModifiable)Whether the customer is allowed to modify the parameter.Parameter.BuildernodeTypeSpecificValues(Collection<NodeTypeSpecificValue> nodeTypeSpecificValues)A list of node types, and specific parameter values for each node.Parameter.BuildernodeTypeSpecificValues(Consumer<NodeTypeSpecificValue.Builder>... nodeTypeSpecificValues)A list of node types, and specific parameter values for each node.Parameter.BuildernodeTypeSpecificValues(NodeTypeSpecificValue... nodeTypeSpecificValues)A list of node types, and specific parameter values for each node.Parameter.BuilderparameterName(String parameterName)The name of the parameter.Parameter.BuilderparameterType(String parameterType)Determines whether the parameter can be applied to any nodes, or only nodes of a particular type.Parameter.BuilderparameterType(ParameterType parameterType)Determines whether the parameter can be applied to any nodes, or only nodes of a particular type.Parameter.BuilderparameterValue(String parameterValue)The value for the parameter.Parameter.Buildersource(String source)How the parameter is defined.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
parameterName
Parameter.Builder parameterName(String parameterName)
The name of the parameter.
- Parameters:
parameterName- The name of the parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameterType
Parameter.Builder parameterType(String parameterType)
Determines whether the parameter can be applied to any nodes, or only nodes of a particular type.
- Parameters:
parameterType- Determines whether the parameter can be applied to any nodes, or only nodes of a particular type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ParameterType,ParameterType
-
parameterType
Parameter.Builder parameterType(ParameterType parameterType)
Determines whether the parameter can be applied to any nodes, or only nodes of a particular type.
- Parameters:
parameterType- Determines whether the parameter can be applied to any nodes, or only nodes of a particular type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ParameterType,ParameterType
-
parameterValue
Parameter.Builder parameterValue(String parameterValue)
The value for the parameter.
- Parameters:
parameterValue- The value for the parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeTypeSpecificValues
Parameter.Builder nodeTypeSpecificValues(Collection<NodeTypeSpecificValue> nodeTypeSpecificValues)
A list of node types, and specific parameter values for each node.
- Parameters:
nodeTypeSpecificValues- A list of node types, and specific parameter values for each node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeTypeSpecificValues
Parameter.Builder nodeTypeSpecificValues(NodeTypeSpecificValue... nodeTypeSpecificValues)
A list of node types, and specific parameter values for each node.
- Parameters:
nodeTypeSpecificValues- A list of node types, and specific parameter values for each node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeTypeSpecificValues
Parameter.Builder nodeTypeSpecificValues(Consumer<NodeTypeSpecificValue.Builder>... nodeTypeSpecificValues)
A list of node types, and specific parameter values for each node.
This is a convenience method that creates an instance of theNodeTypeSpecificValue.Builderavoiding the need to create one manually viaNodeTypeSpecificValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#nodeTypeSpecificValues(List.) - Parameters:
nodeTypeSpecificValues- a consumer that will call methods onNodeTypeSpecificValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#nodeTypeSpecificValues(java.util.Collection)
-
description
Parameter.Builder description(String description)
A description of the parameter
- Parameters:
description- A description of the parameter- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
Parameter.Builder source(String source)
How the parameter is defined. For example,
systemdenotes a system-defined parameter.- Parameters:
source- How the parameter is defined. For example,systemdenotes a system-defined parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataType
Parameter.Builder dataType(String dataType)
The data type of the parameter. For example,
integer:- Parameters:
dataType- The data type of the parameter. For example,integer:- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedValues
Parameter.Builder allowedValues(String allowedValues)
A range of values within which the parameter can be set.
- Parameters:
allowedValues- A range of values within which the parameter can be set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isModifiable
Parameter.Builder isModifiable(String isModifiable)
Whether the customer is allowed to modify the parameter.
- Parameters:
isModifiable- Whether the customer is allowed to modify the parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IsModifiable,IsModifiable
-
isModifiable
Parameter.Builder isModifiable(IsModifiable isModifiable)
Whether the customer is allowed to modify the parameter.
- Parameters:
isModifiable- Whether the customer is allowed to modify the parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IsModifiable,IsModifiable
-
changeType
Parameter.Builder changeType(String changeType)
The conditions under which changes to this parameter can be applied. For example,
requires-rebootindicates that a new value for this parameter will only take effect if a node is rebooted.- Parameters:
changeType- The conditions under which changes to this parameter can be applied. For example,requires-rebootindicates that a new value for this parameter will only take effect if a node is rebooted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ChangeType,ChangeType
-
changeType
Parameter.Builder changeType(ChangeType changeType)
The conditions under which changes to this parameter can be applied. For example,
requires-rebootindicates that a new value for this parameter will only take effect if a node is rebooted.- Parameters:
changeType- The conditions under which changes to this parameter can be applied. For example,requires-rebootindicates that a new value for this parameter will only take effect if a node is rebooted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ChangeType,ChangeType
-
-