pub struct Builder { /* private fields */ }Expand description
A builder for Parameter.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn parameter_name(self, input: impl Into<String>) -> Self
pub fn parameter_name(self, input: impl Into<String>) -> Self
The name of the parameter.
sourcepub fn set_parameter_name(self, input: Option<String>) -> Self
pub fn set_parameter_name(self, input: Option<String>) -> Self
The name of the parameter.
sourcepub fn parameter_type(self, input: ParameterType) -> Self
pub fn parameter_type(self, input: ParameterType) -> Self
Determines whether the parameter can be applied to any nodes, or only nodes of a particular type.
sourcepub fn set_parameter_type(self, input: Option<ParameterType>) -> Self
pub fn set_parameter_type(self, input: Option<ParameterType>) -> Self
Determines whether the parameter can be applied to any nodes, or only nodes of a particular type.
sourcepub fn parameter_value(self, input: impl Into<String>) -> Self
pub fn parameter_value(self, input: impl Into<String>) -> Self
The value for the parameter.
sourcepub fn set_parameter_value(self, input: Option<String>) -> Self
pub fn set_parameter_value(self, input: Option<String>) -> Self
The value for the parameter.
sourcepub fn node_type_specific_values(self, input: NodeTypeSpecificValue) -> Self
pub fn node_type_specific_values(self, input: NodeTypeSpecificValue) -> Self
Appends an item to node_type_specific_values.
To override the contents of this collection use set_node_type_specific_values.
A list of node types, and specific parameter values for each node.
sourcepub fn set_node_type_specific_values(
self,
input: Option<Vec<NodeTypeSpecificValue>>
) -> Self
pub fn set_node_type_specific_values(
self,
input: Option<Vec<NodeTypeSpecificValue>>
) -> Self
A list of node types, and specific parameter values for each node.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the parameter
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the parameter
sourcepub fn source(self, input: impl Into<String>) -> Self
pub fn source(self, input: impl Into<String>) -> Self
How the parameter is defined. For example, system denotes a system-defined parameter.
sourcepub fn set_source(self, input: Option<String>) -> Self
pub fn set_source(self, input: Option<String>) -> Self
How the parameter is defined. For example, system denotes a system-defined parameter.
sourcepub fn data_type(self, input: impl Into<String>) -> Self
pub fn data_type(self, input: impl Into<String>) -> Self
The data type of the parameter. For example, integer:
sourcepub fn set_data_type(self, input: Option<String>) -> Self
pub fn set_data_type(self, input: Option<String>) -> Self
The data type of the parameter. For example, integer:
sourcepub fn allowed_values(self, input: impl Into<String>) -> Self
pub fn allowed_values(self, input: impl Into<String>) -> Self
A range of values within which the parameter can be set.
sourcepub fn set_allowed_values(self, input: Option<String>) -> Self
pub fn set_allowed_values(self, input: Option<String>) -> Self
A range of values within which the parameter can be set.
sourcepub fn is_modifiable(self, input: IsModifiable) -> Self
pub fn is_modifiable(self, input: IsModifiable) -> Self
Whether the customer is allowed to modify the parameter.
sourcepub fn set_is_modifiable(self, input: Option<IsModifiable>) -> Self
pub fn set_is_modifiable(self, input: Option<IsModifiable>) -> Self
Whether the customer is allowed to modify the parameter.
sourcepub fn change_type(self, input: ChangeType) -> Self
pub fn change_type(self, input: ChangeType) -> Self
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.
sourcepub fn set_change_type(self, input: Option<ChangeType>) -> Self
pub fn set_change_type(self, input: Option<ChangeType>) -> Self
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.