Struct aws_sdk_dax::types::Parameter
source · #[non_exhaustive]pub struct Parameter {
pub parameter_name: Option<String>,
pub parameter_type: Option<ParameterType>,
pub parameter_value: Option<String>,
pub node_type_specific_values: Option<Vec<NodeTypeSpecificValue>>,
pub description: Option<String>,
pub source: Option<String>,
pub data_type: Option<String>,
pub allowed_values: Option<String>,
pub is_modifiable: Option<IsModifiable>,
pub change_type: Option<ChangeType>,
}
Expand description
Describes an individual setting that controls some aspect of DAX behavior.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.parameter_name: Option<String>
The name of the parameter.
parameter_type: Option<ParameterType>
Determines whether the parameter can be applied to any nodes, or only nodes of a particular type.
parameter_value: Option<String>
The value for the parameter.
node_type_specific_values: Option<Vec<NodeTypeSpecificValue>>
A list of node types, and specific parameter values for each node.
description: Option<String>
A description of the parameter
source: Option<String>
How the parameter is defined. For example, system
denotes a system-defined parameter.
data_type: Option<String>
The data type of the parameter. For example, integer
:
allowed_values: Option<String>
A range of values within which the parameter can be set.
is_modifiable: Option<IsModifiable>
Whether the customer is allowed to modify the parameter.
change_type: 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.
Implementations§
source§impl Parameter
impl Parameter
sourcepub fn parameter_name(&self) -> Option<&str>
pub fn parameter_name(&self) -> Option<&str>
The name of the parameter.
sourcepub fn parameter_type(&self) -> Option<&ParameterType>
pub fn 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) -> Option<&str>
pub fn parameter_value(&self) -> Option<&str>
The value for the parameter.
sourcepub fn node_type_specific_values(&self) -> &[NodeTypeSpecificValue]
pub fn node_type_specific_values(&self) -> &[NodeTypeSpecificValue]
A list of node types, and specific parameter values for each node.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .node_type_specific_values.is_none()
.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the parameter
sourcepub fn source(&self) -> Option<&str>
pub fn source(&self) -> Option<&str>
How the parameter is defined. For example, system
denotes a system-defined parameter.
sourcepub fn allowed_values(&self) -> Option<&str>
pub fn allowed_values(&self) -> Option<&str>
A range of values within which the parameter can be set.
sourcepub fn is_modifiable(&self) -> Option<&IsModifiable>
pub fn is_modifiable(&self) -> Option<&IsModifiable>
Whether the customer is allowed to modify the parameter.
sourcepub fn change_type(&self) -> Option<&ChangeType>
pub fn 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 PartialEq for Parameter
impl PartialEq for Parameter
impl StructuralPartialEq for Parameter
Auto Trait Implementations§
impl Freeze for Parameter
impl RefUnwindSafe for Parameter
impl Send for Parameter
impl Sync for Parameter
impl Unpin for Parameter
impl UnwindSafe for Parameter
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more