Struct aws_sdk_elasticache::operation::reset_cache_parameter_group::builders::ResetCacheParameterGroupFluentBuilder
source · pub struct ResetCacheParameterGroupFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ResetCacheParameterGroup
.
Modifies the parameters of a cache parameter group to the engine or system default value. You can reset specific parameters by submitting a list of parameter names. To reset the entire cache parameter group, specify the ResetAllParameters
and CacheParameterGroupName
parameters.
Implementations§
source§impl ResetCacheParameterGroupFluentBuilder
impl ResetCacheParameterGroupFluentBuilder
sourcepub fn as_input(&self) -> &ResetCacheParameterGroupInputBuilder
pub fn as_input(&self) -> &ResetCacheParameterGroupInputBuilder
Access the ResetCacheParameterGroup as a reference.
sourcepub async fn send(
self
) -> Result<ResetCacheParameterGroupOutput, SdkError<ResetCacheParameterGroupError, HttpResponse>>
pub async fn send( self ) -> Result<ResetCacheParameterGroupOutput, SdkError<ResetCacheParameterGroupError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<ResetCacheParameterGroupOutput, ResetCacheParameterGroupError, Self>
pub fn customize( self ) -> CustomizableOperation<ResetCacheParameterGroupOutput, ResetCacheParameterGroupError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn cache_parameter_group_name(self, input: impl Into<String>) -> Self
pub fn cache_parameter_group_name(self, input: impl Into<String>) -> Self
The name of the cache parameter group to reset.
sourcepub fn set_cache_parameter_group_name(self, input: Option<String>) -> Self
pub fn set_cache_parameter_group_name(self, input: Option<String>) -> Self
The name of the cache parameter group to reset.
sourcepub fn get_cache_parameter_group_name(&self) -> &Option<String>
pub fn get_cache_parameter_group_name(&self) -> &Option<String>
The name of the cache parameter group to reset.
sourcepub fn reset_all_parameters(self, input: bool) -> Self
pub fn reset_all_parameters(self, input: bool) -> Self
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 set_reset_all_parameters(self, input: Option<bool>) -> Self
pub fn set_reset_all_parameters(self, input: Option<bool>) -> Self
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 get_reset_all_parameters(&self) -> &Option<bool>
pub fn get_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, input: ParameterNameValue) -> Self
pub fn parameter_name_values(self, input: ParameterNameValue) -> Self
Appends an item to ParameterNameValues
.
To override the contents of this collection use set_parameter_name_values
.
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.
sourcepub fn set_parameter_name_values(
self,
input: Option<Vec<ParameterNameValue>>
) -> Self
pub fn set_parameter_name_values( self, input: Option<Vec<ParameterNameValue>> ) -> Self
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.
sourcepub fn get_parameter_name_values(&self) -> &Option<Vec<ParameterNameValue>>
pub fn get_parameter_name_values(&self) -> &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.
Trait Implementations§
source§impl Clone for ResetCacheParameterGroupFluentBuilder
impl Clone for ResetCacheParameterGroupFluentBuilder
source§fn clone(&self) -> ResetCacheParameterGroupFluentBuilder
fn clone(&self) -> ResetCacheParameterGroupFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more