Struct aws_sdk_dax::types::builders::ParameterBuilder
source · #[non_exhaustive]pub struct ParameterBuilder { /* private fields */ }
Expand description
A builder for Parameter
.
Implementations§
source§impl ParameterBuilder
impl ParameterBuilder
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 get_parameter_name(&self) -> &Option<String>
pub fn get_parameter_name(&self) -> &Option<String>
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 get_parameter_type(&self) -> &Option<ParameterType>
pub fn get_parameter_type(&self) -> &Option<ParameterType>
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 get_parameter_value(&self) -> &Option<String>
pub fn get_parameter_value(&self) -> &Option<String>
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 get_node_type_specific_values(
&self
) -> &Option<Vec<NodeTypeSpecificValue>>
pub fn get_node_type_specific_values( &self ) -> &Option<Vec<NodeTypeSpecificValue>>
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 get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
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 get_source(&self) -> &Option<String>
pub fn get_source(&self) -> &Option<String>
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 get_data_type(&self) -> &Option<String>
pub fn get_data_type(&self) -> &Option<String>
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 get_allowed_values(&self) -> &Option<String>
pub fn get_allowed_values(&self) -> &Option<String>
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 get_is_modifiable(&self) -> &Option<IsModifiable>
pub fn get_is_modifiable(&self) -> &Option<IsModifiable>
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.
sourcepub fn get_change_type(&self) -> &Option<ChangeType>
pub fn get_change_type(&self) -> &Option<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.
Trait Implementations§
source§impl Clone for ParameterBuilder
impl Clone for ParameterBuilder
source§fn clone(&self) -> ParameterBuilder
fn clone(&self) -> ParameterBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ParameterBuilder
impl Debug for ParameterBuilder
source§impl Default for ParameterBuilder
impl Default for ParameterBuilder
source§fn default() -> ParameterBuilder
fn default() -> ParameterBuilder
source§impl PartialEq for ParameterBuilder
impl PartialEq for ParameterBuilder
source§fn eq(&self, other: &ParameterBuilder) -> bool
fn eq(&self, other: &ParameterBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.