#[non_exhaustive]pub struct ResetCacheParameterGroupInput {
pub cache_parameter_group_name: Option<String>,
pub reset_all_parameters: 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: boolIf 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
sourceimpl ResetCacheParameterGroupInput
impl ResetCacheParameterGroupInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ResetCacheParameterGroup, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ResetCacheParameterGroup, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<ResetCacheParameterGroup>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ResetCacheParameterGroupInput
sourceimpl 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) -> bool
pub fn reset_all_parameters(&self) -> 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) -> Option<&[ParameterNameValue]>
pub fn parameter_name_values(&self) -> Option<&[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.
Trait Implementations
sourceimpl Clone for ResetCacheParameterGroupInput
impl Clone for ResetCacheParameterGroupInput
sourcefn clone(&self) -> ResetCacheParameterGroupInput
fn clone(&self) -> ResetCacheParameterGroupInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ResetCacheParameterGroupInput
impl Debug for ResetCacheParameterGroupInput
sourceimpl PartialEq<ResetCacheParameterGroupInput> for ResetCacheParameterGroupInput
impl PartialEq<ResetCacheParameterGroupInput> for ResetCacheParameterGroupInput
sourcefn eq(&self, other: &ResetCacheParameterGroupInput) -> bool
fn eq(&self, other: &ResetCacheParameterGroupInput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ResetCacheParameterGroupInput) -> bool
fn ne(&self, other: &ResetCacheParameterGroupInput) -> bool
This method tests for !=.
impl StructuralPartialEq for ResetCacheParameterGroupInput
Auto Trait Implementations
impl RefUnwindSafe for ResetCacheParameterGroupInput
impl Send for ResetCacheParameterGroupInput
impl Sync for ResetCacheParameterGroupInput
impl Unpin for ResetCacheParameterGroupInput
impl UnwindSafe for ResetCacheParameterGroupInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more