Struct aws_sdk_elasticache::operation::reset_cache_parameter_group::ResetCacheParameterGroupInput
source · #[non_exhaustive]pub struct ResetCacheParameterGroupInput {
pub cache_parameter_group_name: Option<String>,
pub reset_all_parameters: Option<bool>,
pub parameter_name_values: Option<Vec<ParameterNameValue>>,
}
Expand description
Represents the input of a ResetCacheParameterGroup
operation.
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.cache_parameter_group_name: Option<String>
The name of the cache parameter group to reset.
reset_all_parameters: Option<bool>
If true
, all parameters in the cache parameter group are reset to their default values. If false
, only the parameters listed by ParameterNameValues
are reset to their default values.
Valid values: true
| false
parameter_name_values: Option<Vec<ParameterNameValue>>
An array of parameter names to reset to their default values. If ResetAllParameters
is true
, do not use ParameterNameValues
. If ResetAllParameters
is false
, you must specify the name of at least one parameter to reset.
Implementations§
source§impl ResetCacheParameterGroupInput
impl ResetCacheParameterGroupInput
sourcepub fn cache_parameter_group_name(&self) -> Option<&str>
pub fn cache_parameter_group_name(&self) -> Option<&str>
The name of the cache parameter group to reset.
sourcepub fn reset_all_parameters(&self) -> Option<bool>
pub fn reset_all_parameters(&self) -> Option<bool>
If true
, all parameters in the cache parameter group are reset to their default values. If false
, only the parameters listed by ParameterNameValues
are reset to their default values.
Valid values: true
| false
sourcepub fn parameter_name_values(&self) -> &[ParameterNameValue]
pub fn parameter_name_values(&self) -> &[ParameterNameValue]
An array of parameter names to reset to their default values. If ResetAllParameters
is true
, do not use ParameterNameValues
. If ResetAllParameters
is false
, you must specify the name of at least one parameter to reset.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .parameter_name_values.is_none()
.
source§impl ResetCacheParameterGroupInput
impl ResetCacheParameterGroupInput
sourcepub fn builder() -> ResetCacheParameterGroupInputBuilder
pub fn builder() -> ResetCacheParameterGroupInputBuilder
Creates a new builder-style object to manufacture ResetCacheParameterGroupInput
.
Trait Implementations§
source§impl Clone for ResetCacheParameterGroupInput
impl Clone for ResetCacheParameterGroupInput
source§fn clone(&self) -> ResetCacheParameterGroupInput
fn clone(&self) -> ResetCacheParameterGroupInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for ResetCacheParameterGroupInput
impl PartialEq for ResetCacheParameterGroupInput
source§fn eq(&self, other: &ResetCacheParameterGroupInput) -> bool
fn eq(&self, other: &ResetCacheParameterGroupInput) -> bool
self
and other
values to be equal, and is used
by ==
.