pub struct ResetCacheParameterGroup { /* 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 ResetCacheParameterGroup
impl ResetCacheParameterGroup
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<ResetCacheParameterGroup, AwsResponseRetryClassifier>, SdkError<ResetCacheParameterGroupError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<ResetCacheParameterGroup, AwsResponseRetryClassifier>, SdkError<ResetCacheParameterGroupError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<ResetCacheParameterGroupOutput, SdkError<ResetCacheParameterGroupError>>
pub async fn send(
self
) -> Result<ResetCacheParameterGroupOutput, SdkError<ResetCacheParameterGroupError>>
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 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 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 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.
Trait Implementations§
source§impl Clone for ResetCacheParameterGroup
impl Clone for ResetCacheParameterGroup
source§fn clone(&self) -> ResetCacheParameterGroup
fn clone(&self) -> ResetCacheParameterGroup
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more