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 ==
.impl StructuralPartialEq for ResetCacheParameterGroupInput
Auto Trait Implementations§
impl Freeze for ResetCacheParameterGroupInput
impl RefUnwindSafe for ResetCacheParameterGroupInput
impl Send for ResetCacheParameterGroupInput
impl Sync for ResetCacheParameterGroupInput
impl Unpin for ResetCacheParameterGroupInput
impl UnwindSafe for ResetCacheParameterGroupInput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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